Compare commits

..

4115 Commits

Author SHA1 Message Date
Mark Otto e12dddc50e Add rudimentary nested dropdowns 2022-02-23 14:04:38 -08:00
Mark Otto 88437bd464 Split up padding CSS vars for dropdowns 2022-02-23 14:01:58 -08:00
Julien Déramond 333d89e498 Docs: replace CSS by utilities in examples (#35699)
* Drop .opacity-50 and .opacity-75 redefinition in examples

* Drop unused .card-img-right from blog example CSS files

* Use line-height utilities when possible

* Use rounded-* utilities in examples

* Replace .nav-underline by .nav-scroller and use it in examples.html default

* Use .mb-1 for .blog-post-title

* Remove unused CSS rule and use .fw-* utilities for carousels examples

* Use utilities for cheatsheet examples

* Extract some CSS to utilities for .nav-masthead .nav-link in cover example

* Dashboard group of minor modifications

* Dropdowns example: refactoring

* Dropdowns example refactoring: fix linting by removing selector by id

* Features example refactoring

* Headers example refactoring

* List groups example refactoring

* Sidebars example refactoring

* Sign-in example refactoring

* Starter template refactoring

* Fix RTL examples

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2022-02-23 10:31:18 -08:00
Julien Déramond 36765912c6 Replace non-existent --bs-btn-padding by --bs-btn-padding-{x|y} 2022-02-23 10:24:50 -08:00
chefarbeiter a381ee320b Fix modal doc 2022-02-22 15:12:20 +02:00
Gaël Poupard 37f3977e6d Rely on border-width for <hr> size (#35491)
* fix(reboot): revert hr styles to v4 implementation

* docs(cheatsheet): add a hr example

* fix(reboot): currentColor is the initial border-color value

* Document hr element in Reboot docs

* Update migration guide

* Update scss/_variables.scss

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2022-02-22 10:02:47 +02:00
xrkffgg 0804c0043f CI: add issues-helper (#35846) 2022-02-22 09:55:29 +02:00
Christian Oliff 9ac8e80660 remove opacity utlitilies from example CSS (#35877)
These are included in Bootstrap itself now

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-02-22 09:39:57 +02:00
XhmikosR 3a9b0b8b6f Update devDependencies and pin karma-rollup-preprocessor (#35868)
* @babel/cli                 ^7.17.0  →  ^7.17.6
* @babel/core                ^7.17.2  →  ^7.17.5
* eslint-plugin-unicorn      ^40.1.0  →  ^41.0.0
* rollup                     ^2.67.2  →  ^2.68.0
* sass                       ^1.49.7  →  ^1.49.8
* terser                     ^5.10.0  →  ^5.11.0
2022-02-22 09:35:36 +02:00
GeoSot cb8726d9e7 Dropdown: use a better selector to avoid triggering click if button is disabled (#35866) 2022-02-19 16:22:32 +02:00
GeoSot 353ad45b4b Dropdown: use a combined selector to filter foreign not shown instances iteration (#35766) 2022-02-19 16:16:51 +02:00
GeoSot 4b17868fb4 tests: revisit all tests using Promise.reject instead of throwing an error (#35765) 2022-02-19 16:08:16 +02:00
XhmikosR ae12d645ef Replace AnchorJS with a Hugo render hook (#32953)
* Replace AnchorJS with a Hugo render hook

* docs(anchors): improve aria-label on anchor links

* docs(anchors): show anchor link when ed

* docs(anchors): add hash in pseudo-element

Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
2022-02-19 15:16:23 +02:00
GeoSot 407af8ac7f Make event name helper and use it on tooltip & popover to reduce dist sizes (#35856)
* feat: create eventName getter function in baseComponent

* refactor: use `eventName` getter on tooltip & popover
2022-02-19 15:10:47 +02:00
GeoSot 642d756eea Carousel: remove one more call to ActiveIndex 2022-02-19 14:52:36 +02:00
GeoSot d52f6c9de1 Carousel: change argument to _setActiveIndicatorElement, from element to index 2022-02-19 14:52:36 +02:00
GeoSot 928bdcadc5 Carousel: make direct triggering of slid event, instead of using a callback 2022-02-19 14:52:36 +02:00
GeoSot d97125475b Carousel: merge slide functionality, regardless of whether it is animated or not 2022-02-19 14:52:36 +02:00
GeoSot a247fe9b27 Carousel: simplify initialization on document load, using getOrCreateInstance 2022-02-19 14:52:36 +02:00
GeoSot ccba6a3589 Carousel: remove redundant config merge on dataApiClickHandler, as it is done by default in the constructor 2022-02-19 14:52:36 +02:00
Jann Westermann 546e34cf85 Apply list group numbering to all items (#35822) 2022-02-18 01:17:37 +02:00
Mark Otto f7f450ec59 Add null modal-footer-bg variable (#35858)
Fixes #35782
2022-02-18 01:14:18 +02:00
Louis-Maxime Piton d82602063a New CSS variable for Navbars (#35829)
* Adding a brand new CSS var

* Update scss/_variables.scss

Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
2022-02-17 11:25:01 -08:00
Nudasoft 999bfaa036 Add !important property to colored links. (#35740)
* Add !important property to colored links.

* Apply suggestions from code review

Co-authored-by: Mark Otto <otto@github.com>
2022-02-17 11:20:44 -08:00
Alan Christian 5565c64bde code indentation in readme 2022-02-17 10:23:18 -08:00
Mark Otto 63f75bccd8 Rename dropdown-shadow to dropdown-box-shadow for consistency 2022-02-16 10:36:01 -08:00
Mark Otto 48a7160cf4 Convert pagination component to CSS variables (#35399)
* Convert pagination component to CSS variables

* Use RFS mixin

* Remove the useless fallback
2022-02-16 10:26:24 -08:00
Eugene Kopyov 2a09f10676 Fixed border radius var name and .show target 2022-02-16 08:48:54 -08:00
XhmikosR 42da2b9556 Update devDependencies (#35841)
* Update devDependencies

* @babel/core             ^7.17.0  →  ^7.17.2
* @rollup/plugin-replace   ^3.0.1  →   ^3.1.0
* eslint                   ^8.8.0  →   ^8.9.0
* eslint-config-xo        ^0.39.0  →  ^0.40.0
* hugo-bin                ^0.80.1  →  ^0.80.2
* karma                   ^6.3.15  →  ^6.3.16
* rollup                  ^2.67.1  →  ^2.67.2

* Fix new ESLint errors
2022-02-15 08:50:37 +02:00
Mark Otto d568e029da Convert dropdowns to CSS variables 2022-02-14 19:11:35 -08:00
Mark Otto 3e6265ac55 Rewrite custom docs buttons
- Use CSS variables wherever possible
- Rename purple-bright to violet for brevity, add CSS vars versions
- Rename download to accent
2022-02-14 19:00:59 -08:00
Mark Otto 85938bb2ed Tighten bundlewatch 2022-02-14 19:00:59 -08:00
Mark Otto ef9d8538a0 Convert .btn and mixins to use CSS variables 2022-02-14 19:00:59 -08:00
Mark Otto 918a86b425 Correct the horizontal padding on grid containers (#35825)
* Correct the horizontal padding on grid containers

* Don't halve the container-padding-x variable
2022-02-14 15:07:17 -08:00
vpakati a163ed76d4 Update reboot.md
Add the missing right parenthesis.
2022-02-14 15:03:05 -08:00
Julien Déramond daefd34693 Fix typo in Badges CSS variables description 2022-02-14 16:10:42 +02:00
Mark Otto 48807758af Fixes #32082
Remove sentence in docs that's no longer needed. Fixes #32082.
2022-02-11 10:06:15 -08:00
Mark Otto a7942190c7 Bump version callout 2022-02-10 19:51:23 -08:00
Mark Otto f2d33b2a1e Bump bundlewatch 2022-02-10 19:51:23 -08:00
Mark Otto 7e71fe7bae Convert .badge to CSS variables 2022-02-10 19:51:23 -08:00
Julien Déramond d3babf7d7f Remove remaining .navbar-light classes (#35814)
* Fix typo in CSS variables documentation

* Drop remaining .navbar-light classes
2022-02-09 21:12:08 +02:00
Fabián Karaben d19c635f16 Add Spanish translation
The translation of version 5 of Bootstrap is added, by the Esdocu project.
2022-02-08 17:14:29 -08:00
Anton 761c4ff235 Fix overriding styles of .list-group-item-action
~~~html
<style>
.list-group-item-action {color: blue;}
.list-group-item {color: red;}
</style>
<p class="list-group-item">red text!</p>
<p class="list-group-item list-group-item-action">still red text!</p>
~~~
because `.list-group-item` declared after `.list-group-item-action` (order in attribute `class` no effect)
2022-02-08 17:11:46 -08:00
Christopher Yeleighton da9c007139 README: About release planning 2022-02-08 17:03:45 -08:00
Sebastian Podjasek 0853778eba Support floating labels on .form-control-plaintext (#32840)
* Support floating labels on `.form-control-plaintext`

* Update floating-labels.md

* Apply suggestions from code review

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <otto@github.com>
2022-02-08 12:38:29 -08:00
Mark Otto 4308b67e59 Add .form-check-reverse modifier class (#33606)
* Add .form-check-reverse modifier class

* Update checks-radios.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-02-08 12:33:39 -08:00
Mark Otto 71a211f2bd bundlewatch 2022-02-08 10:39:58 -08:00
Mark Otto 27a0f40dc8 Add deprecation notice for .navbar-light 2022-02-08 10:39:58 -08:00
Mark Otto c9cec89764 Convert navbar to CSS variables
Co-Authored-By: Gaël Poupard <ffoodd@users.noreply.github.com>
2022-02-08 10:39:58 -08:00
XhmikosR 8f11c52919 Update devDependencies (#35798)
* @babel/cli                  ^7.16.8  →  ^7.17.0
* @babel/core                ^7.16.12  →  ^7.17.0
* karma                       ^6.3.13  →  ^6.3.15
* karma-rollup-preprocessor    ^7.0.7  →   ^7.0.8
* postcss                      ^8.4.5  →   ^8.4.6
* rollup                      ^2.66.1  →  ^2.67.1
* sass                        ^1.49.4  →  ^1.49.7
2022-02-08 09:21:59 +02:00
Anton a805330f63 Optimize jQueryInterface in Collapse (#35689)
extracts config initialization from cycle
2022-02-07 10:50:26 +02:00
XhmikosR 77e02a07c7 package.json: add GitHub Sponsors and reorder properties (#35451) 2022-02-07 10:15:17 +02:00
GeoSot 96c67a7ff7 Fix empty content of tooltip after 'copy' action in docs (#35773)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-02-07 10:05:43 +02:00
The Fake Cake ff2472becc Set cursor: default on disabled .form-check-label (#35082)
Fixes #35056
2022-02-07 09:55:44 +02:00
Macinto5h d2986daa12 Add zebra striping for table columns
Co-Authored-By: Macallan Camara <44030647+Macinto5h@users.noreply.github.com>
Co-Authored-By: XhmikosR <xhmikosr@gmail.com>
2022-02-06 15:59:18 -08:00
Ty Mick 43a9216a7f Move gap utility API from "Flex" to "Spacing"
The `gap` utility is described on the [Spacing page][1] but is not
actually mentioned on the [Flex page][2] (apart from the [API
section][3]).

[1]: https://getbootstrap.com/docs/5.1/utilities/spacing/
[2]: https://getbootstrap.com/docs/5.1/utilities/flex/
[3]: https://getbootstrap.com/docs/5.1/utilities/flex/#utilities-api
2022-02-06 15:45:22 -08:00
Sigurd Moland Wahl 4dc4108460 Fixed typo in docs 2022-02-06 14:31:59 -08:00
Florian Lacreuse 957c1dd6ea Fix dropdown docs about autoclose and esc key. 2022-02-03 18:20:47 +02:00
Gaël Poupard a5483a8a96 Breadcrumb docs: drop confusing currentColor and add new callout (#35434) 2022-02-01 15:37:33 +02:00
XhmikosR dc09509193 Update find-unused-sass-variables to v4.0.1 (#35761) 2022-02-01 13:03:48 +02:00
XhmikosR cf7fec8a2e event-handler.js: remove unneeded return statement 2022-02-01 12:43:19 +02:00
GeoSot a1e924c4da Event-handler: use Array.find instead of for 2022-02-01 12:43:19 +02:00
GeoSot fc7c5fcb7a Event-handler: initialize variable properly 2022-02-01 12:43:19 +02:00
GeoSot 3f7b31e0e0 Fix Popover test that randomly fails on BrowserStack (#35757)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-02-01 10:33:18 +02:00
GeoSot c44d99f55c Dropdown: use destructured variables in dataApyKeydownHandler 2022-02-01 08:58:46 +02:00
GeoSot c14fc989df Dropdown: dropdown doesn't document data-bs-target option & parentNode is ALWAYS the wrapper for toggle & menu 2022-02-01 08:58:46 +02:00
GeoSot d105439235 Dropdown: merge instance identification in dataApiKeydownHandler
As we use the `dataApiKeydownHandler` only for events that are triggered on `[data-bs-toggle="dropdown"]` or on `.dropdown-menu`, we can ensure that their `parentNode` will ALWAYS be the `.dropdown` wrapper
2022-02-01 08:58:46 +02:00
Toby Zerner 22bbff0b03 Remove incorrect statement about the disabled attribute on <form> (#35713)
> You can disable every form element within a form with the `disabled` attribute on the `<form>`.

I really want to be mistaken, because this would be a very useful feature! But I don't believe it's true. I can't find anything about this on MDN Web Docs, and adding the `disabled` attribute to a `<form>` does nothing on any browser in my testing.

The `disabled` attribute on a `<fieldset>` does disable all descendant form controls – perhaps that's where the mixup has come from.
2022-02-01 08:40:59 +02:00
XhmikosR 9d44b603d5 Update devDependencies (#35743)
* clean-css-cli   ^5.5.0  →   ^5.5.2
* cspell         ^5.16.0  →  ^5.17.0
* eslint          ^8.7.0  →   ^8.8.0
* hugo-bin       ^0.80.0  →  ^0.80.1
* karma          ^6.3.12  →  ^6.3.13
* rollup         ^2.66.0  →  ^2.66.1
* sass           ^1.49.0  →  ^1.49.4
2022-02-01 08:35:01 +02:00
Quy 76802e2d47 Change X to Extra 2022-01-30 18:09:48 -08:00
GeoSot 7f04f84bf8 Dropdown: use only one check for shown state 2022-01-30 18:01:09 +02:00
GeoSot 5f1c542d67 Dropdown: get dropdown's parent in one place 2022-01-30 18:01:09 +02:00
GeoSot 74f24cdf24 More tooltip refactoring (#35546)
* Tooltip.js: move `shown` check to method

* Tooltip.js: move Popper's creation to method

* Tooltip.js: merge checks before `hide`

* Tooltip.js: minor refactoring on `toggle` method
2022-01-30 17:39:03 +02:00
XhmikosR e1020a43a5 Move cspell to Actions (#35593)
* Move cspell to Actions

* Remove the now unused `docs-spellcheck` npm script
2022-01-30 16:39:30 +02:00
GeoSot 882185bbde Change selector-engine.js parents method to utilize better js native methods (#35684)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-01-30 16:24:03 +02:00
XhmikosR 89f88762c5 Fix visual tests (#35585)
* Fix visual tests

They broke in #34509

* load bundle.js in visual tests

Co-authored-by: GeoSot <geo.sotis@gmail.com>
2022-01-30 16:12:24 +02:00
XhmikosR f77a58b381 Update cspell config (#35680)
* use `en-US`
* scan all markdown files
* ignore dist, rtl and tests files
2022-01-30 16:11:38 +02:00
GeoSot dcbe7b6f31 Modal.js: remove unnecessary checks from test 2022-01-30 15:39:34 +02:00
GeoSot 28c9002573 Modal: handle click event from backdrop callback 2022-01-30 15:39:34 +02:00
GeoSot aa650f0f1e tests: replace 'done' callback with 'Promise' to fix deprecation errors (#35659)
Reference:

https://jasmine.github.io/tutorials/async

'DEPRECATION: An asynchronous function called its 'done' callback more than once. This is a bug in the spec, beforeAll, beforeEach, afterAll, or afterEach function in question. This will be treated as an error in a future version. See<https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#deprecations-due-to-calling-done-multiple-times> for more information.
2022-01-30 14:30:04 +02:00
GeoSot d092817059 Event handler: merge new Event with new CustomEvent 2022-01-30 14:15:17 +02:00
GeoSot fa93995123 Event handler: replace deprecated initEvent 2022-01-30 14:15:17 +02:00
XhmikosR 640542e606 Move linkinator to GitHub Actions. (#35573)
* Move linkinator to GitHub Actions.

* Remove `docs-linkinator` npm script since it's no longer used
2022-01-29 14:42:56 +02:00
Dimitri Papadopoulos Orfanos eb2fda2110 docs: fix a couple typos found with codespell (#35733)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-01-29 13:30:02 +02:00
XhmikosR 0840105d7f SelectorEngine: remove moot space 2022-01-29 13:25:30 +02:00
XhmikosR 558002f3dc Return early in more places 2022-01-29 13:25:30 +02:00
XhmikosR 7d3bc44bb0 dropdown: Move constant 2022-01-29 13:25:30 +02:00
GeoSot a8887ea8a8 collapse: merge class toggling 2022-01-29 13:25:30 +02:00
XhmikosR b5147ec218 event-handler.js: use for...of 2022-01-29 13:25:30 +02:00
XhmikosR 62d86c07f8 Rename variables 2022-01-29 13:25:30 +02:00
XhmikosR 3ac4451d47 backdrop.js: cache _getElement calls 2022-01-29 13:25:30 +02:00
XhmikosR 0c3dfe104b Remove a few unneeded variables 2022-01-29 13:25:30 +02:00
A Web Artisan 2964c12bb9 docs: remove moot autocomplete attributes (#35741) 2022-01-29 13:20:01 +02:00
Neeraj Kumar Das d122f40526 Remove duplicate Octicons entry in icons list
Update Octicons website
2022-01-25 15:22:00 -08:00
Kirill Zdornyy c1222d6952 Fix spelling mistake in footer example (#35704) 2022-01-25 12:06:50 +02:00
XhmikosR 1411181b1b Update devDependencies (#35712)
* @babel/core        ^7.16.7  →  ^7.16.12
* @babel/preset-env  ^7.16.8  →  ^7.16.11
* cspell             ^5.15.2  →   ^5.16.0
* karma              ^6.3.11  →   ^6.3.12
* rollup             ^2.64.0  →   ^2.66.0
* sass               ^1.48.0  →   ^1.49.0
2022-01-25 12:03:42 +02:00
Julien Déramond 520cc8de92 Docs: group together reusable CSS for examples in a single stylesheet (#35649)
* Docs: group together examples reusable CSS in a stylesheet

* Use pointer-events utility in sidebars example

* Remove @import and move the content into _default/examples.html. Handle 2 sorts of dividers

* Remove footers.css extra css declaration

* Fix modals example

* Review: remove .b-example-hr

Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
2022-01-19 13:27:57 +02:00
XhmikosR cd208341a1 Update devDependencies (#35686)
* bundlewatch             ^0.3.2  →   ^0.3.3
* cspell                 ^5.15.1  →  ^5.15.2
* eslint                  ^8.6.0  →   ^8.7.0
* eslint-plugin-unicorn  ^40.0.0  →  ^40.1.0
* hugo-bin               ^0.79.2  →  ^0.80.0
* karma                  ^6.3.10  →  ^6.3.11
* rollup                 ^2.63.0  →  ^2.64.0
* sass                   ^1.47.0  →  ^1.48.0
2022-01-18 07:09:40 +02:00
XhmikosR f0e1220970 README.md: mention Netlify (#35683)
* README.md: mention Netlify

* Update README.md

Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
2022-01-13 14:52:07 +02:00
XhmikosR c99fa6ca26 build-plugins.js: use globby package (#35586)
We already use it in the change-version.js file
2022-01-13 13:12:10 +02:00
Ryan Berliner 14c7dc1e88 Fix: isVisible function behavior in case of a <details> element, on chrome 97 (#35682) 2022-01-13 10:55:05 +02:00
XhmikosR d581737f78 Update cspell config (#35647)
* specify the files to scan in the config
* enable `useGitignore` option
* remove a few unneeded suppressions
2022-01-11 11:17:12 +02:00
XhmikosR 17260410ba Update devDependencies (#35678)
* @babel/cli                   ^7.16.7  →  ^7.16.8
* @babel/preset-env            ^7.16.7  →  ^7.16.8
* @popperjs/core               ^2.11.0  →  ^2.11.2
* @rollup/plugin-node-resolve  ^13.1.2  →  ^13.1.3
* autoprefixer                 ^10.4.1  →  ^10.4.2
* cspell                       ^5.14.0  →  ^5.15.1
* karma                         ^6.3.9  →  ^6.3.10
* rollup                       ^2.62.0  →  ^2.63.0
* sass                         ^1.45.2  →  ^1.47.0
* shelljs                       ^0.8.4  →   ^0.8.5
2022-01-11 10:32:18 +02:00
Arslan Kalwar e8f4cba9a0 fixed button text (#35656)
Added button missing text
2022-01-05 19:44:22 +02:00
Sakurai Kenji 0dbec67514 Fix custom-checkbox and custom-radio in migration doc (#35609) 2022-01-05 19:24:59 +02:00
Patrick H. Lauke 0d054bb0f1 Remove explicit use of aria-hidden for offcanvas when closed (#35589)
Remove explicit use of aria-hidden & visibility for offcanvas when closed, handling it with css

Co-authored-by: GeoSot <geo.sotis@gmail.com>
Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
2022-01-05 19:20:15 +02:00
Neeraj Kumar Das f7a1b18320 Fix offcanvas title in 'Enable body scrolling' example (#35621) 2022-01-05 19:01:05 +02:00
zhangchenglin 670e12dd0d Remove the useless class of the close button .text-reset 2022-01-05 18:40:15 +02:00
XhmikosR cebb8436c7 Update nuget/bootstrap.png (#35641) 2022-01-04 09:40:53 +02:00
XhmikosR 0b57c44056 Update devDependencies (#35640)
* @babel/cli                   ^7.16.0  →  ^7.16.7
* @babel/core                  ^7.16.5  →  ^7.16.7
* @babel/preset-env            ^7.16.5  →  ^7.16.7
* @rollup/plugin-node-resolve  ^13.1.1  →  ^13.1.2
* @rollup/plugin-replace        ^3.0.0  →   ^3.0.1
* autoprefixer                 ^10.4.0  →  ^10.4.1
* cspell                       ^5.13.4  →  ^5.14.0
* eslint                        ^8.5.0  →   ^8.6.0
* eslint-plugin-import         ^2.25.3  →  ^2.25.4
* eslint-plugin-unicorn        ^39.0.0  →  ^40.0.0
* sass                         ^1.45.1  →  ^1.45.2
2022-01-04 09:26:50 +02:00
XhmikosR 9680e17456 Bump copyright year to 2022 (#35639) 2022-01-03 15:03:42 +02:00
Anton 2c9ecd0b8d Update api.md (#35486)
* Wording tweak

* Tweak wording

Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2021-12-28 14:38:35 +02:00
XhmikosR 33c7f9fe69 Update devDependencies (#35591)
* hugo-bin                         ^0.79.0  →  ^0.79.2
* linkinator                        ^3.0.2  →   ^3.0.3
* rollup                           ^2.61.1  →  ^2.62.0
* stylelint                        ^14.1.0  →  ^14.2.0
* stylelint-config-twbs-bootstrap   ^3.0.0  →   ^3.0.1
2021-12-28 08:16:16 +02:00
XhmikosR deb8e3febd Add note to carousel crossfade docs about bg color (#35587)
Fixes #35181

Co-authored-by: Mark Otto <markdotto@gmail.com>
Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
2021-12-23 14:38:43 +02:00
Patrick H. Lauke f171d3e9f7 Strengthen and expand note about dynamic tabs with dropdown menus (#35588)
following on from https://github.com/twbs/bootstrap/pull/35213 this

- expands the note, making it clear it's not supported
- makes it a callout
2021-12-23 09:15:36 +02:00
GeoSot 0d4213bde3 Carousel: move repeated code to a method 2021-12-21 17:37:24 +02:00
GeoSot b8ee68cfa0 Carousel: remove always true visibilityState check
According to https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilityState `visibilityState` is always a string, so the check was always true
2021-12-21 17:37:24 +02:00
GeoSot ff4bf4a458 Carousel: move carousel default interval to _getConfig() and simplify it 2021-12-21 17:37:24 +02:00
GeoSot 6f79721c82 Carousel: return early and drop a loop.
We can achieve the same thing by querying the specific selector directly
2021-12-21 17:37:24 +02:00
GeoSot d60f146507 Carousel: add a helper to get the active element 2021-12-21 17:37:24 +02:00
GeoSot 65cf77ae3e Popover/Tooltip: Fix vertical alignment on arrow of tip elements (#35527)
Regression of #32692

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-12-21 17:19:29 +02:00
Kyle Tsang aec213711a docs: add reference to sticky-xxl utils (#35579)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-12-21 09:22:58 +02:00
Julien Déramond 32401fdc37 fix(docs): typo in Alerts CSS Variables description (#35575)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-12-21 09:09:43 +02:00
XhmikosR 8ccb27a213 Update devDependencies (#35545)
* cspell                                ^5.13.3  →  ^5.13.4
* eslint                                 ^8.4.1  →   ^8.5.0
* hugo-bin                              ^0.78.1  →  ^0.79.0
* linkinator                            ^2.16.2  →   ^3.0.2
* sass                                  ^1.45.0  →  ^1.45.1
* stylelint-config-twbs-bootstrap  ^3.0.0-beta1  →   ^3.0.0
2021-12-21 08:39:43 +02:00
Gaël Poupard a2c056e1f6 fix(alerts): ensure color is set and used (#35571) 2021-12-20 14:22:29 +02:00
Louis-Maxime Piton 42162546f2 docs: A fix for CSS Variables and some proposal (#35563)
* docs: Fix CSS variables sections

* Minor fix for dropdowns

* Minor fixes for URLs

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-12-18 13:53:36 +02:00
Phil E. Taylor c2db7108c2 Fix typo in comment (#35564)
s/moddal/modal
2021-12-18 07:58:31 +02:00
Mark Otto f729e4c7d1 Convert alerts to CSS variables (#35401)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-12-17 07:16:24 +02:00
Andy Jiang 4a66f229ed Add missing border-radius for btn-group (#35467)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-12-16 10:43:30 +02:00
Florian Lacreuse d17801265e Add sticky bottom utility (#35518)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-12-16 10:27:00 +02:00
Julien Déramond 2d07383e32 docs: Use param to set Bootstrap version in Contents page (#35556) 2021-12-16 10:20:48 +02:00
XhmikosR a22694da13 build/postcss.config.js: minor tweaks (#35506) 2021-12-15 10:52:49 +02:00
GeoSot e0960b08e0 Tooltip: remove extraneous call to _getConfig() (#35540)
BaseClass already initializes the config

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-12-15 10:47:32 +02:00
GeoSot d40fae456e Popover.js: Accept empty content through data-bs-content (#35514)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-12-15 10:41:31 +02:00
XhmikosR cd04fe015f Scrollspy: minor refactoring (#35512)
* reorder variables
* join lines
* use `filter(Boolean)` since it's clearer
* use `for...of`
2021-12-15 09:38:06 +02:00
XhmikosR cb46ad633c Reprocess inline SVGs with the latest SVGO (#35484) 2021-12-15 09:29:17 +02:00
Ty Mick 28f7c94475 docs: Add responsive variations for align-content-between (#35532)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-12-14 22:29:35 +02:00
XhmikosR 8cdb6c40bd Update stylelint and stylelint-config-twbs-bootstrap (#35438) 2021-12-14 09:51:31 +02:00
XhmikosR cd50942831 Update devDependencies (#35498)
* @babel/core                  ^7.16.0  →  ^7.16.5
* @babel/preset-env            ^7.16.4  →  ^7.16.5
* @rollup/plugin-node-resolve  ^13.0.6  →  ^13.1.1
* clean-css-cli                 ^5.4.2  →   ^5.5.0
* cspell                       ^5.13.2  →  ^5.13.3
* hugo-bin                     ^0.77.4  →  ^0.78.1
* postcss                       ^8.4.4  →   ^8.4.5
* postcss-cli                   ^9.0.2  →   ^9.1.0
* rollup                       ^2.60.2  →  ^2.61.1
* sass                         ^1.44.0  →  ^1.45.0
2021-12-14 09:26:43 +02:00
GeoSot 886b940796 Extract Component config functionality to a separate class (#33872)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-12-10 18:18:18 +02:00
XhmikosR 68f226750d JS tests: only test one Node.js version (#35481) 2021-12-10 16:40:32 +02:00
XhmikosR 63d38b1974 Tab: minor refactoring (#35511)
* remove unneeded parentheses
* move variable
2021-12-10 07:51:57 +02:00
XhmikosR 871c8bdd3f util/index.js: minor refactoring (#35510)
* rename variables
* remove an unused variable
* be more explicit
* reuse variable
2021-12-10 07:48:04 +02:00
XhmikosR eaa801c899 Toast: join multiple classList calls (#35507) 2021-12-10 07:42:08 +02:00
XhmikosR 94d4fa3b10 Fix tests fixture type (#35501)
Previously we were adding an Array instead of a String
2021-12-09 16:01:29 +02:00
GeoSot 28a5a72ed5 Scrollbar - remove margin/padding properties properly (#35388)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-12-09 15:49:28 +02:00
GeoSot c376cb0763 Dropdown: fix toggle focus after dropdown is hidden using the ESC button (#35500) 2021-12-09 15:34:17 +02:00
GeoSot 4fd5539c75 ScrollBar.js. Minor refactoring and add test (#35492) 2021-12-09 15:05:50 +02:00
Alexander Gitter 2a7015e630 Fix variable name in form overview docs (#35468)
These variables are called $input-btn-*, the documentation was erroneously talking about $btn-input-*.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-12-07 20:51:50 +02:00
Anton e45111fb74 Replace inline styles in example "Dropdowns" (#35483) 2021-12-07 20:45:56 +02:00
GeoSot 328f723008 Tooltip: remove title attribute before show & add tests (#35456) 2021-12-07 15:51:56 +02:00
Alexander Gitter ba7863a5bb Fix typo in $purples (#35466)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-12-07 12:34:16 +02:00
dependabot[bot] b2200c3b24 Bump cspell from 5.13.1 to 5.13.2 (#35473)
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 5.13.1 to 5.13.2.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/v5.13.1...v5.13.2)

---
updated-dependencies:
- dependency-name: cspell
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-07 12:06:12 +02:00
XhmikosR a75d2098eb Update devDependencies (#35472) 2021-12-07 10:39:09 +02:00
Mark Otto a780d74b28 Docs offcanvas navbar (#34487)
* Redesign docs navbar to use offcanvas, tweak overall padding while I'm here

* Match code snippets to new gutter width

* Replace value with docs-specific variable

Opted not to do a CSS variable here since on .bd-content it would be inherited into our examples

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-12-03 10:08:01 +02:00
XhmikosR 6eef480e1e CI: add workflow_dispatch (#35454) 2021-12-02 23:02:11 +02:00
XhmikosR 2ff1eb0daa README.md: wrap file contents in a details element (#35452)
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2021-12-02 22:53:12 +02:00
Louis-Maxime Piton d8999dd566 Tests: Minor fixes (#35455) 2021-12-02 12:01:11 +02:00
GeoSot 385fea49e8 Tooltip/Popover: add underscore prefix to protected functions 2021-12-01 18:00:36 +02:00
GeoSot bd79d69a73 Tooltip: a simple code-block position change 2021-12-01 18:00:36 +02:00
GeoSot 1f7b83203d Tooltip: simplify popper check 2021-12-01 18:00:36 +02:00
GeoSot 9b9372e8dd Tooltip: refactor _hoverState to Boolean to achieve better control 2021-12-01 18:00:36 +02:00
GeoSot 8eacbaa08b Tooltip: merge timeout functionality 2021-12-01 18:00:36 +02:00
GeoSot c69ccba08c Tooltip: Change _enter & _leave to work without arguments 2021-12-01 18:00:36 +02:00
GeoSot a20e4203fe Tooltip: Remove redundant config.delay check
`config.delay` is always an object after initialization
2021-12-01 18:00:36 +02:00
GeoSot 724663b3cd Tooltip: Remove Data.set usage for dynamically created tip
This is not used any further, so we were just setting it.
2021-12-01 18:00:36 +02:00
GeoSot 3baeb0a5c1 Tooltip: merge isAnimated checks 2021-12-01 18:00:36 +02:00
GeoSot 53c77c0203 Tooltip: refactor jQueryInterface 2021-12-01 18:00:36 +02:00
GeoSot a5945369bd Dropdown: change doc for data-bs-popper=none 2021-12-01 17:10:39 +02:00
GeoSot dd07c1ff9e Dropdown: clearMenus is always an event callback 2021-12-01 17:10:39 +02:00
GeoSot f71640f048 Dropdown: Clean more 2021-12-01 17:10:39 +02:00
GeoSot 21e5618ba7 Dropdown: rename vars 2021-12-01 17:10:39 +02:00
GeoSot 0686fa00f0 Dropdown: Remove redundant Space check 2021-12-01 17:10:39 +02:00
GeoSot a14a552d83 Dropdown: Deduplicate complex check 2021-12-01 17:10:39 +02:00
GeoSot bff95d55af Dropdown: Remove redundant check since the show method already does it 2021-12-01 17:10:39 +02:00
GeoSot 2d32802f53 Dropdown: Change constant to the way we use it 2021-12-01 17:10:39 +02:00
GeoSot fb5921dec4 Dropdown: Merge display='static' & isNavbar functionality activating static popper with no styles attached 2021-12-01 17:10:39 +02:00
GeoSot 137b324930 Dropdown: Remove static method used once 2021-12-01 17:10:39 +02:00
GeoSot 8b308b76f0 Dropdown tests: Use a function to improve readability (#35448) 2021-12-01 16:49:02 +02:00
XhmikosR 01b08d958c Remove the now outdated build/svgo.yml (#35447) 2021-12-01 15:16:24 +02:00
GeoSot cab62af2e6 Fix popover arrow & tooltip template after the setContent addition (#35441) 2021-12-01 15:10:10 +02:00
GeoSot 44a6cd724c Tooltip: remove leftover method (#35440)
Remove a leftover after #32692

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-12-01 14:53:56 +02:00
Ethan Clevenger 2fe90d8b16 Update edge-to-edge design instructions (#35446)
Add note about margins to prevent overflow.
2021-12-01 14:34:03 +02:00
XhmikosR e5d8256e42 tests/unit/util/scrollbar.spec.js: rename function
`parseInt` is a global one.
2021-12-01 14:30:49 +02:00
XhmikosR 11ce6c2dcd tests: fix a few typos 2021-12-01 14:30:49 +02:00
XhmikosR f8f9dc3b5c tests: remove extra spaces, unneeded arrays and add missing newlines 2021-12-01 14:30:49 +02:00
XhmikosR eb54e1a1ce tests: tweak Jasmine's matchers usage
Use:

* toBeNull
* toEqual
* toBeTrue
* toBeFalse
* toHaveSize
* toHaveClass
2021-12-01 14:30:49 +02:00
XhmikosR 5739bf7637 tests/browsers.js: remove unneeded export 2021-12-01 14:30:49 +02:00
Christopher Boik 2a51370e92 Fix variable name in customizing comment (#35414)
Correct table lightening variable to match the variable name defined and described in the loop variable section above
2021-11-30 16:41:08 +02:00
XhmikosR d13b5ca2a5 Update devDependencies (#35421)
* @popperjs/core  ^2.10.2  →  ^2.11.0
* cspell          ^5.13.0  →  ^5.13.1
* postcss         ^8.3.11  →   ^8.4.4
* rollup          ^2.60.1  →  ^2.60.2
* sass            ^1.43.4  →  ^1.44.0
2021-11-30 08:36:39 +02:00
GeoSot 1692fc6b4b Alert: add a couple more tests (#35419)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-11-29 14:32:11 +02:00
GeoSot 3129ff075b BaseComponent: add a couple more tests (#35410)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-11-29 14:27:03 +02:00
François Karman 5290080d4d Update typography.md
remove a unnecessary <abbr> tag
2021-11-25 14:08:52 -10:00
Travis Risner 45eb70e03c Correctly implement RFS in :root CSS variable for $body-font-size (#35326)
* rfs fix

* Update scss/_root.scss

* Update _reboot.scss

Co-authored-by: Mark Otto <otto@github.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2021-11-25 14:01:19 -10:00
Si Nguyen 3c8fbb6581 Update _close.scss 2021-11-25 13:56:32 -10:00
GeoSot 6f077ff7bc Clean tooltip component unneeded functionality (#32692) 2021-11-25 20:08:11 +02:00
GeoSot 374eeecfbc tooltip.js: use array.includes instead of for iteration (#35127) 2021-11-25 19:39:13 +02:00
GeoSot 91ad255e07 Change adjustDialog's if conditions to improve readability 2021-11-25 19:23:49 +02:00
GeoSot 569bca54d2 Add test for modal-content 2021-11-25 19:23:49 +02:00
GeoSot 0f9fd75d6c Respect modal's initial overflowY 2021-11-25 19:23:49 +02:00
GeoSot cc3e5789ec Remove some uncovered code that seems to be unused 2021-11-25 19:23:49 +02:00
GeoSot 92e664c921 Change check for dynamic modal 2021-11-25 19:23:49 +02:00
GeoSot fc33ce4b46 Tweak methods
Name them to be more descriptive and have agnostic functionality
2021-11-25 19:23:49 +02:00
GeoSot 79e01c3bad Some refactoring on modal, to improve readability and generic functionality 2021-11-25 19:23:49 +02:00
GeoSot 94a596fbcb Add a template factory helper to handle all template cases (#34519)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-11-25 19:14:02 +02:00
XhmikosR fa33e83f25 build/change-version.js: fix wrong map usage (#35395) 2021-11-24 10:49:35 +02:00
GeoSot 58ffe2334a build: read & dynamically resolve imports on plugins build (#34509)
Our individual js/dist files are now deduplicated properly thus resulting in a size reduction, which varies from ~25% to ~60% depending on the components used. The average savings are 20% uncompressed and ~15% with gzip.

This will mostly benefit cases that more than one component is imported from js/dist. In all other cases it doesn't have any effect.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-11-23 17:37:14 +02:00
Neeraj Kumar Das 1ee058adf5 Make footer examples responsive to mobile screens (#35365) 2021-11-23 16:15:46 +02:00
Julien Déramond 7edad9453c Add missing scss/maps imports (#35373)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-11-23 10:06:33 +02:00
XhmikosR 8ddc42f584 Update devDependencies (#35368)
* @babel/preset-env      ^7.16.0  →  ^7.16.4
* cspell                 ^5.12.6  →  ^5.13.0
* eslint                  ^8.2.0  →   ^8.3.0
* eslint-plugin-unicorn  ^38.0.1  →  ^39.0.0
* hugo-bin               ^0.77.2  →  ^0.77.4
* karma                   ^6.3.8  →   ^6.3.9
* rollup                 ^2.60.0  →  ^2.60.1
2021-11-23 09:58:35 +02:00
XhmikosR 9c0163329f Update devDependencies (#35356)
* eslint-plugin-import  ^2.25.2  →  ^2.25.3
* linkinator            ^2.14.5  →  ^2.16.2
* nodemon               ^2.0.14  →  ^2.0.15
* rollup                ^2.59.0  →  ^2.60.0
* terser                 ^5.9.0  →  ^5.10.0
2021-11-16 08:10:32 +02:00
Mark Otto 9f099d3e4f Move reassigned Sass maps for colors to another stylesheet (#34942) 2021-11-15 13:03:48 +02:00
Tobias Nießen 96dcc150d5 Fix typo in vertical alignment of table cells (#35348) 2021-11-15 12:52:06 +02:00
XhmikosR 367caea501 Update devDependencies (#35322)
* cspell                 ^5.12.4  →  ^5.12.6
* eslint                  ^8.1.0  →   ^8.2.0
* eslint-plugin-unicorn  ^37.0.1  →  ^38.0.1
* hugo-bin               ^0.76.1  →  ^0.77.2
* karma                   ^6.3.7  →   ^6.3.8
* linkinator             ^2.14.4  →  ^2.14.5
* postcss-cli             ^9.0.1  →   ^9.0.2
* rtlcss                  ^3.4.0  →   ^3.5.0
2021-11-09 08:02:36 +02:00
Scott O'Hara e958cd2637 floating-labels: remove aria-label in the select example (#35327)
While it is understood that this is just an example, the visible text (label) of "Works with selects" and the `aria-label="Floating label select example"` created a [WCAG 2.5.3 Label in name](https://www.w3.org/WAI/WCAG21/quickref/#label-in-name) failure.  

As the `aria-label` isn't necessary here since this `select` is already provided an accessible name by its `label` element, removing the unnecessary `aria-label` seems the best course of action as:
* removing it solves the WCAG issue 
* it removes the potential implication to developers that they'd even _need_ an `aria-label` here, let alone indirectly suggesting that it's ok for the visible text and accessible name to be out of alignment
2021-11-09 07:54:42 +02:00
Julien Déramond 31998dfd1e Fix spacing utility classes mentioned in navbar supported content documentation (#35328)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-11-05 20:36:56 +02:00
Christian Oliff 98889f2144 README.md remove broken "David DM" dependency badges (#35313) 2021-11-03 14:36:39 +02:00
Mark Otto 6c706e947d Update import stacks required for modifying utilities (#35320) 2021-11-03 14:31:21 +02:00
kyletsang 889286cef1 Add top placement info to offcanvas docs 2021-11-02 13:56:47 -07:00
XhmikosR 05f1b15dda Update devDependencies (#35270)
* @babel/cli                ^7.15.7  →  ^7.16.0
* @babel/core               ^7.15.8  →  ^7.16.0
* @babel/preset-env         ^7.15.8  →  ^7.16.0
* autoprefixer              ^10.3.7  →  ^10.4.0
* cspell                    ^5.12.3  →  ^5.12.4
* eslint                     ^8.0.1  →   ^8.1.0
* karma                      ^6.3.5  →   ^6.3.7
* karma-firefox-launcher     ^2.1.1  →   ^2.1.2
* rollup                    ^2.58.0  →  ^2.59.0
* sass                      ^1.43.2  →  ^1.43.4
2021-11-02 08:09:33 +02:00
Michael Sørensen 44ea0d6925 make-col-ready(): remove the unused $gutter variable (#34334)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2021-11-01 08:59:21 +02:00
Mark Otto 0c449b8b82 Always set the CSS variables for gutters in containers (#34644)
We already do this in rows, so to best support our containers, we need
to do it at the container level as well.

Fixes #32658, fixes #34614, closes #32658.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-11-01 08:39:48 +02:00
Julien Déramond 328a29162d Add missing role="search" and type="search" in navbar doc and examples (#35223)
* Add missing `role="search"` and `type="search"` in navbar doc and examples

* Update site/content/docs/5.1/components/navbar.md

* Remove warning callout about ensuring correct search role in navbar doc

Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-11-01 08:33:39 +02:00
Christian Oliff 8ed1218294 update grid example docs (#35308) 2021-11-01 08:29:31 +02:00
Gaël Poupard 989de20bae Don't override CSS direction in code elements (#35230)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-10-29 09:00:36 +03:00
Gaël Poupard 600a9ee521 Ensure sufficient contrast in accordion-item (#35231)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-10-29 08:53:42 +03:00
Gaël Poupard 7a9a3ab50f Drop prefixed version of ::file-selector-button (#35232)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-10-29 08:47:24 +03:00
Barabas 2e87f9aef0 images.md: remove zero-width space (#35234)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-10-28 14:22:32 +03:00
Oxydent dc06b9966e fix(offcanvas): Adding titles class where missing (#35264)
Co-authored-by: louismaximepiton <louismaxime.piton@orange.com>
2021-10-26 14:37:45 +03:00
XhmikosR 5771fcc4a9 Update devDependencies (#35233)
* @rollup/plugin-commonjs      ^21.0.0  →  ^21.0.1
* @rollup/plugin-node-resolve  ^13.0.5  →  ^13.0.6
* clean-css-cli                 ^5.4.1  →   ^5.4.2
* eslint                        ^8.0.0  →   ^8.0.1
* karma                         ^6.3.4  →   ^6.3.5
* nodemon                      ^2.0.13  →  ^2.0.14
* postcss                       ^8.3.9  →  ^8.3.11
* rtlcss                        ^3.3.0  →   ^3.4.0
* sass                         ^1.42.1  →  ^1.43.2
2021-10-21 16:40:29 +03:00
Gaël Poupard a0fd92ed2b Fix typo in RTL Hello World! sentence (#35236)
* docs(RTL): fix typo in Hello World! sentence

* chore(docs): Cspell arabic words update
2021-10-21 16:33:29 +03:00
GeoSot b991a6b851 tests: try to fix a few random failures (#35184)
* Change `Swipe` dispose spy on EventHandler
* Modal hide spy on backdrop hide
2021-10-13 17:45:39 +03:00
GeoSot 9640e2d5dd Change the way collapse handles its children on opening 2021-10-13 16:38:27 +03:00
GeoSot 1eea132866 collapse: extract duplicate code to a function 2021-10-13 16:38:27 +03:00
XhmikosR 99f6cf509d Update devDependencies (#35174)
* eslint                 ^7.32.0  →    ^8.0.0
* eslint-plugin-import   ^2.24.2  →   ^2.25.2
* eslint-plugin-unicorn  ^36.0.0  →   ^37.0.1
* vnu-jar                21.10.8  →  21.10.12
2021-10-13 15:56:37 +03:00
XhmikosR 45bba10714 Switch to Node.js 16 and npm 8. (#35178) 2021-10-13 15:26:48 +03:00
XhmikosR e8f702666f JS: minor refactoring (#35183)
* add missing comments
* shorten block comments
* reorder constants
* reorder public/private methods
* sort exports alphabetically in util/index.js
* fix a couple of typos
2021-10-13 15:19:28 +03:00
GeoSot db44392bda Swipe: add test to ensure that it ignores pinch events (#35161) 2021-10-12 15:48:19 +03:00
Jesse Mandel d7dec124eb Update nuget docs to specify only .NET Framework projects are supported. (#35124)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-10-11 19:31:53 +03:00
XhmikosR 1fe4acc270 Update devDependencies (#35155)
* @babel/core                  ^7.15.5  →  ^7.15.8
* @babel/preset-env            ^7.15.6  →  ^7.15.8
* cspell                       ^5.12.0  →  ^5.12.3
* linkinator                   ^2.14.3  →  ^2.14.4
* vnu-jar                       21.9.2  →  21.10.8
2021-10-11 19:07:43 +03:00
Geremia Taglialatela 5b124f647f Add color and border-color css variables to tables (#35055) 2021-10-11 17:41:43 +03:00
GeoSot 8ec6c94522 Extract Carousel's swipe functionality to a separate Class (#32999) 2021-10-11 17:04:43 +03:00
Mark Otto b21c7ccbb7 Reset z-index on .navbar-expand .offcanvas, plus prevent box-shadow issues (#35153) 2021-10-10 14:56:35 +03:00
XhmikosR 24e3ca2474 tooltip.js: ignore a LGTM error (#35147)
The code on this line is either sanitized or the user chose to not sanitize it.
2021-10-10 14:49:41 +03:00
XhmikosR c44d64ed71 Merge remote-tracking branch 'remotes/origin/v513' 2021-10-09 18:28:28 +03:00
XhmikosR 1a6fdfae6b Bump version to 5.1.3. 2021-10-09 09:43:19 +03:00
Mark Otto 09f73a6a12 Revert "Add align-self: center to buttons for improved rendering in flex containers" (#35143)
This reverts commit 94c80ff613.
2021-10-09 09:41:51 +03:00
XhmikosR ec62be2724 ESLint: disable no-negated-condition rule (#35137) 2021-10-08 12:47:55 +03:00
XhmikosR a260967a55 tests: minor cleanup (#35138)
* tests: minor cleanup

* tests: use the util noop function
2021-10-08 12:32:11 +03:00
XhmikosR eb0f705621 scrollspy.js: chain functions (#35139) 2021-10-08 12:28:05 +03:00
XhmikosR 64e13162fa Sanitizer: fix logic and add a test. (#35133)
This was broken in 2596c97 inadvertently.
Added a test so that we don't hit this in the future.
2021-10-07 17:48:36 +03:00
Chris Midgley 9ff87f5f0e docs: remove 'and' in middle of list (#35113) 2021-10-07 16:42:22 +03:00
devhoussam c331a150cd Add Sass variables for hr background-color and border
Co-Authored-By: Houssam Hammouda <11141564+devhoussam@users.noreply.github.com>
2021-10-05 15:49:35 -07:00
XhmikosR 2596c97034 util/sanitizer.js: use Array.every() (#35120) 2021-10-06 00:23:14 +03:00
GeoSot 598b4c59a6 Use for...of in visual tests too 2021-10-05 19:52:11 +03:00
XhmikosR 3afe4b8c7d Enable unicorn/numeric-separators-style rule.
This is taken care of by babel via @babel/plugin-proposal-numeric-separator
2021-10-05 19:52:11 +03:00
XhmikosR 567a41347e Fix a unicorn/no-array-callback-reference issue 2021-10-05 19:52:11 +03:00
XhmikosR 666fe596bf Enable unicorn/no-array-for-each rule 2021-10-05 19:52:11 +03:00
XhmikosR 2b4d0d166b Enable unicorn/no-for-loop rule 2021-10-05 19:52:11 +03:00
XhmikosR 9f1579aa04 Enable unicorn/prefer-prototype-methods rule 2021-10-05 19:52:11 +03:00
Mark Otto 57d80fcd32 Separate container classes from $enable-grid-classes option (#35005)
* Separate container classes from enable-grid-classes optoin

* Document the new option

* Mention in migration guide

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-10-05 19:46:33 +03:00
dependabot[bot] cf2f7cfbe5 Bump postcss from 8.3.8 to 8.3.9 (#35110)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.8 to 8.3.9.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.8...8.3.9)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-05 19:37:30 +03:00
dependabot[bot] 71e334e41a Bump autoprefixer from 10.3.6 to 10.3.7 (#35109)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.3.6 to 10.3.7.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.3.6...10.3.7)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-10-05 19:31:48 +03:00
dependabot[bot] 7bd4c9b79e Bump linkinator from 2.14.0 to 2.14.3 (#35119)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 2.14.0 to 2.14.3.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v2.14.0...v2.14.3)

---
updated-dependencies:
- dependency-name: linkinator
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-05 19:26:27 +03:00
XhmikosR 5ecef8ac01 Release v5.1.2 (#35114) 2021-10-05 18:50:18 +03:00
Kyle Tsang a2aa8c5a6e Add workaround for dart sass compile error (#35033)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <otto@github.com>
2021-10-05 18:40:44 +03:00
Christian Oliff 6b8cf0912a Add cSpell custom dictionary and docs-spellcheck script (#34940) 2021-10-05 18:00:48 +03:00
Julien Déramond fc21dcf758 Fix capitalization after period in contents.md (#35111) 2021-10-05 17:46:08 +03:00
XhmikosR c81c645394 rollup: specify generatedCode: 'es2015' (#35070)
This will make use of `const` and modern features (which we are already using in our code) in the generated rollup code.
2021-10-04 19:46:07 +03:00
XhmikosR 78e9b402df Revert "Bundlewatch: stop ignoring dependabot branches (#33192)" (#35069)
This reverts commit 5560c86070.
2021-10-04 19:34:47 +03:00
XhmikosR c8e5de6e7d Update devDependencies (#35102)
* @popperjs/core                   ^2.10.1  →  ^2.10.2
* @rollup/plugin-commonjs          ^20.0.0  →  ^21.0.0
* clean-css-cli                     ^5.3.3  →   ^5.4.1
* eslint-config-xo                 ^0.38.0  →  ^0.39.0
* rollup                           ^2.57.0  →  ^2.58.0
* stylelint-config-twbs-bootstrap   ^2.2.3  →   ^2.2.4
2021-10-04 19:29:05 +03:00
dependabot[bot] ae16dbbb50 Bump autoprefixer from 10.2.6 to 10.3.6 (#35076)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.2.6 to 10.3.6.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.2.6...10.3.6)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-10-04 19:10:09 +03:00
Priyansh 49df44d43e README.md: fix capitalization after period 2021-10-01 17:12:45 +03:00
XhmikosR 4ffdef397f Update terser to v5.9.0 (#34995) 2021-09-29 09:20:04 +03:00
XhmikosR 759fc89f4b sanitizer: add sms in the SAFE_URL_PATTERN (#35074) 2021-09-29 07:41:06 +03:00
Mark Otto 9437973e58 Update README.md 2021-09-28 18:35:13 -07:00
béla 9da749bc33 update readme github issue new links 2021-09-28 18:35:13 -07:00
Mark Otto c67bcdee62 Fix syntax error, update description 2021-09-28 16:08:17 -07:00
GeoSot 7da7e8a558 Change from issue templates to issue forms
Co-Authored-By: XhmikosR <xhmikosr@gmail.com>
Co-Authored-By: GeoSot <geo.sotis@gmail.com>
2021-09-28 16:02:20 -07:00
dependabot[bot] a0d3ddc87b Bump postcss-cli from 9.0.0 to 9.0.1 (#35075)
Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/postcss/postcss-cli/releases)
- [Changelog](https://github.com/postcss/postcss-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-cli/compare/9.0.0...9.0.1)

---
updated-dependencies:
- dependency-name: postcss-cli
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 19:04:23 +03:00
Alex Gibson 630d2707a3 docs: remove data-bs-dismiss="modal" leftover (#35042) 2021-09-28 18:46:09 +03:00
XhmikosR fee1dc52ee Regenerate package-lock.json (#35071) 2021-09-28 18:38:31 +03:00
Geremia Taglialatela 4fffcf7232 Use Sass variable instead of RGB components (#35017)
All other `rgba()` calls use a Sass variable, except for the ones fixed in this commit
2021-09-28 18:18:02 +03:00
Grey Li 69fedf203b docs: fix Popper version number in config (#35067)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-09-28 13:52:57 +03:00
dependabot[bot] 556fd4bbd4 Bump rollup from 2.56.3 to 2.57.0 (#35065)
Bumps [rollup](https://github.com/rollup/rollup) from 2.56.3 to 2.57.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.56.3...v2.57.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 13:38:31 +03:00
dependabot[bot] 143dafdc93 Bump sass from 1.42.0 to 1.42.1 (#35064)
Bumps [sass](https://github.com/sass/dart-sass) from 1.42.0 to 1.42.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.42.0...1.42.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-09-28 13:14:38 +03:00
dependabot[bot] 70f55cfb52 Bump postcss from 8.3.6 to 8.3.8 (#35063)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.6 to 8.3.8.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.6...8.3.8)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 12:53:40 +03:00
dependabot[bot] 9845a38f97 Bump postcss-cli from 8.3.1 to 9.0.0 (#35061)
Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 8.3.1 to 9.0.0.
- [Release notes](https://github.com/postcss/postcss-cli/releases)
- [Changelog](https://github.com/postcss/postcss-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-cli/compare/8.3.1...9.0.0)

---
updated-dependencies:
- dependency-name: postcss-cli
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-09-28 12:48:46 +03:00
dependabot[bot] c7dd486527 Bump @rollup/plugin-node-resolve from 13.0.4 to 13.0.5 (#35060)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 13.0.4 to 13.0.5.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/node-resolve-v13.0.5/packages/node-resolve)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-node-resolve"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-09-28 12:42:08 +03:00
dependabot[bot] ae51525389 Bump glob from 7.1.7 to 7.2.0 (#35059)
Bumps [glob](https://github.com/isaacs/node-glob) from 7.1.7 to 7.2.0.
- [Release notes](https://github.com/isaacs/node-glob/releases)
- [Changelog](https://github.com/isaacs/node-glob/blob/master/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v7.1.7...v7.2.0)

---
updated-dependencies:
- dependency-name: glob
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-09-28 12:36:33 +03:00
Rohit Sharma 337447c5cc Add offcanvas to the components requiring JavaScript (#35013)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-09-28 12:33:33 +03:00
Julien Déramond b1e27a456b examples: Add role="switch" to switches (#35022) 2021-09-28 12:28:30 +03:00
dependabot[bot] d610a3c484 Bump nodemon from 2.0.12 to 2.0.13 (#35066)
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.12 to 2.0.13.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.12...v2.0.13)

---
updated-dependencies:
- dependency-name: nodemon
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 12:24:13 +03:00
XhmikosR 60d3eb34f8 Update devDependencies (#35026)
* @babel/cli    ^7.15.4  →  ^7.15.7
* sass          ^1.41.0  →  ^1.42.0
2021-09-21 09:10:09 +03:00
dependabot[bot] 93e82f11b9 Bump nth-check from 2.0.0 to 2.0.1 (#35025)
Bumps [nth-check](https://github.com/fb55/nth-check) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/fb55/nth-check/releases)
- [Commits](https://github.com/fb55/nth-check/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: nth-check
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-21 09:02:51 +03:00
GeoSot bdfb4cc54d Fix Collapse regression of handling toggling between sibling chilldren (#34951) 2021-09-15 15:33:19 +03:00
XhmikosR 8f2e678424 Minor refactoring (#34980)
Rename variables and remove a temporary one
2021-09-15 14:34:24 +03:00
XhmikosR c5d03d93fc Rename e to event (#34979) 2021-09-15 14:27:46 +03:00
dependabot[bot] 1d484b5737 Bump sass from 1.40.1 to 1.41.0 (#34977)
Bumps [sass](https://github.com/sass/dart-sass) from 1.40.1 to 1.41.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.40.1...1.41.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-15 08:47:47 +03:00
dependabot[bot] c54cd6a070 Bump sass from 1.39.0 to 1.40.1 (#34974)
Bumps [sass](https://github.com/sass/dart-sass) from 1.39.0 to 1.40.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.39.0...1.40.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-14 15:04:09 +03:00
dependabot[bot] 6bd842bd66 Bump eslint-plugin-unicorn from 35.0.0 to 36.0.0 (#34970)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 35.0.0 to 36.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v35.0.0...v36.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-09-14 09:32:51 +03:00
dependabot[bot] 89630c54fc Bump @babel/preset-env from 7.15.4 to 7.15.6 (#34973)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.15.4 to 7.15.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.15.6/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-14 09:24:31 +03:00
XhmikosR 8b0b34e92e Update CodeQL workflow (#34961) 2021-09-14 09:07:59 +03:00
cdalexndr 55a352d023 Fix responsive img docs
https://github.com/twbs/bootstrap/issues/34885
2021-09-13 22:19:13 -06:00
GeoSot c9af4565fd tests: fix lint warning (#34950) 2021-09-13 10:57:17 +03:00
Christian Oliff 8c4f66733e Changes some latin/dummy text to English (#34946)
Changes some latin/dummy text to English so spellcheck linter passes
2021-09-10 14:02:58 +03:00
Kitty Giraudel 1df098361c Update a URL mentioning dead name (#34937) 2021-09-09 14:42:45 +03:00
Christian Oliff cb87ed2a79 docs: Add role="switch" to switches (#34824)
* docs: Add role="switch" to switches

* Tweak/expand explanation about assistive technologies

Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2021-09-09 14:37:52 +03:00
Christian Oliff f7c361f553 replace dummy text with English for Text truncation page (#34936) 2021-09-09 14:30:41 +03:00
Gaël Poupard 2a925d6fd8 Separator for table direct children (#34861)
* fix(tables): separator for table direct children

* fix(tables): drop universal selectors

* fix(tables): trying the lobotomized owl selector

* fix(tables): get closer to v4

* fix(tables): ensure borderless are borderless
2021-09-09 09:50:55 +03:00
Christian Oliff 8db02e24d6 Non-blocking typo fix (#34935) 2021-09-09 09:44:44 +03:00
Christian Oliff 24daa47131 Fix Backdroped typo (#34920) 2021-09-08 10:55:01 -07:00
Julien Déramond 499485589f Remove remaining "master" branch references (#34932) 2021-09-08 17:58:50 +03:00
Christian Oliff de68df20cd fix utilities typo (#34923) 2021-09-08 16:59:17 +03:00
bavoco 00a230a6a7 fix custom property values of row overrides individual cell (#34799) 2021-09-08 09:07:22 +03:00
XhmikosR 395b50a5b5 docs: Update RFS version & move "v" prefix to config.yml (#34918) 2021-09-08 09:03:04 +03:00
Christian Oliff acc0836f08 fix predefined typo (#34922) 2021-09-08 08:59:27 +03:00
Christian Oliff 7e1aa85fad Fix JavaScript typo (#34921) 2021-09-08 08:55:43 +03:00
Dominik Crha dbe0ad49ab Add border-radius sizes to small and large .form-selects (#34853)
Fixes #34852

Co-authored-by: Dominik Crha <crha@havit.cz>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2021-09-07 13:35:35 -07:00
Zaid Jawed 94c80ff613 Add align-self: center to buttons for improved rendering in flex containers
Fixes #34834
2021-09-07 13:21:57 -07:00
XhmikosR 0d81d3cbc1 Release v5.1.1 (#34869)
* Prepare v5.1.1.

* Dist
2021-09-07 18:37:44 +03:00
dependabot[bot] b6855ae138 Bump vnu-jar from 21.6.11 to 21.9.2 (#34874)
* Bump vnu-jar from 21.6.11 to 21.9.2

Bumps [vnu-jar](https://github.com/validator/validator) from 21.6.11 to 21.9.2.
- [Release notes](https://github.com/validator/validator/releases)
- [Changelog](https://github.com/validator/validator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/validator/validator/compare/21.6.11...21.9.2)

---
updated-dependencies:
- dependency-name: vnu-jar
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Ignore the `aria-disabled` warnings

* Add comment to aria-disabled ignore

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-09-07 10:55:08 +03:00
XhmikosR 23b3d636e1 Typo fixes (#34914) 2021-09-07 09:45:27 +03:00
Patrick H. Lauke aa06dffdf6 Disabled link cleanup (#34886)
* Disabled link cleanup

per https://www.w3.org/TR/html-aria/#docconformance

> It is NOT RECOMMENDED to use `aria-disabled="true"` on an `a` element with an `href` attribute.
>
>NOTE
>If a link needs to be "disabled", remove the `href` attribute.

This PR removes the unnecessary `href="#"`, `tabindex="-1"`, and `aria-disabled="true"` from disabled links in both docs pages and examples. `aria-disabled="true"` *is* kept for disabled link-based buttons (that have `role="button"`) as there it's appropriate to use (you *want* to convey to assistive technologies that this thing you're claiming is a button is also disabled at the moment)

Further, the PR extends the "Link functionality caveat" to show the "proper" way (removing `href` and adding `.disabled` class only) to disable a link, but then explains what to do if that's not possible (and then keeps an example with all the traditional `href="#" tabindex="-1" aria-disabled="true"`, but explains clearly that it's not ideal). Same sort of explanation is also added to the pointer event utilities page

* Turn big note into actual normal doc text

Co-authored-by: Mark Otto <markd.otto@gmail.com>

Co-authored-by: Mark Otto <markd.otto@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-09-06 22:14:21 +03:00
Julien Déramond 16aab88a67 docs: make use of the .Site.Params.docs_version variable (#34913)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-09-06 21:59:04 +03:00
XhmikosR 68a86d3477 BrowserStack: add Firefox 60 and Chrome 60 (#34912)
These are the minimum supported versions, so this patch makes sure everything works there too.
2021-09-06 21:54:08 +03:00
Christian Oliff 6411799e60 Docs: Add Callout to Stacks Helper page about limited flexbox gap support (#34910)
* Docs: Add Callout to Stacks Helper page about limited flexbox gap support

Fixes: #34737

* Update stacks.md

* Delete callout-warning-flexbox-gap.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-09-06 21:48:35 +03:00
XhmikosR 60b88dd3b9 Update devDependencies (#34911)
* @babel/core   ^7.15.4  →  ^7.15.5
* hugo-bin      ^0.76.0  →  ^0.76.1
2021-09-06 15:11:32 +03:00
Julien Déramond 2a1aa2a9f4 Fix a11y issues in .hstack example and placeholder 'How it works' example (#34892) 2021-09-04 09:36:18 +03:00
XhmikosR 9852c9afbb Regenerate package-lock.json (#34900) 2021-09-03 12:32:02 +03:00
dependabot[bot] 6397516ad7 Bump @popperjs/core from 2.9.3 to 2.10.1 (#34896)
* Bump @popperjs/core from 2.9.3 to 2.10.1

Bumps [@popperjs/core](https://github.com/popperjs/popper-core) from 2.9.3 to 2.10.1.
- [Release notes](https://github.com/popperjs/popper-core/releases)
- [Commits](https://github.com/popperjs/popper-core/compare/v2.9.3...v2.10.1)

---
updated-dependencies:
- dependency-name: "@popperjs/core"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update config.yml

* Update .bundlewatch.config.json

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-09-03 12:11:42 +03:00
dependabot[bot] 9b7256ee8c Bump @babel/core from 7.15.0 to 7.15.4 (#34898)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.15.0 to 7.15.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.15.4/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-03 12:08:10 +03:00
dependabot[bot] 19d4e7852b Bump @babel/preset-env from 7.15.0 to 7.15.4 (#34897)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.15.0 to 7.15.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.15.4/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-09-03 12:03:11 +03:00
dependabot[bot] e52b78aa27 Bump @babel/cli from 7.14.8 to 7.15.4 (#34895)
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.14.8 to 7.15.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.15.4/packages/babel-cli)

---
updated-dependencies:
- dependency-name: "@babel/cli"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-03 11:55:20 +03:00
dependabot[bot] 22738ee8ae Bump hugo-bin from 0.75.0 to 0.76.0 (#34883)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.75.0 to 0.76.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.75.0...v0.76.0)

---
updated-dependencies:
- dependency-name: hugo-bin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-03 00:42:41 +03:00
Alan Oliveira 58edf0ecbe docs: add $enable-smooth-scroll to Sass options page (#34877) 2021-09-03 00:14:20 +03:00
dependabot[bot] 55c5549172 Bump sass from 1.38.2 to 1.39.0 (#34875)
Bumps [sass](https://github.com/sass/dart-sass) from 1.38.2 to 1.39.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.38.2...1.39.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-02 15:20:49 +03:00
Mark Otto d91480e3c7 Include root.scss in all dist builds (#34773)
* Remove the font-family-* override vars from Reboot build

* Update Reboot docs to mention CSS variables
2021-09-02 08:41:58 +03:00
XhmikosR 283cbd9026 Use path.Join when joining paths 2021-08-31 17:24:38 +03:00
XhmikosR f22966c920 example: remove unneeded escape characters 2021-08-31 17:24:38 +03:00
XhmikosR 5cc633dfab Minor shortcode tweaks and consistency changes 2021-08-31 17:24:38 +03:00
XhmikosR 9050b2698a Remove .html suffix from shortcodes calls.
It's the default.
2021-08-31 17:24:38 +03:00
XhmikosR 365d6d9fb1 Tweak scss-docs shortcode 2021-08-31 17:24:38 +03:00
GeoSot 51afe026ca Fix tooltip data-bs-original-title issue (#34842) 2021-08-31 16:11:22 +03:00
XhmikosR ef21000cbe tests: add Offcanvas too in jquery.spec.js (#34841) 2021-08-30 18:57:00 +03:00
XhmikosR a7e64b5a4f Add GitHub SHA in BrowserStack build ID. (#34077) 2021-08-30 16:30:51 +03:00
XhmikosR 2a0f7078d4 Update Sass and regenerate package-lock.json (#34812) 2021-08-30 16:05:08 +03:00
Julien Déramond a0da3a0f42 Enhance Alerts > Live Example section (#34769) 2021-08-30 16:00:16 +03:00
XhmikosR c02805bb8c Move a few ESLint rules where they are needed. 2021-08-30 15:51:44 +03:00
XhmikosR 4a4b61f082 Update eslint-plugin-unicorn to v35.0.0 2021-08-30 15:51:44 +03:00
Marius A 10fc1fec6a clarify importing all vs specific plugins (#34840) 2021-08-30 15:36:53 +03:00
GeoSot c1fc1dbbee Collapse on toggle, should not hide descendant tabpanels (#34835) 2021-08-30 15:29:02 +03:00
dependabot[bot] d9254c64fa Bump eslint-plugin-import from 2.24.1 to 2.24.2 (#34826)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.24.1 to 2.24.2.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.24.1...v2.24.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-26 18:52:47 +03:00
dependabot[bot] 151f076ab6 Bump sass from 1.38.0 to 1.38.1 (#34811)
Bumps [sass](https://github.com/sass/dart-sass) from 1.38.0 to 1.38.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.38.0...1.38.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-08-24 15:38:40 +03:00
dependabot[bot] acfd5b6625 Bump eslint-plugin-import from 2.24.0 to 2.24.1 (#34809)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.24.0 to 2.24.1.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.24.0...v2.24.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-08-24 15:38:24 +03:00
dependabot[bot] 44a5be2de7 Bump rollup from 2.56.2 to 2.56.3 (#34810)
Bumps [rollup](https://github.com/rollup/rollup) from 2.56.2 to 2.56.3.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.56.2...v2.56.3)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-24 15:23:42 +03:00
XhmikosR 40042ee503 visual tests: minor fixes (#34802) 2021-08-23 18:33:55 +03:00
ghost_32 6cf52ed5f7 Fix $dropdown-link-hover-color variable color value in _variable.scss (#34779) 2021-08-23 10:18:29 +03:00
XhmikosR 9e1d81a851 Progress page: remove toggle animation button (#34787)
We don't use the same approach with a button on the Placeholders page.
2021-08-21 06:54:53 +03:00
Sébastien ALFAIATE 91295c2187 alert.js: Add missing newline (#34785) 2021-08-20 18:30:08 +03:00
SaintMalik bfad22f23c docs: fix typos in approach and placeholders (#34781) 2021-08-20 18:25:03 +03:00
XhmikosR 7207cd1919 dashboard-rtl: use the same scripts as the dashboard example (#34766) 2021-08-18 18:51:12 +03:00
Kyle Tsang b10c1a76c7 Fix typo in placeholder docs (#34752) 2021-08-18 07:30:06 +03:00
dependabot[bot] 18b3e1ac71 Bump sass from 1.37.5 to 1.38.0 (#34759)
Bumps [sass](https://github.com/sass/dart-sass) from 1.37.5 to 1.38.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.37.5...1.38.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-18 07:26:20 +03:00
GeoSot 1e5e655670 Fix modal when is triggered by bs-toggle, to hide other open instances (#34701) 2021-08-10 17:55:34 +03:00
XhmikosR 418fe8113e carousel: move common checks to a function (#34621) 2021-08-10 17:50:32 +03:00
XhmikosR 2034ead87f Update devDependencies (#34725)
* @babel/core            ^7.14.8  →  ^7.15.0
* @babel/preset-env      ^7.14.9  →  ^7.15.0
2021-08-10 17:46:04 +03:00
dependabot[bot] 91e53eb93b Bump rollup from 2.55.1 to 2.56.2 (#34721)
Bumps [rollup](https://github.com/rollup/rollup) from 2.55.1 to 2.56.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.55.1...v2.56.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-08-10 17:35:21 +03:00
dependabot[bot] d3368f4c00 Bump eslint-config-xo from 0.37.0 to 0.38.0 (#34722)
Bumps [eslint-config-xo](https://github.com/xojs/eslint-config-xo) from 0.37.0 to 0.38.0.
- [Release notes](https://github.com/xojs/eslint-config-xo/releases)
- [Commits](https://github.com/xojs/eslint-config-xo/compare/v0.37.0...v0.38.0)

---
updated-dependencies:
- dependency-name: eslint-config-xo
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-10 17:30:32 +03:00
dependabot[bot] 0d608a6ccd Bump eslint-plugin-import from 2.23.4 to 2.24.0 (#34723)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.23.4 to 2.24.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.23.4...v2.24.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-08-10 17:23:57 +03:00
Mark Otto 612d235faf Add check to rgba-css-var function for body or bg (#34699) 2021-08-10 17:16:48 +03:00
dependabot[bot] fd92e353d0 Bump clean-css-cli from 5.3.2 to 5.3.3 (#34697)
Bumps [clean-css-cli](https://github.com/clean-css/clean-css-cli) from 5.3.2 to 5.3.3.
- [Release notes](https://github.com/clean-css/clean-css-cli/releases)
- [Changelog](https://github.com/clean-css/clean-css-cli/blob/master/History.md)
- [Commits](https://github.com/clean-css/clean-css-cli/compare/v5.3.2...v5.3.3)

---
updated-dependencies:
- dependency-name: clean-css-cli
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-05 18:06:46 +03:00
Semih Raif Gürel f4fd27118f Fix font size variable name (#34679)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-08-05 08:39:04 +03:00
Christian Oliff fdc2f723a5 docs: Fix placeholders typo (#34686) 2021-08-05 08:36:00 +03:00
XhmikosR f20fece3a8 Prepare v5.1.0. (#34674) 2021-08-04 18:41:51 +03:00
XhmikosR 7fcc2f4d52 _navbar.scss: switch comment (#34677) 2021-08-04 17:49:34 +03:00
dependabot[bot] 68ff5c91b7 Bump @popperjs/core from 2.9.2 to 2.9.3 (#34668)
* Bump @popperjs/core from 2.9.2 to 2.9.3

Bumps [@popperjs/core](https://github.com/popperjs/popper-core) from 2.9.2 to 2.9.3.
- [Release notes](https://github.com/popperjs/popper-core/releases)
- [Commits](https://github.com/popperjs/popper-core/compare/v2.9.2...v2.9.3)

---
updated-dependencies:
- dependency-name: "@popperjs/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update _config.yml popper version

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-08-04 10:39:53 +03:00
dependabot[bot] 0da7d66842 Bump hugo-bin from 0.74.1 to 0.75.0 (#34669)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.74.1 to 0.75.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.74.1...v0.75.0)

---
updated-dependencies:
- dependency-name: hugo-bin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-08-04 10:12:07 +03:00
dependabot[bot] 999eee6391 Bump sass from 1.37.2 to 1.37.5 (#34670)
Bumps [sass](https://github.com/sass/dart-sass) from 1.37.2 to 1.37.5.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.37.2...1.37.5)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-04 09:55:07 +03:00
Mark Otto 1e9446c0c8 Update .bundlewatch.config.json 2021-08-03 17:06:06 -07:00
Mark Otto 7409271b56 Document the utility API's new css-var boolean
Co-Authored-By: Gaël Poupard <ffoodd@users.noreply.github.com>
2021-08-03 17:06:06 -07:00
Mark Otto 4d7911a27b Add and document additional :root CSS variables
- Adds grayscale colors
- Adds root and body variables

Note that some Sass variables default to `null`, so as we generate and use the CSS variable, we'll be potentially adding some lines of code.
2021-08-03 17:06:06 -07:00
Mark Otto e72916e5b7 Update color and background-color utilities
- Adds new functions to generate additional Sass maps
- Adds new root variables for rgb() versions of our theme colors, plus a few extras
- Adds ability to change the alpha transparency of text color and background color utilities with new utilities, inline styles, or local CSS var
- Updates documentation for color and background-color utilities pages
- Deprecates .text-black-50 and .text-white-50 since those (and additional transparency levels) can be generated on the fly

Change approach slightly to prevent cascade
2021-08-03 17:06:06 -07:00
Sean Hinton a2f92d1aab Improved docs describing media-breakpoint-down breakpoints (#34637)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-08-03 19:08:10 +03:00
Jaume Sala 39b7c75b13 Add new placeholder component (#31859)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Jaume Sala <jaumesala@gmail.com>
Co-authored-by: Mark Otto <markdotto@gmail.com>
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2021-08-03 08:59:00 -07:00
Mark Otto f64df40dfa Update input-bg to use body-bg (#34651) 2021-08-03 18:27:49 +03:00
XhmikosR b6df4a5394 Regenerate package-lock.json (#34659) 2021-08-03 14:07:25 +03:00
dependabot[bot] fc6cf9b06f Bump @babel/preset-env from 7.14.8 to 7.14.9 (#34653)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.8 to 7.14.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.9/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-08-03 13:59:57 +03:00
dependabot[bot] 6074e55e99 Bump @rollup/plugin-commonjs from 19.0.2 to 20.0.0 (#34656)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 19.0.2 to 20.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v20.0.0/packages/commonjs)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-08-03 13:56:59 +03:00
dependabot[bot] 6d3e1a01c5 Bump sass from 1.36.0 to 1.37.2 (#34658)
Bumps [sass](https://github.com/sass/dart-sass) from 1.36.0 to 1.37.2.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.36.0...1.37.2)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-08-03 13:54:21 +03:00
dependabot[bot] 6c38cc01e7 Bump clean-css-cli from 5.3.0 to 5.3.2 (#34657)
Bumps [clean-css-cli](https://github.com/jakubpawlowicz/clean-css-cli) from 5.3.0 to 5.3.2.
- [Release notes](https://github.com/jakubpawlowicz/clean-css-cli/releases)
- [Changelog](https://github.com/clean-css/clean-css-cli/blob/master/History.md)
- [Commits](https://github.com/jakubpawlowicz/clean-css-cli/commits)

---
updated-dependencies:
- dependency-name: clean-css-cli
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-08-03 13:51:08 +03:00
dependabot[bot] c4513594f9 Bump rollup from 2.55.0 to 2.55.1 (#34655)
Bumps [rollup](https://github.com/rollup/rollup) from 2.55.0 to 2.55.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.55.0...v2.55.1)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-08-03 13:48:19 +03:00
dependabot[bot] d9c60313b2 Bump hugo-bin from 0.74.0 to 0.74.1 (#34654)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.74.0 to 0.74.1.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.74.0...v0.74.1)

---
updated-dependencies:
- dependency-name: hugo-bin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-08-03 13:45:28 +03:00
dependabot[bot] 9deed2da9b Bump eslint from 7.31.0 to 7.32.0 (#34652)
Bumps [eslint](https://github.com/eslint/eslint) from 7.31.0 to 7.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.31.0...v7.32.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-03 13:41:33 +03:00
GeoSot a6a2d1e2df Regression on tooltip template creation process. (#34628)
* Regression on tooltip template creation process.

* check if template content does not exist, or given argument is empty

* call `setContent()` once.
2021-08-03 11:59:33 +03:00
XhmikosR 23fd488c38 Add missing newlines around fenced codeblocks (#34630) 2021-07-30 08:56:36 +03:00
XhmikosR 742269a734 tooltip: move repeated strings to constants (#34619) 2021-07-30 00:32:07 +02:00
XhmikosR 6d707f4801 Enable a few eslint-config-xo rules (#34620)
* unicorn/prefer-dom-node-append
* unicorn/prefer-dom-node-remove
2021-07-30 00:23:00 +02:00
GeoSot 2bf32ad180 transfer interface inside jQueryInterface 2021-07-29 16:30:02 +03:00
GeoSot e5b606d242 simplify initialization on data-toggle click 2021-07-29 16:30:02 +03:00
GeoSot 6f17e634ce keep parent only as element 2021-07-29 16:30:02 +03:00
GeoSot 4c1f7bb051 remove duplicated Selector.find 2021-07-29 16:30:02 +03:00
GeoSot 7a71703fd3 Simplify check for children 2021-07-29 16:30:02 +03:00
GeoSot 8fc4f3aaf3 initialize variable properly 2021-07-29 16:30:02 +03:00
GeoSot 1947ca033e Refactor internal function to use it in more cases.
Also, remove a few redundant checks since we already check for it in `_addAriaAndCollapsedClass()`.
2021-07-29 16:30:02 +03:00
GeoSot 5882d5dbe8 Add a helper function to check for showing
Also, remove the `isTransitioning()` helper.
2021-07-29 16:30:02 +03:00
GeoSot 4961ad0c63 Remove redundant check on data-toggle click.
Previously, it was assumed that the trigger element would have its own separate config than the collapse element itself.
2021-07-29 16:30:02 +03:00
GeoSot 2ad0a4a9fd streamline _getConfig & interface 2021-07-29 16:30:02 +03:00
XhmikosR c6c0bbb0b6 Collapse page: add a link to the accordion page (#34605) 2021-07-29 06:39:12 +03:00
Mark Otto 906a990eb7 Revert "Allow individual grid classes to override .row-cols (#33621)" (#34612)
This reverts commit f2b47e1c8a.
2021-07-29 06:29:46 +03:00
GeoSot 4bfd8a2cbc Use a streamlined way to trigger component dismiss (#34170)
* use a streamlined way to trigger component dismiss

* add documentation

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-28 17:39:32 +03:00
alpadev 047145e808 Fix Manipulator.offset() (#33603)
* test: add more test cases for Manipulator.offset()

* fix: Manipulator.offset() is using obsolete properties to get scroll position

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: GeoSot <geo.sotis@gmail.com>
2021-07-28 17:23:32 +03:00
Mark Young 24e14c36e8 Correct Toast docs (#34604)
Removes incorrect references to scrollspy in Toasts documentation
2021-07-28 16:17:24 +03:00
Andrew Pucci fd9285bc9c Make text decoration consistent with other anchors (#34475)
Fixes #34474

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-28 16:00:10 +03:00
XhmikosR a389cb443e Update devDependencies (#34585)
* @rollup/plugin-commonjs      ^19.0.1  →  ^19.0.2
* @rollup/plugin-node-resolve  ^13.0.2  →  ^13.0.4
* postcss                       ^8.3.5  →   ^8.3.6
* rollup                       ^2.53.3  →  ^2.55.0
* sass                         ^1.35.2  →  ^1.36.0
2021-07-28 15:55:42 +03:00
Mark Otto 8513c69385 Document change to hr in v5 (#34574)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-27 08:25:07 +03:00
Mark Otto f41bf2f7c5 Rename Build Tools page to Contribute (#34578)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-27 08:14:24 +03:00
Ryan Berliner 7646f6bd33 Add shift-tab keyboard support for dialogs (modal & Offcanvas components) (#33865)
* consolidate dialog focus trap logic

* add shift-tab support to focustrap

* remove redundant null check of trap element

Co-authored-by: GeoSot <geo.sotis@gmail.com>

* remove area support forom focusableChildren

* fix no expectations warning in focustrap tests

Co-authored-by: GeoSot <geo.sotis@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-27 08:01:04 +03:00
Gaël Poupard 8536474583 More concise improvements for add() and subtract() (#34432) 2021-07-27 07:48:08 +03:00
Mark Otto d140981fdb Make note of _root.scss being required 2021-07-26 17:28:06 -05:00
Mark Otto e208774fc1 Clean up a couple CSS Grid issues (#34572)
- Moves the make-cssgrid() mixin to the grid mixins stylesheet
- Updates the g-start-* classes to start at 1 instead of 0 as 0 is an invalid value (fixes #34399)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-26 18:45:10 +03:00
Mark Otto 905db7dadb Update the custom Sass import docs (#34573)
Now includes mentino of the two utilities stylesheets, plus how and why to include the API stylesheet last

Fixes #34397

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-26 18:41:43 +03:00
Jitan Gupta e805a5e287 Update nav-tab.md
Updated the from anchor tag to button in sample examples
2021-07-26 10:07:27 -05:00
TheFakeCake 9ef7ca5156 Make default $accordion-icon-color consistent
Change the $accordion-icon-color variable default value to
$accordion-button-color
2021-07-25 21:06:42 -05:00
XhmikosR dd303fa971 docs: minor image compression improvements (#34557)
Before: 121 KB (124.549 bytes)
After:  121 KB (124.367 bytes)
2021-07-25 20:33:45 +03:00
Ben Koshy 2bdbb42dcf docs: Add Github Octicons to the list (#34526)
Co-authored-by: Mark Otto <otto@github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-22 18:29:47 +03:00
GeoSot 41292a5257 Toasts: Change showing timings and classes to keep toast display:none by default (#33610) 2021-07-22 18:13:13 +03:00
GeoSot e85a6ed77c make dataApiKeydownHandler to handle specific instance, avoiding extra manipulations 2021-07-22 17:54:48 +03:00
GeoSot 9916191311 extract createPopper method 2021-07-22 17:54:48 +03:00
GeoSot b1dad0943f handle click event in one place, remove undocumented click listener on element in case of not having the proper markup 2021-07-22 17:54:48 +03:00
GeoSot d01a08547d use classList add instead of toggle on show 2021-07-22 17:54:48 +03:00
GeoSot d130b00cad simplify toggle 2021-07-22 17:54:48 +03:00
GeoSot 3533e2d637 Merge dropdownInterface to jQueryInterface 2021-07-22 17:54:48 +03:00
GeoSot d3c6f25fd0 Add isShown method and reuse it 2021-07-22 17:54:48 +03:00
GeoSot da2db218ed Use on private method to set content & cleanup template 2021-07-22 17:20:38 +03:00
GeoSot 9c3ceaa25b popover: Move common code in tooltip's getTipElement() 2021-07-22 17:20:38 +03:00
GeoSot a97fd1cd24 use one private method to resolve string or function 2021-07-22 17:20:38 +03:00
GeoSot 3716603dbc Use getOrCreateInstance on _initializeOnDelegatedTarget 2021-07-22 17:20:38 +03:00
GeoSot 92c7056619 _getDelegateConfig(): add a comment and remove an unneeded config check 2021-07-22 17:20:38 +03:00
GeoSot c4e189df40 use a class private getter to decouple same methods usage 2021-07-22 17:20:38 +03:00
XhmikosR 75b2934596 Update devDependencies (#34552)
* @babel/cli             ^7.14.5  →  ^7.14.8
* @babel/core            ^7.14.6  →  ^7.14.8
* @babel/preset-env      ^7.14.7  →  ^7.14.8
* eslint-config-xo       ^0.36.0  →  ^0.37.0
* eslint-plugin-unicorn  ^31.0.0  →  ^34.0.1
* hugo-bin               ^0.73.0  →  ^0.74.0
2021-07-21 15:57:47 +03:00
dependabot[bot] 3e01830d92 Bump rollup from 2.53.2 to 2.53.3 (#34548)
Bumps [rollup](https://github.com/rollup/rollup) from 2.53.2 to 2.53.3.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.53.2...v2.53.3)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-21 14:06:40 +03:00
Ryan Berliner 119cfc3dfe Remove whitespace at beginning of util/index.js (#34545) 2021-07-21 07:49:55 +03:00
GeoSot 5541179b38 Fix Util.reflow function and add documentation (#34543)
* add documentation to reflow function

* refactor to void as it should be

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-20 17:20:43 +03:00
dependabot[bot] 365b9e5af0 Bump @rollup/plugin-replace from 2.4.2 to 3.0.0 (#34536)
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins/tree/HEAD/packages/replace) from 2.4.2 to 3.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/replace/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/wasm-v3.0.0/packages/replace)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-replace"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-20 17:13:58 +03:00
dependabot[bot] 5eaf73baa6 Bump stylelint-config-twbs-bootstrap from 2.2.1 to 2.2.3 (#34541)
Bumps [stylelint-config-twbs-bootstrap](https://github.com/twbs/stylelint-config-twbs-bootstrap) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/twbs/stylelint-config-twbs-bootstrap/releases)
- [Commits](https://github.com/twbs/stylelint-config-twbs-bootstrap/compare/v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: stylelint-config-twbs-bootstrap
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-20 17:05:29 +03:00
dependabot[bot] 7218c3e3be Bump @rollup/plugin-node-resolve from 13.0.0 to 13.0.2 (#34540)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 13.0.0 to 13.0.2.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/node-resolve-v13.0.2/packages/node-resolve)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-node-resolve"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-20 17:01:49 +03:00
dependabot[bot] 3f7476bd16 Bump @rollup/plugin-commonjs from 19.0.0 to 19.0.1 (#34539)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 19.0.0 to 19.0.1.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v19.0.1/packages/commonjs)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-20 16:54:38 +03:00
dependabot[bot] ed9850cbfb Bump eslint from 7.30.0 to 7.31.0 (#34538)
Bumps [eslint](https://github.com/eslint/eslint) from 7.30.0 to 7.31.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.30.0...v7.31.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-20 16:50:04 +03:00
dependabot[bot] 95e5b76d83 Bump rollup from 2.53.1 to 2.53.2 (#34537)
Bumps [rollup](https://github.com/rollup/rollup) from 2.53.1 to 2.53.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.53.1...v2.53.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-20 16:41:59 +03:00
XhmikosR 2721f6042b CI: make use of the actions/setup-node's cache option (#34453) 2021-07-19 18:38:49 +03:00
GeoSot dfafb9a60c modal: change data-dismiss so that it can be outside of a modal using bs-target (#33403)
* change data-dismiss, so can be outside modal, using a bs-target

* Update site/content/docs/5.0/components/modal.md

Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
2021-07-19 16:56:05 +03:00
craftwerk 06a1ca5623 Add new offcanvas support to navbars
Co-Authored-By: craftwerk <1193597+craftwerk@users.noreply.github.com>
2021-07-17 20:33:34 -07:00
Mark Otto ed3f2d46c4 Bump bundlewatch 2021-07-16 15:11:40 -07:00
Mark Otto aee169d192 Split .vr from stacks as a new helper 2021-07-16 15:11:40 -07:00
Mark Otto 2bc6de1f5e Add hstack and vstack helpers 2021-07-16 15:11:40 -07:00
XhmikosR 5c1691ac3a Regenerate package-lock.json (#34499) 2021-07-15 00:10:22 +03:00
Gaël Poupard 054f8781a8 fix(forms): prevent color control from shrinking (#34445)
* fix(forms): prevent color control from shrinking

Fixes #34195

Setting `min-width` alongside `max-width` wouldn't make any sense IMHO. The only concern I have is whether we should introduce a dedicated variable for said width?

* feat(forms): introduce ` $form-color-width`

* feat(forms): use ` $form-color-width`

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-14 09:19:28 +03:00
GeoSot e45b25e08e util.js: remove Selector.findOne() dependency (#34441)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-14 09:08:10 +03:00
dependabot[bot] 2b297b977a Bump rtlcss from 3.2.1 to 3.3.0 (#34490)
Bumps [rtlcss](https://github.com/MohammadYounes/rtlcss) from 3.2.1 to 3.3.0.
- [Release notes](https://github.com/MohammadYounes/rtlcss/releases)
- [Changelog](https://github.com/MohammadYounes/rtlcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/MohammadYounes/rtlcss/compare/v3.2.1...v3.3.0)

---
updated-dependencies:
- dependency-name: rtlcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-14 08:55:08 +03:00
dependabot[bot] 96db1780e1 Bump nodemon from 2.0.9 to 2.0.12 (#34489)
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.9 to 2.0.12.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.9...v2.0.12)

---
updated-dependencies:
- dependency-name: nodemon
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-14 08:47:25 +03:00
dependabot[bot] f50ce6179d Bump karma-jasmine-html-reporter from 1.6.0 to 1.7.0 (#34492)
Bumps [karma-jasmine-html-reporter](https://github.com/dfederm/karma-jasmine-html-reporter) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/dfederm/karma-jasmine-html-reporter/releases)
- [Commits](https://github.com/dfederm/karma-jasmine-html-reporter/compare/v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: karma-jasmine-html-reporter
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-14 08:34:25 +03:00
dependabot[bot] 3f3f8dddb8 Bump coverallsapp/github-action from 1.1.2 to 1.1.3 (#34491)
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v1.1.2...1.1.3)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-14 08:29:28 +03:00
dependabot[bot] da524f6b7d Bump rollup from 2.52.8 to 2.53.1 (#34493)
Bumps [rollup](https://github.com/rollup/rollup) from 2.52.8 to 2.53.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.52.8...v2.53.1)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-14 08:24:01 +03:00
Eric Horstmanshof 145aaee2a7 Added new Offcanvas file to import example
Added the new B5 Offcanvas component in the import examples.
2021-07-12 13:49:42 -07:00
XhmikosR 452e2f0689 npm scripts: add aggregate-output (#32907) 2021-07-08 09:55:20 +03:00
Mark Otto 0fc117cec5 Add null $card-box-shadow variable (#34440)
Fixes #34421

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-08 09:44:55 +03:00
Kijima Daigo f254047d92 CONTRIBUTING.md: fix broken link to README.md (#34389) 2021-07-08 08:49:41 +03:00
dependabot[bot] 0e165e58f5 Bump sass from 1.35.1 to 1.35.2 (#34452)
Bumps [sass](https://github.com/sass/dart-sass) from 1.35.1 to 1.35.2.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.35.1...1.35.2)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-08 08:41:19 +03:00
dependabot[bot] 7987bfdf80 Bump rollup from 2.52.6 to 2.52.8 (#34451)
Bumps [rollup](https://github.com/rollup/rollup) from 2.52.6 to 2.52.8.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.52.6...v2.52.8)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-08 08:33:40 +03:00
dependabot[bot] 8fd62c4fc5 Bump eslint from 7.29.0 to 7.30.0 (#34430)
Bumps [eslint](https://github.com/eslint/eslint) from 7.29.0 to 7.30.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.29.0...v7.30.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-08 08:30:20 +03:00
dependabot[bot] 0132b77638 Bump hugo-bin from 0.72.5 to 0.73.0 (#34429)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.72.5 to 0.73.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.72.5...v0.73.0)

---
updated-dependencies:
- dependency-name: hugo-bin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-08 08:26:36 +03:00
Mark Otto 47bbd945f0 Add maps for all colors, document how to extend color utilities (#32319)
* Add maps for all colors, document how to extend color utilities

* Updates to make this more functional for v5

- Moves color maps into _variables.scss for now (felt weird to split them out when the variables are there)
- Adds a new function, map-merge-multiple(), and updates docs that reference combo-map
- Updates code snippet and docs guidance about how to extend the color utils to handle this

* Update site/content/docs/5.0/customize/color.md

Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-06 14:31:20 -07:00
acyoush 66ce774e2a Fix site params variable on themes section 2021-07-06 11:25:12 -10:00
Mark Otto 359ed099e5 Add horizontal collapse support 2021-07-05 17:22:29 -10:00
dependabot[bot] 8bc89b273d Bump hugo-bin from 0.72.4 to 0.72.5 (#34394)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.72.4 to 0.72.5.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.72.4...v0.72.5)

---
updated-dependencies:
- dependency-name: hugo-bin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-01 16:46:19 +03:00
dependabot[bot] f323fad915 Bump nodemon from 2.0.7 to 2.0.9 (#34393)
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.7 to 2.0.9.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.7...v2.0.9)

---
updated-dependencies:
- dependency-name: nodemon
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-01 14:18:33 +03:00
dependabot[bot] 0c7018a954 Bump rollup from 2.52.3 to 2.52.6 (#34392)
Bumps [rollup](https://github.com/rollup/rollup) from 2.52.3 to 2.52.6.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.52.3...v2.52.6)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-01 14:13:15 +03:00
Mark Otto 696996dd4f Add dynamic, live alerts example to docs (#33866) 2021-06-29 18:46:25 +03:00
Jeremy Jackson d314466a4d Accept argument of different types in the getInstance method (#34333) 2021-06-29 17:45:45 +03:00
dependabot[bot] b00355de4b Bump hugo-bin from 0.72.1 to 0.72.4 (#34376)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.72.1 to 0.72.4.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.72.1...v0.72.4)

---
updated-dependencies:
- dependency-name: hugo-bin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-29 17:32:52 +03:00
dependabot[bot] d979dcf853 Bump rtlcss from 3.2.0 to 3.2.1 (#34372)
Bumps [rtlcss](https://github.com/MohammadYounes/rtlcss) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/MohammadYounes/rtlcss/releases)
- [Changelog](https://github.com/MohammadYounes/rtlcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/MohammadYounes/rtlcss/compare/3.2.0...v3.2.1)

---
updated-dependencies:
- dependency-name: rtlcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-29 17:28:51 +03:00
dependabot[bot] cb187599ea Bump linkinator from 2.13.6 to 2.14.0 (#34371)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 2.13.6 to 2.14.0.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v2.13.6...v2.14.0)

---
updated-dependencies:
- dependency-name: linkinator
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-29 17:23:52 +03:00
dependabot[bot] 921d8aea68 Bump rollup from 2.52.2 to 2.52.3 (#34370)
Bumps [rollup](https://github.com/rollup/rollup) from 2.52.2 to 2.52.3.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.52.2...v2.52.3)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-29 17:18:14 +03:00
GeoSot 70dd7f6ff5 Changes to Alert component to match the others (#33402)
Alert.js: Refactor code to match the other components
* Use this._element
* Remove handleDismiss method and keep its functionality on event
* Change JqueryInterface to be more generic
* Correct docs to be aligned with code, and add undocumented functionality
* Update alerts.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-28 16:34:47 +03:00
Mark Otto 45d26de728 Variablize backdrop for modal and offcanvas 2021-06-25 13:41:15 -07:00
Christian Oliff 088ef62982 Remove unneeded .text-white-50 CSS rule (#34336)
This is already part of Bootstrap 4.6 and 5.0.
2021-06-24 10:51:17 +03:00
Mark Otto 653476ec98 Fixes #34187 2021-06-23 20:37:07 -07:00
Mark Otto 77d4143674 Bump bundlewatch bundle 2021-06-22 19:53:24 -07:00
Mark Otto dd824f2d3e v5.1: Add optional CSS grid (#31813) 2021-06-22 19:51:16 -07:00
Rohit Sharma 5967ebd906 Use the switch statement instead of if 2021-06-22 19:50:37 -07:00
GeoSot f94f497ad5 ScrollSpy: Make Proper use of the SelectorEngine
* avoid extra work, creating ids
* simplify selectors and constrain search inside `config.target`
2021-06-22 19:50:21 -07:00
harishhalodoc a816615efa Add utility classes for opacity (#33781)
* Add responsive utility classes for opacity

- fix for #33483

* remove responsive opacity utils as it has impact on bootstrap.css bundle size

* Update opacity.md

* Update site/content/docs/5.0/utilities/opacity.md

Co-authored-by: Mark Otto <otto@github.com>

* Update site/content/docs/5.0/utilities/opacity.md

Co-authored-by: Mark Otto <otto@github.com>

Co-authored-by: Harish <halodoc@ip-192-168-1-101.ap-southeast-1.compute.internal>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <otto@github.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
Co-authored-by: alpadev <2838324+alpadev@users.noreply.github.com>
2021-06-22 19:20:01 -07:00
Mark Otto 2d8da8bcb0 Add four new snippet examples (#33882)
* Add four new snippet examples

- Dropdowns
- Footers
- List groups
- Modals

* Fix HTML linter errors

* more linter
2021-06-22 19:15:02 -07:00
XhmikosR 688bce4fa6 Release v5.0.2 (#34276)
* Bump version to v5.0.2.

* Dist
2021-06-22 21:29:16 +03:00
Mark Otto 16d5041a76 Fix another Sass division (#34332)
* Fix another Sass division

* Revert the percentage division in the mixins for accuracy

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-22 20:39:13 +03:00
alpadev 4927388197 Register only one DOMContentLoaded event listener in onDOMContentLoaded (#34158)
* refactor: reuse one DOMContentLoaded event listener in onDOMContentLoaded function

Instead of adding an event listener everytime the utility function is called, cache the callbacks and execute them all at once.

* refactor: drop iife for onDOMContentLoaded

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-22 20:19:55 +03:00
dependabot[bot] 56b000474c Bump sass from 1.32.13 to 1.35.1 (#34285)
* Bump sass from 1.32.13 to 1.35.1

Bumps [sass](https://github.com/sass/dart-sass) from 1.32.13 to 1.35.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.32.13...1.35.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update package.json

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-22 20:17:34 +03:00
Mark Otto c11c3a7e19 Update rfs to v9.0.4. 2021-06-22 20:11:39 +03:00
Mark Otto ed13d01559 Update the divide() function 2021-06-22 20:11:39 +03:00
alpadev 290b9ee2cd fix(carousel): arrow keys break animation if carousel sliding (#34307) 2021-06-22 13:11:03 +03:00
dependabot[bot] 8be957b32b Bump @babel/preset-env from 7.14.5 to 7.14.7 (#34326)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.5 to 7.14.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.7/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-22 12:46:19 +03:00
XhmikosR 0fa84e8c8e build/vnu-jar.js: clean up ignores (#34279) 2021-06-22 12:42:49 +03:00
dependabot[bot] 58a373146b Bump rollup from 2.52.1 to 2.52.2 (#34325)
Bumps [rollup](https://github.com/rollup/rollup) from 2.52.1 to 2.52.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.52.1...v2.52.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-22 12:41:32 +03:00
dependabot[bot] 15c040a32a Bump eslint from 7.28.0 to 7.29.0 (#34324)
Bumps [eslint](https://github.com/eslint/eslint) from 7.28.0 to 7.29.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.28.0...v7.29.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-22 12:34:54 +03:00
dependabot[bot] 40373eb773 Bump hugo-bin from 0.71.1 to 0.72.1 (#34327)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.71.1 to 0.72.1.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.71.1...v0.72.1)

---
updated-dependencies:
- dependency-name: hugo-bin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-22 12:31:29 +03:00
Mark Otto 34db122ecc Small typos, closes #34249 2021-06-19 16:30:31 -07:00
dependabot[bot] d16a799217 Bump rollup from 2.51.2 to 2.52.1 (#34288)
Bumps [rollup](https://github.com/rollup/rollup) from 2.51.2 to 2.52.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.51.2...v2.52.1)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-18 09:14:44 +03:00
dependabot[bot] c6d6156e42 Bump postcss from 8.3.4 to 8.3.5 (#34287)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.4 to 8.3.5.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.4...8.3.5)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-18 09:08:48 +03:00
dependabot[bot] 9c1bc2f041 Bump globby from 11.0.3 to 11.0.4 (#34286)
Bumps [globby](https://github.com/sindresorhus/globby) from 11.0.3 to 11.0.4.
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v11.0.3...v11.0.4)

---
updated-dependencies:
- dependency-name: globby
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-18 09:02:46 +03:00
Mark Otto bef9ec8898 Fix lingering Sass math (#34281) 2021-06-17 19:15:59 +03:00
Mark Otto 543d2219c4 Remove a leftover sass:math module call (#34280) 2021-06-17 18:38:54 +03:00
alpadev d62ba935ef Fix carousel buttons (#34266)
* test(carousel): add test to check if next/prev button work as intended

* fix(carousel): merge passed config with instance config in carouselInterface
2021-06-16 07:48:23 +03:00
Matt Dufresne 9485172017 fix error in javascript example under Asynchronous functions and transitions section 2021-06-15 10:50:20 -07:00
dependabot[bot] 2b2183a96e Bump @babel/core from 7.14.5 to 7.14.6 (#34262)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.5 to 7.14.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.6/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-15 17:39:57 +03:00
dependabot[bot] a47c055a6f Bump postcss from 8.3.3 to 8.3.4 (#34260)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.3 to 8.3.4.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.3...8.3.4)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-15 17:29:25 +03:00
aphel 285ff5ebf9 querySelector will only select the first element. Adjust to QuerySelectorAll 2021-06-14 18:50:02 -07:00
Mark Otto 2f734af472 Don't set auto margin on offcanvas close 2021-06-14 18:40:14 -07:00
Mark Otto 5be3550d49 Add important to utilities, mention it's usage and global variable 2021-06-14 18:38:29 -07:00
Mark Otto f30066cb8a Document the change to breakpoint mixins (#34251)
* Document the change to breakpoint mixins

* Update migration.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-14 10:44:56 -07:00
XhmikosR 9ef62c3ea8 Replace Freenode with Libera.Chat in the remaining files (#34250) 2021-06-14 20:12:10 +03:00
XhmikosR 378660674e Update devDependencies
* @babel/cli                       ^7.14.3  →  ^7.14.5
* @babel/core                      ^7.14.3  →  ^7.14.5
* @babel/preset-env                ^7.14.4  →  ^7.14.5
* karma                             ^6.3.3  →   ^6.3.4
* postcss                           ^8.3.0  →   ^8.3.3
* rollup                           ^2.51.1  →  ^2.51.2
* stylelint-config-twbs-bootstrap   ^2.2.0  →   ^2.2.1
* vnu-jar                           21.4.9  →  21.6.11
2021-06-14 09:36:09 -07:00
Mark Otto be17444756 Replace / division with multiplication and custom divide() function (#34245)
* Convert bulk of division to multiplication

* Use custom divide() function instead of Dart Sass math module for greater compatibility

* Apply suggestions from code review

* Fix functions
2021-06-14 09:35:30 -07:00
Julien Déramond e9da490e51 docs(style): fix display of nested <ul><li> (#34223) 2021-06-14 08:45:13 +03:00
Szymon Wiszczuk 7951eedbc6 fix(docs): update docs to match the newest modal-open removal (#34239)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-14 08:43:35 +03:00
Marius Steffens f826331458 Update tooltips.md (#34222)
Update method names in the options table from old jQuery API to new Bootstrap 5 API
2021-06-14 08:35:58 +03:00
Luke Ingalls 95bc724b9c docs: update overview.md to fix typo 2021-06-13 19:36:25 -07:00
Laussel Loïc 9ac65855c4 fix accessibility issue on sidebars example (#34214) 2021-06-13 08:12:22 +03:00
XhmikosR b613c8dbb6 Update devDependencies (#34206)
* eslint                   ^7.27.0  →  ^7.28.0
* karma                     ^6.3.2  →   ^6.3.3
* karma-firefox-launcher    ^2.1.0  →   ^2.1.1
* rollup                   ^2.50.5  →  ^2.51.1
2021-06-08 08:51:15 +03:00
XhmikosR 232a40a5f1 Improve vnu-jar.js (#34075)
* switch to `execFile` for the java version command
* simplify our ignores and removed no longer needed ones
* remove `--no-langdetect` since it doesn't seem to trigger any issues any more
2021-06-08 08:44:51 +03:00
Eelke van den Bos 7968a074a5 docs: update dropdowns.md to reflect the correct version (#34180)
* Update dropdowns.md to reflect correct version

* Clarify content, drop the reference to versions

* Update dropdowns.md

Co-authored-by: Mark Otto <otto@github.com>
2021-06-07 12:44:36 -07:00
Eduardo Allegrini ca43fa8892 docs: update migration.md to fix a typo 2021-06-07 12:29:25 -07:00
GeoSot cb47b8c964 Refactor scrollbar.js to be used as a Class (#33947) 2021-06-06 09:26:36 +03:00
Gaël Poupard 08139c2280 docs(customize): missed explanations for overrides (#34179)
Closes #34176

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-03 19:22:47 +03:00
Anal-Retentive Squirrel Hunter f2b47e1c8a Allow individual grid classes to override .row-cols (#33621) 2021-06-03 19:18:00 +03:00
Joel Johnson f14d1a4c17 Add positioned badges example to docs (#34143)
* Update documentation for badges

* Removes useless changes, as well as fixes an example

* Fixes some text with a badge example

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2021-06-03 19:09:13 +03:00
Gaël Poupard dbda13d5ef fix(forms): unitless line-height for floating labels (#34161)
Co-authored-by: Mark Otto <markd.otto@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-03 19:02:46 +03:00
GeoSot c98657b830 Add getOrCreateInstance method in base-component (#33276)
Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-03 18:53:27 +03:00
alpadev 4a5029ea29 Fix handling of transitionend events dispatched by nested elements(#33845)
Fix handling of transitionend events dispatched by nested elements
Properly handle events from nested elements

Change `emulateTransitionEnd` to `executeAfterTransition` &&
2021-06-03 14:44:16 +03:00
Rajesh Kumar 071a288d39 Placeholder changes to input value in readonly input. (#34040)
* placeholder changes to input value

* Fix content and add value to readOnly input

* add value in readonly input

* Update site/content/docs/5.0/forms/form-control.md

Co-authored-by: Rajesh Kumar <https://github.com/rajesh2kumar96>
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
Co-authored-by: Mark Otto <otto@github.com>
2021-06-02 23:14:10 -07:00
Gaël Poupard 46045b4a9b img in horizontal card (#34160)
* docs(cards): img in horizontal card

Closes #34145 

Simply adds `img-fluid` and `rounded-start` classes to horizontal card example to ensure copy-pasting from the docs matches the expectation.

* Update site/content/docs/5.0/components/card.md

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2021-06-02 23:08:29 -07:00
Breno Reis c0d21e1b3d Sets the correct color for popover header bottom border 2021-06-02 23:08:00 -07:00
王赛 9c7f3bed71 add Bootstrap 5 Simplified Chinese translation 2021-06-02 23:07:33 -07:00
Anirvan Chatterjee 7ec9d8df52 Fix typo ("theses"→ "these") 2021-06-02 22:21:27 -07:00
XhmikosR 7d9adb702d Regenerate package-lock.json to flatten the deps tree (#34157) 2021-06-01 13:24:26 +03:00
dependabot[bot] cec7618020 Bump @babel/preset-env from 7.14.2 to 7.14.4 (#34154)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.2 to 7.14.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.4/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-01 13:13:26 +03:00
dependabot[bot] 08773aba35 Bump rollup from 2.50.0 to 2.50.5 (#34155)
Bumps [rollup](https://github.com/rollup/rollup) from 2.50.0 to 2.50.5.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.50.0...v2.50.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-01 13:09:32 +03:00
dependabot[bot] f3f0b316a1 Bump autoprefixer from 10.2.5 to 10.2.6 (#34153)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.2.5 to 10.2.6.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.2.5...10.2.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-01 13:05:28 +03:00
dependabot[bot] 0612d3169e Bump eslint-plugin-import from 2.23.3 to 2.23.4 (#34156)
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.23.3 to 2.23.4.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.23.3...v2.23.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 13:00:58 +03:00
Ryan Weaver 0cb70e214f Changing Backdrop rootElement to default to a string (#34092)
The current config can cause the "body" to become stale. Specifically,
if the entire body element is swapped out for a new body element, then
the backdrop will continue to append itself to the original body element,
since it's stored in memory as a reference on this object.

This also no longer allows an explicit null to be passed to Backdrop's rootElement

This still accomplishes the laziness of "not finding the rootElement
until the Backdrop is created" to avoid problems of the JavaScript
being included inside <head> (so, before body is available).
2021-05-31 12:35:59 +03:00
dependabot[bot] e818c7cd5d Bump ws from 7.4.5 to 7.4.6 (#34136)
Bumps [ws](https://github.com/websockets/ws) from 7.4.5 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.5...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-29 09:22:26 +03:00
Simon Ihmig 649c2bb0bf Add missing transition to .form-select (#34034)
A selectbox is styled in a very similar way as an input (`.form-control`), including border-color and box-shadow. So it can be assumed it should apply the same CSS transition for these properties when focused, but this was missing.

Co-authored-by: alpadev <2838324+alpadev@users.noreply.github.com>
2021-05-28 09:20:31 +02:00
Andrea Sudharta f9e3d01f30 corrected link to text alignment docs (#34119)
Co-authored-by: alpadev <2838324+alpadev@users.noreply.github.com>
2021-05-28 09:16:41 +02:00
Gaël Poupard fd985d3732 fix(tables): decouple table-bg and table-accent-bg (#34048)
Co-authored-by: alpadev <2838324+alpadev@users.noreply.github.com>
2021-05-28 09:12:40 +02:00
Gaël Poupard 57205e3d8e fix(dropdowns): RTL for .dropdown-menu-* (#34124) 2021-05-27 17:36:32 +03:00
GeoSot 544d9ac3cf Change element.parentNode.removeChild(element) to element.remove() (#34071) 2021-05-25 18:30:38 +03:00
dependabot[bot] 69a9b87945 Bump rollup from 2.48.0 to 2.50.0 (#34108)
Bumps [rollup](https://github.com/rollup/rollup) from 2.48.0 to 2.50.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.48.0...v2.50.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 17:52:27 +03:00
dependabot[bot] ff38727bb0 Bump rtlcss from 3.1.2 to 3.2.0 (#34105)
Bumps [rtlcss](https://github.com/MohammadYounes/rtlcss) from 3.1.2 to 3.2.0.
- [Release notes](https://github.com/MohammadYounes/rtlcss/releases)
- [Changelog](https://github.com/MohammadYounes/rtlcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/MohammadYounes/rtlcss/compare/3.1.2...3.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 16:14:43 +03:00
XhmikosR 2b6f6cd092 Update Hugo config and sitemap.xml (#34074) 2021-05-25 08:32:27 +03:00
XhmikosR f505e5779c Delete FUNDING.yml (#34073) 2021-05-25 08:31:53 +03:00
Gaël Poupard bdde9b50a6 Fix x-paddings for select (with floating label, and in Firefox) (#34008) 2021-05-25 08:31:30 +03:00
hugonun 993b533dc6 Changing HTTP to HTTPS (#34090) 2021-05-25 08:28:27 +03:00
Gaël Poupard 50cf7f48cc Handle complex expressions in add() & subtract() (#34047) 2021-05-25 08:23:41 +03:00
alpadev b513a19003 Fix prevented show event disables modals with fade class from being displayed again (#34085)
Fix modal, in case is faded, a prevented show event can cause show method to not  be executed again.
2021-05-24 18:52:36 +03:00
dependabot[bot] 136665903b Bump eslint from 7.26.0 to 7.27.0 (#34080)
Bumps [eslint](https://github.com/eslint/eslint) from 7.26.0 to 7.27.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.26.0...v7.27.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-22 14:29:59 +03:00
dependabot[bot] b046677412 Bump eslint-plugin-import from 2.23.2 to 2.23.3 (#34078)
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.23.2 to 2.23.3.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.23.2...v2.23.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-22 14:28:59 +03:00
alpadev b39b665072 Automatically select an item in the dropdown when using arrow keys (#34052) 2021-05-22 10:58:52 +03:00
Mark Otto 8033975548 Document how to make utilities responsive using the API (#34062) 2021-05-22 10:51:30 +03:00
GeoSot e06e6dfe53 fix test of #34014 (#34070)
Fixes regression of https://github.com/twbs/bootstrap/commit/a2b5901efc6de12bb828f8dda118ddccbcd545cf breaking the test runner because it would wipe document.body.
2021-05-22 02:54:32 +02:00
Ryan Weaver a2b5901efc Fix bug where backdrop calls method on null if it is already removed from the body (#34014)
Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
2021-05-22 01:16:05 +03:00
dependabot[bot] d64466a248 Bump postcss from 8.2.15 to 8.3.0 (#34056)
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.15 to 8.3.0.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.15...8.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-21 08:49:49 +03:00
midzer 0a4219a0b8 Replace freenode with libera IRC server (#34050) 2021-05-21 08:08:04 +03:00
GeoSot 55a0f9af27 fix wrong comment text for tooltip (#34044) 2021-05-20 17:46:43 +03:00
Ryan Berliner 4ac711b5b4 Refactor isVisible helper, fixing false positives from deep nesting or alternate means (#33960) 2021-05-20 16:50:53 +03:00
GeoSot 79c3bf47bc Add Tests on scrollbar.js & better handling if a style property doesn't exists (#33948)
* scrollbar.js:
add some tests
transfer test from modal.spec. to scrollbar.spec
proper handling if style property doesn't exist
2021-05-20 16:29:04 +03:00
GeoSot 9e4f87ae8f Allow use of dispose/hide methods on Tooltip & Popover from jQueryInterface, when component does not exists. (#33371) 2021-05-20 16:16:55 +03:00
Mark Otto de0b797ab2 Remove FA for time being 2021-05-19 13:16:23 -07:00
pu-master 8aa02d8801 Update button-variant mixin to add missing space. 2021-05-19 13:06:24 -07:00
Jason Sperske a44f3f47cb Adjusted z-index to cover "copy" buttons (#34018)
The copy to clipboard buttons have a `z-index:10` while the toasts were styled to have a `z-index:5" causing them to appear under the button.
2021-05-19 07:54:21 +03:00
dependabot[bot] 4509d2dc59 Bump rollup from 2.47.0 to 2.48.0 (#34022) 2021-05-19 04:49:15 +00:00
dependabot[bot] 9f95b08969 Bump eslint-plugin-import from 2.22.1 to 2.23.2 (#34023) 2021-05-18 23:11:13 +00:00
GeoSot df72a21fa8 Add getNextActiveElement helper function to utils, replacing custom implementation through components (#33608) 2021-05-19 01:23:52 +03:00
dependabot[bot] 372890b67b Bump @babel/cli from 7.13.16 to 7.14.3 (#34025)
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.13.16 to 7.14.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.3/packages/babel-cli)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-18 13:55:18 +03:00
dependabot[bot] ff60b40c56 Bump @babel/core from 7.14.2 to 7.14.3 (#34024)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.2 to 7.14.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.3/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-18 13:46:37 +03:00
GeoSot 2757fbe28e Reset inside a Dialog does not work if data-dismiss="modal" is set (#33928) 2021-05-18 09:26:22 +03:00
Rohit Sharma 153cf3a235 Don't add empty content holder when there is no content available (#33982)
* Remove content holder when there is no content

* Add tests to check the removal of header/content

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-18 09:02:39 +03:00
Gaël Poupard 0b2d20b975 docs(font-stack): drop BlinkMacSystemFont (#34009) 2021-05-18 08:48:43 +03:00
Gaël Poupard 9f678d6a5d docs(examples): Dashboard improvements (#34007) 2021-05-18 08:47:09 +03:00
Gaël Poupard 83bcc3c00f docs(cheatsheet): fix JS errors in setActiveItem() (#34011) 2021-05-18 08:31:15 +03:00
XhmikosR 58b1be927f Release v5.0.1 (#33972)
* Bump version to 5.0.1.

* Dist
2021-05-13 19:22:20 +03:00
GeoSot 130a5ba1df remove modal css override 2021-05-13 08:55:28 -07:00
GeoSot 6e1c9096f0 Move get element functionality to a helper (#33327)
Looking around on js components I found out many checks, different expressed but with same purpose.
Some of them are trying to parse string to element, others, jQuery element to js simple nodeElement etc

With this Pr, I am trying to give a standard way to parse an element

So this pr:

* Creates `getElement` helper that tries to parse an argument to element or null
* Changes `isElement` to make  explicit checks and return Boolean 
* fixes tests deficiencies
2021-05-13 18:17:20 +03:00
XhmikosR e376142d85 Update devDependencies (#33970)
* @babel/core             ^7.14.0  →   ^7.14.2
* @babel/preset-env       ^7.14.1  →   ^7.14.2
2021-05-13 17:34:41 +03:00
dependabot[bot] b196857299 Bump sass from 1.32.12 to 1.32.13 (#33969)
Bumps [sass](https://github.com/sass/dart-sass) from 1.32.12 to 1.32.13.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.32.12...1.32.13)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13 17:18:25 +03:00
Mark Otto 1e4b924aa9 Revert "use :read-only css selector instead [readonly] for consistency (#33642)" (#33961)
This reverts commit 17252bb3b0.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-13 17:01:46 +03:00
Gaël Poupard 7ed48943cf PRevent accent-bg from leaking in nested table (#33825)
Fixes #33817

Solution by  @Hintzmann in [#33817 (comment)](https://github.com/twbs/bootstrap/issues/33817#issuecomment-831718042).
2021-05-13 08:39:37 +03:00
Jatin Mehta d81d0a92d4 Validated inputs in .input-group shouldn't be behind sibling element (#33644)
Added z-index property for input-group only for invalid state
2021-05-13 08:39:01 +03:00
Mark Otto d80cb2241d Update Sidebars example to fix dividers and rendering on Chrome (#33859) 2021-05-12 21:34:34 -07:00
Mark Otto 3464d3caa2 Add Fathom Analytics to v5 docs (#33904)
* Add Fathom Analytics to v5 docs

* newline
2021-05-12 21:34:11 -07:00
GeoSot 9a9e22475c Popover/Tooltip: streamline config property to start with underscore (#33381) 2021-05-12 12:15:59 +03:00
dependabot[bot] 15d0105393 Bump @rollup/plugin-node-resolve from 11.2.1 to 13.0.0 (#33935)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 11.2.1 to 13.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v13.0.0/packages/node-resolve)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 13:27:06 +03:00
dependabot[bot] 5f2b49fa76 Bump @rollup/plugin-commonjs from 18.0.0 to 19.0.0 (#33932)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 18.0.0 to 19.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v19.0.0/packages/commonjs)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-11 13:11:40 +03:00
dependabot[bot] ac0ea51585 Bump karma-jasmine-html-reporter from 1.5.4 to 1.6.0 (#33937)
Bumps [karma-jasmine-html-reporter](https://github.com/dfederm/karma-jasmine-html-reporter) from 1.5.4 to 1.6.0.
- [Release notes](https://github.com/dfederm/karma-jasmine-html-reporter/releases)
- [Commits](https://github.com/dfederm/karma-jasmine-html-reporter/compare/v1.5.4...v1.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-11 13:05:52 +03:00
dependabot[bot] 93c5412864 Bump glob from 7.1.6 to 7.1.7 (#33936)
Bumps [glob](https://github.com/isaacs/node-glob) from 7.1.6 to 7.1.7.
- [Release notes](https://github.com/isaacs/node-glob/releases)
- [Changelog](https://github.com/isaacs/node-glob/blob/master/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v7.1.6...v7.1.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-11 13:00:52 +03:00
GeoSot d794e8970b Fix test warning for dropdown, without expectations (#33938)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-11 12:54:51 +03:00
dependabot[bot] bc0993d7f9 Bump eslint from 7.25.0 to 7.26.0 (#33933)
Bumps [eslint](https://github.com/eslint/eslint) from 7.25.0 to 7.26.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.25.0...v7.26.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-11 12:50:35 +03:00
dependabot[bot] d76507062f Bump postcss from 8.2.13 to 8.2.15 (#33931)
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.13 to 8.2.15.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.13...8.2.15)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 12:21:04 +03:00
alpadev a6dfaca605 docs: make tooltip anchor properly wrap the svg (#33901)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-11 11:38:48 +03:00
GeoSot 8d1b0fb779 Fix offcanvas test to expect the initial body overflow value (#33927)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-11 11:06:32 +03:00
GeoSot 19f95a3d8d Fix offcanvas example, using a custom trigger selector (#33926)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-11 10:58:45 +03:00
GeoSot 9fe36edf68 Extract static DATA_KEY & EVENT_KEY to base-component (#33635)
* Force each plugin that extends base-components to implement a static method `NAME()`
* Remove redundant `NAME` argument from 'Utils.defineJQueryPlugin' & fix test
2021-05-11 10:49:30 +03:00
alpadev 7647b8fe5b Fix: Click on input outside of dropdown-menu prevents dropdown from closing (#33920)
* test: add test if user clicks on input not contained within dropdown-menu

* fix: click on inputs that are not contained within dropdown-menu prevent dropdown from closing
2021-05-11 09:09:00 +03:00
GeoSot 03842b5f25 Refactor: move disposing properties into the base class (#33740)
Moves more functionality to `base-component`, transferring the responsibility of disposal to parent class.
Each component, dusting disposal, sets its protected properties to `null`. So the same can be done in one place for all children components .
2021-05-11 09:04:42 +03:00
Ben Lertlumprasertkul 052def4568 Remove potential false positive assertions (#33288)
* Remove potential false positive assertions

querySelector() returns null but

expect(document.querySelector('...')).toBeDefined()

tests that the value is not undefined

* Migrated assertions from .toBeDefined() to .not.toBeNull() for .getInstance() calls in tests

* Migrate offcanvas assertions from .toBeDefined() to .not.toBeNull() for .getInstance() call

* convert more cases to not.toBeNull assertions

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-11 08:45:57 +03:00
Ryan Berliner 9c3ab6557e Prevent toast autohiding if focusing or hovering (#33221) 2021-05-11 08:37:57 +03:00
XhmikosR c3ad760cd7 CI: remove Node.js 10 (#33923)
Node.js 10 is EOL since 30/04/2021
2021-05-11 08:34:21 +03:00
GeoSot 90b1a6907e Merge js-components 'transitionend' listener callbacks into one method 2021-05-10 13:59:55 -07:00
Mark Otto 9106d2a0ea Fix accidental directory rename from https://github.com/twbs/bootstrap/pull/33709 2021-05-10 13:57:26 -07:00
Mark H. Wilkinson b074e23ee4 Don't redefine $list-group-color in loop 2021-05-10 13:51:51 -07:00
Christian Oliff b110c0f0e2 Remove unneeded 'Edge Legacy' mention in Range docs 2021-05-10 13:49:16 -07:00
Tim Yang 18bc0d5d2b Fix "directoinal" typo in v5 migration docs 2021-05-10 13:48:34 -07:00
Nagarjun Bodduna 741fa589d0 Fix backdrop rootElement not initialized in Modal (#33853)
* Initialize default value of rootElement before using

* Remove redundant test | put rootElement tests together

Co-authored-by: GeoSot <geo.sotis@gmail.com>
2021-05-10 21:17:53 +03:00
Mustafa Mahdi 308ffba793 Add Arabic translation (#33709) 2021-05-10 21:16:19 +03:00
alpadev 75fe3244db docs: fix rtlcss stringmap configuration (#33915) 2021-05-10 21:13:23 +03:00
Nikolay Nizriukhin 488fd8afc5 Fix accordion link (#33896)
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2021-05-08 13:28:15 +01:00
Chris Blakley f12bc3316b Fix "no long require" to "no longer require" typo (#33879)
Fixed a typo in the Migration guide from "...we no long require..." to be "we no longer require..."
2021-05-08 13:24:39 +01:00
Jaume Sala e54d43cba3 Fix value (#33868) 2021-05-08 13:22:07 +01:00
alpadev 275b81e675 Update README.md for v5 (#33891) 2021-05-08 13:16:30 +01:00
Patrick H. Lauke 6ecf21870a Add accessible names to SVG icons in alerts (#33893) 2021-05-08 12:53:03 +01:00
jrn2778 eb73a2fc6f Fix unnecessary classes (#33850)
* Fix unnecessary classes

* Removed unnecessary div

Co-authored-by: Mark Otto <otto@github.com>

* Updated centered hero primary button classes

Co-authored-by: Mark Otto <otto@github.com>
2021-05-06 16:10:23 -07:00
Mark Otto 9ad9ca3537 Add examples section to Release Drafter (#33854) 2021-05-06 16:09:33 -07:00
Christian Oliff c9a606a894 update About text now that Bootstrap 5 is live
..and big congrats (and thanks) to all the Bootstrap team on v5 launching :-)
2021-05-06 16:04:26 -07:00
kyletsang 597da0fb59 Fix browser support versions in migration doc 2021-05-06 16:04:13 -07:00
Manabu Niseki f3403ef7b7 Fix typo in migration.md 2021-05-06 16:03:59 -07:00
Mark Otto e54654ead0 Fix typo in scrollspy docs (#33841)
* Fix typo

* remove duplicated "heading"

Co-authored-by: alpadev <2838324+alpadev@users.noreply.github.com>
2021-05-06 16:00:30 -07:00
Mark Otto 5e980ddd1c Remove extra t in Close button heading in Migration guide 2021-05-06 16:00:11 -07:00
XhmikosR bf09367486 Release v5.0.0 (#33647)
* Bump version to 5.0.0

* Fix npm tag

* Dist
2021-05-05 22:32:12 +03:00
Mark Otto 48ae5a7149 Rewrite migration guide (#33834)
- De-duplicates bulk of the content for a migration from v4 to v5
- Adds clear breaking labels where appropriate
- Leaves room for more guidance around doing the actual migration
2021-05-05 18:24:26 +03:00
Ajay Patel f0865727b7 refactor(docs): Added form file input variables (#33833)
File input belongs to this page in doc, added variables in last.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-05 17:53:49 +03:00
Kyle Tsang 1a54286bef Fix doc typo and Bootstrap Icons link (#33832)
* Fix typo in migration guide

* Fix Bootstrap Icons link in alerts page
2021-05-05 17:44:43 +03:00
Mark Otto e2df73fa9a Update migration guide for some v5 changes (#33829)
* Update migration guide for some v5 changes

* Update migration.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-05 06:42:06 +03:00
Patrick H. Lauke 1e6356ab43 Neutralise more words from placeholder text (#33731)
* Neutralise more words from placeholder text

Follow-up to https://github.com/twbs/bootstrap/pull/33726

* Match fullscreen modal to other sizes

* Ditch the lyrics outright

* Rewrite and tweak the blog example some

* update cheatsheet

* text utils copy too

* Fix the tbody validation error

* fix typo

Co-authored-by: Mark Otto <markd.otto@gmail.com>
Co-authored-by: Mark Otto <markdotto@gmail.com>
Co-authored-by: alpadev <2838324+alpadev@users.noreply.github.com>
Co-authored-by: alpadev <alpa.muc@gmail.com>
2021-05-04 19:31:37 -07:00
dependabot[bot] 6633845901 Bump eslint-config-xo from 0.35.0 to 0.36.0 (#33646)
* Bump eslint-config-xo from 0.35.0 to 0.36.0

Bumps [eslint-config-xo](https://github.com/xojs/eslint-config-xo) from 0.35.0 to 0.36.0.
- [Release notes](https://github.com/xojs/eslint-config-xo/releases)
- [Commits](https://github.com/xojs/eslint-config-xo/compare/v0.35.0...v0.36.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Adapt config

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-04 15:57:55 +03:00
Patrick H. Lauke cb38744cf7 Tweak toast docs (#33810)
* Tweak toast docs

- a few rewordings/tweaks
- add info about toasts with focusable/actionable controls (shouldn't autohide them)

* Update site/content/docs/5.0/components/toasts.md

Co-authored-by: Mark Otto <markd.otto@gmail.com>

* Update site/content/docs/5.0/components/toasts.md

Co-authored-by: Mark Otto <markd.otto@gmail.com>

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2021-05-04 15:37:45 +03:00
dependabot[bot] c2ff22532e Bump rollup from 2.46.0 to 2.47.0 (#33818)
Bumps [rollup](https://github.com/rollup/rollup) from 2.46.0 to 2.47.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.46.0...v2.47.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-04 15:36:50 +03:00
dependabot[bot] c090ea2f4f Bump @babel/preset-env from 7.14.0 to 7.14.1 (#33819)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.0 to 7.14.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.1/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-04 15:31:43 +03:00
dependabot[bot] 0519a3bb57 Bump eslint-plugin-unicorn from 30.0.0 to 31.0.0 (#33769)
* Bump eslint-plugin-unicorn from 30.0.0 to 31.0.0

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 30.0.0 to 31.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v30.0.0...v31.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Disable the `unicorn/prefer-module` rule

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-04 15:27:03 +03:00
dependabot[bot] ffca2fc2c6 Bump hugo-bin from 0.71.0 to 0.71.1 (#33820)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.71.0 to 0.71.1.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.71.0...v0.71.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 15:22:24 +03:00
dependabot[bot] 7ea6578773 Bump hugo-bin from 0.70.2 to 0.71.0 (#33806)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.70.2 to 0.71.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.70.2...v0.71.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-01 16:27:27 +03:00
XhmikosR b1c6b0baa9 Update devDependencies (#33805)
* @babel/core                      ^7.13.16  →  ^7.14.0
* @babel/preset-env                ^7.13.15  →  ^7.14.0
* stylelint-config-twbs-bootstrap    ^2.1.0  →   ^2.2.0
2021-05-01 14:57:41 +03:00
dependabot[bot] 2b151115d9 Bump rollup from 2.45.2 to 2.46.0 (#33799)
Bumps [rollup](https://github.com/rollup/rollup) from 2.45.2 to 2.46.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.45.2...v2.46.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-01 14:53:17 +03:00
dependabot[bot] 22a70b8e81 Bump clean-css-cli from 5.2.2 to 5.3.0 (#33800)
Bumps [clean-css-cli](https://github.com/jakubpawlowicz/clean-css-cli) from 5.2.2 to 5.3.0.
- [Release notes](https://github.com/jakubpawlowicz/clean-css-cli/releases)
- [Changelog](https://github.com/jakubpawlowicz/clean-css-cli/blob/master/History.md)
- [Commits](https://github.com/jakubpawlowicz/clean-css-cli/compare/v5.2.2...v5.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-01 14:47:54 +03:00
Luiz Orso 6a6db27586 Docs: adding intro about web accessibility (#33786) 2021-05-01 14:46:20 +03:00
dependabot[bot] b46af1ea79 Bump stylelint from 13.13.0 to 13.13.1 (#33802)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.13.0 to 13.13.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.13.0...13.13.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-01 14:44:46 +03:00
Patrick H. Lauke 8a175a5193 Update links to CCA, MQ5 prefers-reduced-motion, evergreen WCAG urls (#33797) 2021-05-01 14:39:41 +03:00
dependabot[bot] c265fbc3fd Bump sass from 1.32.11 to 1.32.12 (#33798)
Bumps [sass](https://github.com/sass/dart-sass) from 1.32.11 to 1.32.12.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.32.11...1.32.12)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-01 14:37:14 +03:00
Mark Otto 8854eb9f3d Add new team members to the Teams page (#33782)
* Add new team members to the Teams page

* Update core-team.yml
2021-04-30 14:38:58 -07:00
alpadev 7fe4e43634 accordion: fix border-top on Firefox (#33736)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-30 10:59:54 +03:00
Gaël Poupard 7bbf6d9ad3 Improve overall new examples' accessibility (#33772) 2021-04-30 01:19:07 +03:00
Abdullah Alaqeel 3bcb9e7df7 Improve RTL examples (#33097) 2021-04-27 15:38:44 +03:00
Rohit Sharma efd45eceb2 Add migration note for the autoClose option (#33770) 2021-04-27 15:29:07 +03:00
dependabot[bot] 15827359da Bump stylelint from 13.12.0 to 13.13.0 (#33765) 2021-04-27 12:08:30 +00:00
dependabot[bot] fbe5686a0e Bump eslint from 7.24.0 to 7.25.0 (#33768)
Bumps [eslint](https://github.com/eslint/eslint) from 7.24.0 to 7.25.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.24.0...v7.25.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-27 14:59:08 +03:00
Rohit Sharma 610155b74c Tooltip — doc updates (#33771) 2021-04-27 14:56:06 +03:00
dependabot[bot] fff55d7b4b Bump postcss from 8.2.10 to 8.2.13 (#33767)
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.10 to 8.2.13.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.10...8.2.13)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 14:55:02 +03:00
Pierre Grimaud bc667235dc docs: fix typo in list-group.md (#33756) 2021-04-27 07:10:43 +03:00
alpadev 94202cf7bf fix: change margin breakpoints for bootstrap logo on double header (#33759) 2021-04-27 06:52:59 +03:00
Mark Otto 0fa8cb0bd3 Add Bootstrap Icons to alerts docs (#33690)
* Add Bootstrap Icons to alerts docs

* Update site/content/docs/5.0/components/alerts.md

Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>

* Update alerts.md

Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-25 06:59:13 +03:00
Rohit Sharma 75b11bbedc Clarify boundary option description (#33735)
Mention that `boundary` option is specific to the preventOverflow  modifier only

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-25 06:58:08 +03:00
Rohit Sharma 0645fa9f1d Tooltip/Popover — Minor doc updates (#33733) 2021-04-25 06:56:30 +03:00
GeoSot d381820d16 Scrollbar: respect the initial body overflow value (#33706)
* add method to handle overflow on body element & tests
* replace duplicated code on modal/offcanvas tests
2021-04-25 06:50:16 +03:00
alpadev e2294ff090 Add missing test for clicking select option in a dropdown (#33734) 2021-04-25 06:45:08 +03:00
Mark Otto c25897b637 Replace modal and scrollspy placeholder content (#33726) 2021-04-23 14:58:32 +03:00
XhmikosR b3916ebdd4 JS tests: add Node.js 16 (#33720) 2021-04-22 13:51:03 +03:00
XhmikosR 3ebccc70c2 Regenerate package-lock.json to flatten deps (#33719) 2021-04-22 13:49:36 +03:00
dependabot[bot] d22407bd76 Bump hugo-bin from 0.70.0 to 0.70.2 (#33718)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.70.0 to 0.70.2.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.70.0...v0.70.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-22 07:32:15 +03:00
dependabot[bot] b401184bff Bump @babel/core from 7.13.15 to 7.13.16 (#33717)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.15 to 7.13.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.16/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-22 07:28:17 +03:00
dependabot[bot] b99f077b07 Bump @babel/cli from 7.13.14 to 7.13.16 (#33716)
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.13.14 to 7.13.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.16/packages/babel-cli)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-22 07:21:55 +03:00
Carson Sievert 2cbb0a941c Dropdown: support .dropdown-item wrapped in <li> tags (#33634)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-21 08:30:19 +03:00
dependabot[bot] 2e7141f049 Bump eslint-plugin-unicorn from 29.0.0 to 30.0.0 (#33700)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 29.0.0 to 30.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v29.0.0...v30.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-21 08:26:53 +03:00
dependabot[bot] f2d3b6ae27 Bump sass from 1.32.8 to 1.32.11 (#33699)
Bumps [sass](https://github.com/sass/dart-sass) from 1.32.8 to 1.32.11.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.32.8...1.32.11)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-21 08:22:16 +03:00
Rohit Sharma 4d973259f5 docs: fix the default value of Popper's boundary option (#33685)
`'scrollParent'` is no longer the default `boundary` value

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-21 08:15:22 +03:00
GeoSot 079f2cd90c Offcanvas.js: If scroll is allowed, should allow focus on other elements (#33677) 2021-04-20 08:32:52 +03:00
GeoSot 0bbe45cd97 Tab.js: Fixes on click handling (#33586)
* use prevent default only if triggered by anchor
* disable auto-initialization if trigger is disabled
2021-04-20 08:26:58 +03:00
Rohit Sharma b59b75bc55 Dropdown — Add option to make the dropdown menu clickable (#33389) 2021-04-20 08:19:57 +03:00
Rohit Sharma a22f4d3cfd Don't change the value for altBoundary option (#33684)
- Since bootstrap is not changing the default value of `elementContext`
  option, changing the value of `altBoundary` option is not needed for
any modifier in real

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-19 19:58:45 +03:00
iatek bb7a5602a0 Fixes #33686 typo in RTL docs 2021-04-19 09:05:33 -07:00
alpadev d67121db28 Fix regression for handling mouseenter/mouseleave events introduced by #33310 (#33679)
* test: update spec for sibling adjacent mouseenter/mouseleave events

there is a regression introduced by #33310 - this would have catched that

* fix: fixup regression for mouseenter/mouseleave events introduced by #33310

the old logic only worked for parent-child movement since it checked for the relatedTarget to contain the delegateTarget - this should be fixed with this

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-19 08:30:33 +03:00
GeoSot a9d7a62658 Use the backdrop util in offcanvas, enforcing consistency (#33545)
* respect /share modal's backdrop functionality, keeping consistency
* listen click events over backdrop (only) and trigger `hide()` without add/remove event tricks
* achieve to hide foreign open offcanvas instances without glitches `if (allReadyOpen && allReadyOpen !== target)`, in case another is going to be open, when user clicks on trigger button
2021-04-19 08:20:25 +03:00
XhmikosR df8131a1f8 Update anchor.js to v4.3.1. (#33668) 2021-04-19 07:52:09 +03:00
Rohit Sharma 87a8ba9a82 Change from preventOverflow to detectOverflow
- Since the link is for detectOverflow docs
2021-04-18 21:23:31 -07:00
Raaj Trambadia 574a4996f5 Fix typo 2021-04-18 21:22:53 -07:00
Mark Otto 9f2133fee3 Fixes signup form in Heroes example
Fixes #33660
2021-04-18 21:10:54 -07:00
GeoSot 6ea4dab142 modal.js: fix test for scrollbar (#33666)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-18 20:55:22 -07:00
Kohhee Peace aace863463 Fix Grid System docs (#33676)
* Fix Grid System docs

* Apply suggestions from code review

Co-authored-by: Mark Otto <otto@github.com>
2021-04-18 20:53:39 -07:00
alpadev 6d312b37c2 fix: clicking an item in navbar dropdown collapses the dropdown in firefox (#33643) 2021-04-18 09:01:23 +03:00
Rohit Sharma 7eadf73f03 Change toggle method to remove
Since the class `.show` must be removed
2021-04-18 08:47:50 +03:00
Rohit Sharma bce4684d34 Use context properties 2021-04-18 08:47:50 +03:00
Rohit Sharma 38a79ec64c Refactor dropdown's hide functionality 2021-04-18 08:47:50 +03:00
Rohit Sharma 7100a0da52 Apply positioning only when Popper is not used 2021-04-17 16:14:52 -07:00
Mark Otto d25920b182 Fix toggle between modals example 2021-04-17 16:08:58 -07:00
ghost_32 95aec47d21 Docs: Tried to fix the issue #33650 (#33664)
Prefixed the `aria-controls` with `list-` to match with `tabpanel`
ids in `Javascript behavior` example in `List Group Component`.
2021-04-17 14:40:43 -07:00
harishhalodoc 17252bb3b0 use :read-only css selector instead [readonly] for consistency (#33642)
There are 5 places where [readonly] selector is used. I have replaced with :read-only for consistency.

fix for https://github.com/twbs/bootstrap/issues/33101

Co-authored-by: Harish <halodoc@ip-192-168-43-211.ap-southeast-1.compute.internal>
2021-04-17 14:33:27 -07:00
Mona Brahmakshatriya 6fc74ebbbf fix: use list-group variable instead of alert (#33658)
Use $list-group-item-color-scale variable in list-group NOT $alert-color-scale
2021-04-17 14:23:56 -07:00
Carson Sievert 69f5c0130b Fix v5 regressions in tab dropdown functionality (#33626)
Scope selector to `dropdownElement` when adding active classes
2021-04-15 13:53:55 +03:00
Victor Massé f61a0218b3 Make accordion icon rotation more natural (#33292) 2021-04-14 13:51:44 -07:00
Peter Hartree cb24272544 Add example: Panels stay open (#33553)
* Add example: Panels stay open

* Set unique element IDs in the new example

* Update language

Co-authored-by: Mark Otto <markd.otto@gmail.com>
Co-authored-by: Mark Otto <otto@github.com>
2021-04-14 13:43:52 -07:00
Mark Otto 84b8eda5d6 Correct the heading for the States section 2021-04-14 13:29:47 -07:00
GeoSot 80085a12f6 Decouple BackDrop from modal (#32439)
* Create backdrop.js util

* revert breaking changes

remove PromiseTimout usage

revert class name

* one more test | change bundlewatch.config

* add config obj to backdrop helper | tests for rootElement | use transitionend helper

* Minor tweaks — Renaming

Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
2021-04-14 13:28:50 -07:00
Philip Wedemann 0122e020d6 Docs: Fix wrong dark attribute in Table - Vertical Alignment (#33597)
* Fix wrong dark attribute

* Remove the outer table completely

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2021-04-14 13:26:31 -07:00
GeoSot 0d440b0e14 Js: fix some tests 2021-04-14 13:25:44 -07:00
Carson 2120a02b3c Have $form-check-input-border's default derive from ($black instead of hard-coded black) 2021-04-14 13:25:03 -07:00
Gaël Poupard 4383ae0459 refactor(color-scheme): reduce complexity 2021-04-14 13:16:01 -07:00
dependabot[bot] 5a9440da9c Bump rollup from 2.45.1 to 2.45.2 (#33615)
Bumps [rollup](https://github.com/rollup/rollup) from 2.45.1 to 2.45.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.45.1...v2.45.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-14 15:20:33 +03:00
Geremia Taglialatela 6fe75df3aa Hide validation icons from multiple selects
Implementation provided in #33411 does not take into account that some
Operating Systems may display a vertical scrollbar in the multiple
select field

This implementation will hide the validation icons from multiple select
fields, just like Bootstrap 4 does.

Fix: #33591
2021-04-13 22:05:53 -07:00
alpadev db32b2380c fix: make EventHandler better handle mouseenter/mouseleave events (#33310)
* fix: make EventHandler better handle mouseenter/mouseleave events

* refactor: simplify custom events regex and move it to a variable
2021-04-13 06:25:58 +03:00
XhmikosR 49df4c89c5 Update devDependencies (#33590)
* @babel/core        ^7.13.14  →  ^7.13.15
* @babel/preset-env  ^7.13.12  →  ^7.13.15
* eslint              ^7.23.0  →   ^7.24.0
* postcss              ^8.2.9  →   ^8.2.10
* rollup              ^2.44.0  →   ^2.45.1
* vnu-jar              21.2.5  →    21.4.9
2021-04-13 06:20:37 +03:00
alpadev ad10f00d5e refactor: make static selectMenuItem method private (#33589) 2021-04-11 18:34:46 +03:00
GeoSot 566451230f Remove element event listeners through base component (#33429)
After some research, I found out that EventHandler saves all the custom events per element using namespace, and is capable of removing handlers using only the element and its namespace (`DATA_KEY`).

So, probably is better to utilize the base-component to do the same job.
2021-04-11 09:54:48 +03:00
Rohit Sharma bac0b0c899 Update tests to check for noop to be removed 2021-04-11 09:42:52 +03:00
Rohit Sharma 5f946d3a86 Dropdown — Don't use event delegation 2021-04-11 09:42:52 +03:00
Rohit Sharma b2bc159d72 Use cached noop function everywhere 2021-04-11 09:42:52 +03:00
GeoSot 7b7f4a5ced Decouple Modal's scrollbar functionality (#33245) 2021-04-11 09:37:59 +03:00
Mark Otto 2d2f5b3dfd Add color-scheme mixin 2021-04-10 09:39:31 -07:00
XhmikosR c864852135 docs: update clipboard.js to v2.0.8 (#33583) 2021-04-09 07:53:01 +03:00
XhmikosR 5acce5a519 footer: fix rel=noopener attribute (#33571)
There's no need to use `rel=noopener` without `target=_blank`, but otherwise, it should be used since it's a potential security issue.
2021-04-09 07:43:04 +03:00
Rohit Sharma 9bca1b5a8b Remove unnecessary data-bs-backdrop="static" (#33578)
Since the value for the `backdrop` option is available in the configuration object.
2021-04-08 08:20:21 +03:00
GeoSot 0795a778f2 Fix wrong carousel transformation, direction to order (#33499) 2021-04-07 08:29:31 +03:00
Mark Otto 800aa622d3 Improve responsiveness of Features examples 2021-04-06 21:51:38 -07:00
Danny Trunk 1de0d94130 Fixed wrong method name _getInstance
There is no _getInstance method, but there is a getInstance method
2021-04-06 21:51:01 -07:00
Mark Otto a398c500b8 Revert "Update look and feel of examples and copy buttons"
This reverts commit cdf56e0eef.
2021-04-06 21:03:27 -07:00
Mark Otto 0d1fec9aa8 Remove noopener from target _blank links 2021-04-06 19:37:58 -07:00
CFX 0c56749f13 Add equal column mixin (#32155) 2021-04-06 21:45:28 +03:00
GeoSot 317c2cd08e Omit getting data-attributes from toggle element 2021-04-06 18:43:43 +03:00
GeoSot 752b001b0a Simplify Modal config 2021-04-06 18:43:43 +03:00
GeoSot 0b34ff2fae Simplify ScrollSpy config (#33250) 2021-04-06 18:28:10 +03:00
dependabot[bot] 4fc9386696 Bump @popperjs/core from 2.9.1 to 2.9.2 (#33558)
* Bump @popperjs/core from 2.9.1 to 2.9.2

Bumps [@popperjs/core](https://github.com/popperjs/popper-core) from 2.9.1 to 2.9.2.
- [Release notes](https://github.com/popperjs/popper-core/releases)
- [Commits](https://github.com/popperjs/popper-core/compare/v2.9.1...v2.9.2)

Signed-off-by: dependabot[bot] <support@github.com>

* Update SRI

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-06 17:56:00 +03:00
dependabot[bot] 0ef09f2384 Bump postcss from 8.2.8 to 8.2.9 (#33557)
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.8 to 8.2.9.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.8...8.2.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-06 14:03:06 +03:00
Mark Otto cdf56e0eef Update look and feel of examples and copy buttons 2021-04-04 20:21:17 -07:00
Mark Otto 062ecf67b2 Spinner alignment changes 2021-04-04 20:08:15 -07:00
Mark Otto 056ad3ad95 Add offcanvas-top modifier (#33549) 2021-04-04 11:11:33 -07:00
Mark Otto 91a24e2b09 Vertically align offcanvas header components
Fixes #33460
2021-04-04 11:06:49 -07:00
Yuriy Gorbunov 28c275280e Update parcel.md 2021-04-04 10:42:55 -07:00
Geremia Taglialatela bfafabfd53 Fix validation feedback icon in select multiple
Validation feedback for `<select multiple>` should look like
`<textarea>`.

The previous implementation was placing the validation icon in the
middle of the select field together with the single select arrow, that
is not supposed to be part of this kind of inputs
2021-04-02 14:11:35 -07:00
Rohit Sharma 20cfbdff79 Add missing things in hide method of dropdown (#33451)
* Update `aria-expanded` attribute in `hide` method

* Remove empty mouseover listeners added for iOS
2021-04-01 21:51:55 +03:00
alpadev f36f834453 Fix dropdown escape propagation (#33479) 2021-04-01 21:44:04 +03:00
Mark Otto 6e7f1a9a34 Add new docs footer (#33453)
* Replace site footer with mega footer to link to various projects and community resources

* Fix broken HTML
2021-03-30 23:08:04 -07:00
Kyle Tsang 91fa809529 Make .nav-link color consistent when using buttons (#33478)
* Make .nav-link color consistent when using buttons

* Set $nav-link-hover-color to $link-hover-color as default
2021-03-30 23:07:00 -07:00
Mark Otto 90c9059784 Clarify docs accordion example (#33522) 2021-03-31 09:01:01 +03:00
John 69912cdfd7 The spacing margin side identifiers 's' and 'e' may be intuitive for many but explicitly helping users associate the abbreviations to 'start' and 'end' should help people migrate from version 4 with less friction 2021-03-30 18:41:54 -07:00
XhmikosR e82f50943a Regenerate package-lock.json (#33518) 2021-03-30 16:50:01 +03:00
dependabot[bot] 6628024102 Bump eslint from 7.22.0 to 7.23.0 (#33517)
Bumps [eslint](https://github.com/eslint/eslint) from 7.22.0 to 7.23.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.22.0...v7.23.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-30 16:30:44 +03:00
dependabot[bot] 412d512669 Bump rollup from 2.42.3 to 2.44.0 (#33514)
Bumps [rollup](https://github.com/rollup/rollup) from 2.42.3 to 2.44.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.42.3...v2.44.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-30 16:30:11 +03:00
dependabot[bot] fcd32432db Bump karma from 6.2.0 to 6.3.2 (#33516)
Bumps [karma](https://github.com/karma-runner/karma) from 6.2.0 to 6.3.2.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.2.0...v6.3.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-30 16:29:52 +03:00
dependabot[bot] 39b43d546e Bump @rollup/plugin-node-resolve from 11.2.0 to 11.2.1 (#33515)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 11.2.0 to 11.2.1.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v11.2.0...node-resolve-v11.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-30 16:29:06 +03:00
dependabot[bot] b0cbb2a0cb Bump @rollup/plugin-commonjs from 17.1.0 to 18.0.0 (#33513)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 17.1.0 to 18.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v17.1.0...commonjs-v18.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-30 16:09:56 +03:00
dependabot[bot] ba6b94fc87 Bump @rollup/plugin-replace from 2.4.1 to 2.4.2 (#33512)
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/replace-v2.4.1...replace-v2.4.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-30 16:05:21 +03:00
dependabot[bot] d5557d188b Bump @babel/cli from 7.13.10 to 7.13.14 (#33511) 2021-03-30 13:03:52 +00:00
dependabot[bot] 176914565e Bump @babel/core from 7.13.10 to 7.13.14 (#33510)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.10 to 7.13.14.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.14/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-30 15:48:41 +03:00
Rohit Sharma 5cc53a0ef0 Use template literals instead of concatenation (#33497) 2021-03-30 08:57:05 +03:00
GeoSot 8c3e6ebc6e Use our isDisabled util on dropdown (#33456) 2021-03-30 07:42:23 +03:00
Mark Otto 232e392c91 Make offcanvas example fully static (#33446) 2021-03-23 19:06:11 +02:00
XhmikosR 220139a89f Release v5.0.0-beta3 (#33439) 2021-03-23 18:26:54 +02:00
XhmikosR 69b9d638f8 offcanvas-navbar: add missing redirect (#33443) 2021-03-23 18:18:54 +02:00
Casey Holzer 16bc47da3c Allow data-toggle="dropdown" and form click events to bubble
* remove stopPropagation from button click event

* test for delegated click events

* ensure button children can open menu

* test to ensure clicking button opens the menu

* check current element and parents

* allow dropdown form click events to bubble
2021-03-23 15:56:28 +02:00
dependabot[bot] 9667438c1e Bump eslint-plugin-unicorn from 28.0.2 to 29.0.0 (#33435)
* Bump eslint-plugin-unicorn from 28.0.2 to 29.0.0

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 28.0.2 to 29.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v28.0.2...v29.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Fix lint failure

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-23 15:27:46 +02:00
dependabot[bot] b455390f47 Bump @babel/preset-env from 7.13.10 to 7.13.12 (#33438) 2021-03-23 13:18:36 +00:00
dependabot[bot] 296c3136aa Bump hugo-bin from 0.69.0 to 0.70.0 (#33436)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.69.0 to 0.70.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.69.0...v0.70.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-23 15:08:42 +02:00
dependabot[bot] 19fa62d51f Bump globby from 11.0.2 to 11.0.3 (#33434)
Bumps [globby](https://github.com/sindresorhus/globby) from 11.0.2 to 11.0.3.
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v11.0.2...v11.0.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-23 15:03:45 +02:00
dependabot[bot] a8276024b9 Bump rollup from 2.41.3 to 2.42.3 (#33432)
Bumps [rollup](https://github.com/rollup/rollup) from 2.41.3 to 2.42.3.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.41.3...v2.42.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-23 14:59:23 +02:00
dependabot[bot] 7c67a9a64d Bump clean-css-cli from 5.2.1 to 5.2.2 (#33433)
Bumps [clean-css-cli](https://github.com/jakubpawlowicz/clean-css-cli) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/jakubpawlowicz/clean-css-cli/releases)
- [Changelog](https://github.com/jakubpawlowicz/clean-css-cli/blob/master/History.md)
- [Commits](https://github.com/jakubpawlowicz/clean-css-cli/compare/v5.2.1...v5.2.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-23 14:53:26 +02:00
Mark Otto b2deaa997e Add link to new Parcel guide in starter template (#33430)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-23 08:27:15 +02:00
GeoSot 1c02ef4f97 Allow offcanvas to be initialized in open state (#33382)
* Update docs to use new .show behavior and clarify some copy for first example

Co-authored-by: Mark Otto <markdotto@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-23 08:22:59 +02:00
XhmikosR d9da43f3cc .browserslistrc: remove Android and make Safari/iOS 12 the minimum (#33399) 2021-03-22 23:02:10 +02:00
Mark Otto a3ad7327f2 Update examples (#33214)
* Add updated Jumbotron example made from utilities

* Update starter template example with new design and links

* Update some existing examples and their screenshots

* Add four new snippet-based examples

* Update layout to improve things a bit

* WIP

* Add d-block to images

* Fix horizontal scroll

* move d-block to the anchor

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-22 13:59:14 -07:00
Mark Otto e775c494f2 Fix flush accordion styles 2021-03-22 13:56:06 -07:00
XhmikosR df2d5b6a37 README.md: use shields.io for the tests badge too (#33401) 2021-03-18 21:17:45 +02:00
XhmikosR f4f687762c .browserslistrc: remove the Edge workaround. (#33397)
It seems that Legacy Edge has been moved to dead, so this is no loner needed.
2021-03-18 17:46:55 +02:00
XhmikosR a88d61db6f BrowserStack: test on iPhone 12 (#33398) 2021-03-18 17:45:12 +02:00
Semih Raif Gürel 26d8955de2 Utilities to Utilities API (Borders doc page) (#33380) 2021-03-17 12:55:13 -07:00
Rohit Sharma 72ef1dfdbd Update unit tests for Popper V2 (#32662) 2021-03-17 21:25:57 +02:00
Patrick H. Lauke 3ce0a8d3ec Dynamic tab should not show when triggered on disabled element (#33257)
* show() should bail if the trigger has `disabled` attribute

* use 'isDisabled' helper

Co-authored-by: GeoSot <geo.sotis@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-17 10:52:40 +02:00
GeoSot b9f30903a5 Fix carousel RTL and refactor code, fix rtl swipe issues (#32913)
* move common code to reusable functions

* add/re-factor tests, directionToOrder func

* add _orderToDirection tests

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-17 07:58:43 +02:00
GeoSot c5083d5fc3 Use more safe check for 'isDisabled' helper (#33385) 2021-03-17 07:44:15 +02:00
Mark Otto c198eb6319 Revamp accordion borders to fix pixel jumping (#33149)
- Pushes the borders to the .accordion-item
- Simplifies the .accordion-flush
- Recreates the .accordion-button border-bottom with an inset box-shadow
- Updates background-color to solid to match other components like list group and prevent stacked translucent borders
- Use negative margin to overlap the consecutive items
2021-03-16 22:16:03 -07:00
Anton fcac2e3aa6 Add example: toggle modal dialogs (#33301)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markdotto@gmail.com>
2021-03-16 22:15:06 -07:00
Mark Otto 6ed439ff73 Updates customize Sass docs to reflect proper placement of default variables overrides 2021-03-16 22:04:51 -07:00
GeoSot ddf72bc612 Accept data-bs-body option in the configuration object as well (#33248)
* Accept data-bs-body option in the configuration object as well

Tweak jqueryInterface, add some more tests

* Fix Markdown table formatting and tweak the wording on backdrop

Co-authored-by: Mark Otto <markdotto@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-16 18:35:03 +02:00
dependabot[bot] 1e14a0e646 Bump karma from 6.1.2 to 6.2.0 (#33374)
Bumps [karma](https://github.com/karma-runner/karma) from 6.1.2 to 6.2.0.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.1.2...v6.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-16 12:55:16 +02:00
dependabot[bot] 7a20375d85 Bump rollup from 2.41.0 to 2.41.3 (#33377)
Bumps [rollup](https://github.com/rollup/rollup) from 2.41.0 to 2.41.3.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.41.0...v2.41.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-16 12:50:46 +02:00
dependabot[bot] 5242f1223e Bump eslint from 7.21.0 to 7.22.0 (#33376)
Bumps [eslint](https://github.com/eslint/eslint) from 7.21.0 to 7.22.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.21.0...v7.22.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-16 12:47:05 +02:00
dependabot[bot] ebb445b0b5 Bump postcss from 8.2.7 to 8.2.8 (#33375)
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.7 to 8.2.8.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.7...8.2.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-16 12:43:35 +02:00
dependabot[bot] 8d9c62852a Bump karma-rollup-preprocessor from 7.0.6 to 7.0.7 (#33373)
Bumps [karma-rollup-preprocessor](https://github.com/jlmakes/karma-rollup-preprocessor) from 7.0.6 to 7.0.7.
- [Release notes](https://github.com/jlmakes/karma-rollup-preprocessor/releases)
- [Changelog](https://github.com/jlmakes/karma-rollup-preprocessor/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jlmakes/karma-rollup-preprocessor/compare/7.0.6...7.0.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-16 12:35:45 +02:00
Anton af42557f4a Update modal's show method to accept relatedTarget as an argument (#33300)
Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-16 07:49:52 +02:00
Ryan Berliner 99b2c0b390 only trigger tooltip inserted event on true dom insert 2021-03-16 07:48:50 +02:00
Ryan Berliner 72d2313579 reuse existing popper on show during tooltip fadeout 2021-03-16 07:48:50 +02:00
Ryan Berliner 6ef70b342c prevent quick interactions from misplacing tooltips 2021-03-16 07:48:50 +02:00
Ryan Berliner d491c29aa0 prevent tooltip from being deleted on quick re-activations 2021-03-16 07:48:50 +02:00
Rohit Sharma 6ecd1c626e Change the name of the Offcanvas constructor (#33261) 2021-03-16 07:21:04 +02:00
XhmikosR e153e5f5b2 Improve change-version.js (#33148)
* switch to async/await
* remove shelljs
* switch to globby; supports .gitignore out of the box
* don't write any files to the disk if they are indentical
* add two more cmd switches: --dry and --verbose
* strip leading "v" from version arguments so that we don't end up with duplicate `v`s
2021-03-11 11:37:52 +02:00
Mark Otto 6b3254536b Add migration guide entry 2021-03-10 22:04:32 -08:00
Mark Otto 5c6e72c6fe Change from element selector to the opt-in class 2021-03-10 22:04:32 -08:00
Mark Otto defce83027 Add ol.list-group with psuedo-element numbers 2021-03-10 22:04:32 -08:00
Mark Otto 844aab4295 Fixes some copy around inline forms 2021-03-10 21:25:21 -08:00
Kyle Tsang 88cbe443b8 Mention .no-gutters removal in migration guide (#33332)
* Mention .no-gutters removal in migration guide

* Update site/content/docs/5.0/migration.md

Co-authored-by: Mark Otto <otto@github.com>
2021-03-10 19:28:15 -08:00
gopal-jayaraman 644afc2761 Removing duplicate text-decoration style for abbr[title] #33197 (#33325)
Removing duplicate text-decoration style for abbr[title] #33197
2021-03-10 19:06:18 -08:00
Mohamed Khoualed a5c4a7a1f2 Grammatically update the doc (#33267)
* Grammatically update the doc

* Apply suggestions from code review

Co-authored-by: Mark Otto <otto@github.com>
2021-03-10 19:05:03 -08:00
Garrett Johnson a49d1e3e58 Fix Flex utilities to add vertical space in example
The `justify-content-around` example is missing a `mb-3` class because it is not the last example.
2021-03-10 17:23:24 -08:00
Martin Choutka a245ef46e2 Update the "Nonblocking files" section in the docs
Added few paragraphs about optimizing FCP times, deferring non-critical JS and CSS, may update in the future again
2021-03-10 08:57:50 -08:00
XhmikosR 2732a60ecd @rollup/plugin-replace: specify preventAssignment: true (#33329)
This is to fix a warning since the option will be set to true in the next major version of the plugin
2021-03-10 18:47:42 +02:00
XhmikosR 26c999152b Delete the unused build/ship.sh (#33326) 2021-03-10 18:47:20 +02:00
dependabot[bot] f9ee4825e8 Bump @babel/preset-env from 7.13.9 to 7.13.10 (#33315)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.9 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-10 09:52:38 +02:00
dependabot[bot] 43e50ce74a Bump @babel/cli from 7.13.0 to 7.13.10 (#33314)
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.13.0 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-cli)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-10 09:43:37 +02:00
dependabot[bot] bce1e63bb3 Bump rollup from 2.40.0 to 2.41.0 (#33312)
Bumps [rollup](https://github.com/rollup/rollup) from 2.40.0 to 2.41.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.40.0...v2.41.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-10 07:59:47 +02:00
dependabot[bot] 8ef613c297 Bump @babel/core from 7.13.8 to 7.13.10 (#33311)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.8 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-10 07:43:43 +02:00
dependabot[bot] 7d3fa63c3f Bump karma from 6.1.1 to 6.1.2 (#33313)
Bumps [karma](https://github.com/karma-runner/karma) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.1.1...v6.1.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 14:05:05 +02:00
XhmikosR bdffdb9380 Update devDependencies (#33307)
* @popperjs/core    ^2.9.0  →    ^2.9.1
* autoprefixer     ^10.2.4  →   ^10.2.5
* clean-css-cli     ^5.2.0  →    ^5.2.1
* postcss           ^8.2.6  →    ^8.2.7
* stylelint       ^13.11.0  →  ^13.12.0
2021-03-08 19:00:06 +02:00
dependabot[bot] 902263ba27 Bump jquery from 3.5.1 to 3.6.0 (#33242)
Bumps [jquery](https://github.com/jquery/jquery) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.5.1...3.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-08 18:46:39 +02:00
GeoSot e163d98845 modal: move common code to a new isAnimated method (#33056) 2021-03-08 18:35:59 +02:00
GeoSot 548be2ed66 Offcanvas as component (#29017)
* Add a new offcanvas component

* offcanvas.js: switch to string constants and `event.key`

* Remove unneeded code

* Sass optimizations

* Fixes

Make sure the element is hidden and not offscreen when inactive
fix close icon negative margins
Add content in right & bottom examples
Re-fix bottom offcanvas height not to cover all viewport

* Wording tweaks

* update tests and offcanvas class

* separate scrollbar functionality and use it in offcanvas

* Update .bundlewatch.config.json

* fix focus

* update btn-close / fix focus on close

* add aria-modal and role
return focus on trigger when offcanvas is closed
change body scrolling timings

* move common code to reusable functions

* add aria-labelledby

* Replace lorem ipsum text

* fix focus when offcanvas is closed

* updates

* revert modal, add tests for scrollbar

* show backdrop by default

* Update offcanvas.md

* Update offcanvas CSS to better match modals

- Add background-clip for borders
- Move from outline to border (less clever, more consistent)
- Add scss-docs in vars

* Revamp offcanvas docs

- Add static example to show and explain the components
- Split live examples and rename them
- Simplify example content
- Expand docs notes elsewhere
- Add sass docs

* Add .offcanvas-title instead of .modal-title

* Rename offcanvas example to offcanvas-navbar to reflect it's purpose

* labelledby references title and not header

* Add default shadow to offcanvas

* enable offcanvas-body to fill all the remaining wrapper area

* Be more descriptive, on Accessibility area

* remove redundant classes

* ensure in case of an already open offcanvas, not to open another one

* bring back backdrop|scroll combinations

* bring back toggling class

* refactor scrollbar method, plus tests

* add check if element is not full-width, according to #30621

* revert all in modal

* use documentElement innerWidth

* Rename classes to -start and -end

Also copyedit some docs wording

* omit some things on scrollbar

* PASS BrowserStack tests

-- IOS devices, Android devices and Browsers on Mac, hide scrollbar by default and appear it, only while scrolling.

* Rename '_handleClosing' to '_addEventListeners'

* change pipe usage to comma

* change Data.getData to Data.get

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
Co-authored-by: Mark Otto <markdotto@gmail.com>
2021-03-02 19:10:10 +02:00
Rohit Sharma b9e51dc3c4 Dropdown — Drop flip option (#33198) 2021-03-02 17:27:13 +02:00
XhmikosR 977c366cbe Rename _gh_pages to _site. (#33129) 2021-03-02 17:05:26 +02:00
alpadev 48a95f7280 refactor: use a Map instead of an Object in dom/data (#32180)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
2021-03-02 16:55:44 +02:00
Mark Otto 6d93a1371a Reset select:disabled opacity and null-ify color to fix rendering differences in Chrome 2021-03-02 06:40:32 -08:00
XhmikosR 205e2cae70 CodeQL: skip dependabot PRs too (#33130) 2021-03-02 16:09:49 +02:00
Mark Otto 1df59bb17f Add an example of v4's media component in the flex utils docs (#33207)
* Add an example of v4's media component in the flex utils docs

* Link to new example from Migration guide

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-02 16:08:32 +02:00
dependabot[bot] a4c4f7917b Bump @popperjs/core from 2.8.3 to 2.9.0 (#33240)
* Bump @popperjs/core from 2.8.3 to 2.9.0

Bumps [@popperjs/core](https://github.com/popperjs/popper-core) from 2.8.3 to 2.9.0.
- [Release notes](https://github.com/popperjs/popper-core/releases)
- [Commits](https://github.com/popperjs/popper-core/compare/v2.8.3...v2.9.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Update config.yml

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-02 16:01:53 +02:00
dependabot[bot] 785a2cd6c9 Bump lockfile-lint from 4.6.1 to 4.6.2 (#33238)
Bumps [lockfile-lint](https://github.com/lirantal/lockfile-lint) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/lirantal/lockfile-lint/releases)
- [Commits](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.6.1...lockfile-lint@4.6.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-02 15:49:12 +02:00
dependabot[bot] c937d471a8 Bump rollup from 2.39.1 to 2.40.0 (#33236)
Bumps [rollup](https://github.com/rollup/rollup) from 2.39.1 to 2.40.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.39.1...v2.40.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-02 15:43:50 +02:00
dependabot[bot] c17d197dd5 Bump karma-rollup-preprocessor from 7.0.5 to 7.0.6 (#33235)
Bumps [karma-rollup-preprocessor](https://github.com/jlmakes/karma-rollup-preprocessor) from 7.0.5 to 7.0.6.
- [Release notes](https://github.com/jlmakes/karma-rollup-preprocessor/releases)
- [Changelog](https://github.com/jlmakes/karma-rollup-preprocessor/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jlmakes/karma-rollup-preprocessor/compare/7.0.5...7.0.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-02 15:37:25 +02:00
dependabot[bot] 31167a7761 Bump @babel/preset-env from 7.12.17 to 7.13.9 (#33234)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.17 to 7.13.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.9/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-02 15:28:05 +02:00
dependabot[bot] 14196e6e6c Bump @babel/cli from 7.12.17 to 7.13.0 (#33186)
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.12.17 to 7.13.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.0/packages/babel-cli)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-02 15:23:43 +02:00
dependabot[bot] 3b6988f006 Bump eslint from 7.20.0 to 7.21.0 (#33233)
Bumps [eslint](https://github.com/eslint/eslint) from 7.20.0 to 7.21.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.20.0...v7.21.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-02 15:09:01 +02:00
dependabot[bot] 972954e580 Bump @babel/core from 7.12.17 to 7.13.8 (#33232)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.17 to 7.13.8.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.8/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-02 15:04:35 +02:00
Gaël Poupard bed8fc8381 fix(navs): ensure button will grow in fill/justified nav 2021-03-01 11:55:19 -08:00
Gaël Poupard 0bdf931507 fix(list-group): properly set a color on list-group-items 2021-03-01 11:27:08 -08:00
Gaël Poupard ac3a1069b1 fix(forms): validated controls in input-group 2021-03-01 07:53:39 -08:00
XhmikosR 5560c86070 Bundlewatch: stop ignoring dependabot branches (#33192) 2021-02-24 18:32:05 +02:00
Muhammadamin 056216a3bd modal: don't add margin & padding when sticky is not full width (#30621)
* modal: don't add margin & padding when sticky is not full width

* Check if element is shorter than window

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
2021-02-23 14:52:09 +02:00
dependabot[bot] 45ff785377 Bump @rollup/plugin-replace from 2.4.0 to 2.4.1 (#33190)
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/replace-v2.4.0...replace-v2.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-23 14:41:32 +02:00
dependabot[bot] 18c36c3a56 Bump rollup from 2.39.0 to 2.39.1 (#33189)
Bumps [rollup](https://github.com/rollup/rollup) from 2.39.0 to 2.39.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.39.0...v2.39.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-23 14:37:58 +02:00
dependabot[bot] d4e6b9731b Bump @popperjs/core from 2.8.2 to 2.8.3 (#33188)
* Bump @popperjs/core from 2.8.2 to 2.8.3

Bumps [@popperjs/core](https://github.com/popperjs/popper-core) from 2.8.2 to 2.8.3.
- [Release notes](https://github.com/popperjs/popper-core/releases)
- [Commits](https://github.com/popperjs/popper-core/compare/v2.8.2...v2.8.3)

Signed-off-by: dependabot[bot] <support@github.com>

* Update config.yml

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-23 14:24:33 +02:00
Gaël Poupard bcda711849 docs(migration): duplicated 5.0.0-beta2 heading (#33178) 2021-02-22 17:05:59 +02:00
XhmikosR 6f7fd22c13 Update devDependencies (#33150)
* @babel/cli             ^7.12.16  →  ^7.12.17
* @babel/core            ^7.12.16  →  ^7.12.17
* @babel/preset-env      ^7.12.16  →  ^7.12.17
* @popperjs/core           ^2.6.0  →    ^2.8.2
* @rollup/plugin-replace   ^2.3.4  →   ^2.4.0
* eslint-config-xo        ^0.34.0  →   ^0.35.0
* eslint-plugin-unicorn   ^28.0.1  →   ^28.0.2
* hugo-bin                ^0.68.0  →   ^0.69.0
* linkinator              ^2.13.4  →   ^2.13.6
* lockfile-lint            ^4.3.7  →   ^4.6.1
* sass                    ^1.32.7  →   ^1.32.8
* stylelint              ^13.10.0  →  ^13.11.0
2021-02-22 09:12:05 +02:00
Rohit Sharma dc5e3328c1 Allow constructors to accept a CSS selector (#32245)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <otto@github.com>
2021-02-22 09:01:04 +02:00
Rohit Sharma d983744d12 Remove the default positioning from .dropup (#33120) 2021-02-22 08:57:21 +02:00
Gaël Poupard 489e7b6798 fix(card): siblings card links in RTL (#33154)
Fixes a bug mentionned in [#32330](https://github.com/twbs/bootstrap/issues/32330#issuecomment-782001326).

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-22 08:49:38 +02:00
XhmikosR 730566221f visual tests: add missing base-component dist file (#33167)
Regression of #32313
2021-02-22 08:42:43 +02:00
Patrick H. Lauke 5693f1ad86 Fix small typos / follow-up to #32630 (#33164) 2021-02-21 08:00:03 +02:00
Nikon the Third e8f08d1802 Adjust regex SAFE_URL_PATTERN for use with test method of regexes. (#33136)
The test method on regexes behaves different than the match method on strings in the presence of the global modifier.
Add a unit test for sanitizing the same template twice.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-19 10:24:53 +02:00
XhmikosR 454d8ae1f4 linkinator: replace --silent with --verbosity (#33100) 2021-02-19 00:28:39 +02:00
XhmikosR d55abc2f81 Update clean-css-cli to v5.2.0. (#33099)
* Update clean-css-cli to v5.2.0

* Enable clean-css's batch flag
2021-02-18 20:53:18 +02:00
nlipka 536c53c16c add some space 2021-02-18 08:19:15 -08:00
Mark Otto 5c32767e0e Clarify docs around .navbar-brand (#33123)
- Add new headings and text for each example
- Fixes #33072 by changing align-* class
2021-02-17 05:58:26 +02:00
dependabot[bot] 8f0fb394b1 Bump eslint-plugin-unicorn from 27.0.0 to 28.0.1 (#33116)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 27.0.0 to 28.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v27.0.0...v28.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-16 13:04:37 +02:00
dependabot[bot] 233afbff56 Bump stylelint from 13.9.0 to 13.10.0 (#33115)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.9.0 to 13.10.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.9.0...13.10.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-16 13:01:17 +02:00
dependabot[bot] 40e2abf7ca Bump karma from 6.0.4 to 6.1.1 (#33112)
Bumps [karma](https://github.com/karma-runner/karma) from 6.0.4 to 6.1.1.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.0.4...v6.1.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-16 12:56:25 +02:00
dependabot[bot] d20d3e4155 Bump sass from 1.32.6 to 1.32.7 (#33114)
Bumps [sass](https://github.com/sass/dart-sass) from 1.32.6 to 1.32.7.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.32.6...1.32.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 12:54:16 +02:00
dependabot[bot] 36cf9b47dc Bump @rollup/plugin-babel from 5.2.3 to 5.3.0 (#33113)
Bumps [@rollup/plugin-babel](https://github.com/rollup/plugins) from 5.2.3 to 5.3.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/babel-v5.2.3...babel-v5.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-16 12:48:56 +02:00
dependabot[bot] 0ce22d43b9 Bump rollup from 2.38.5 to 2.39.0 (#33107)
Bumps [rollup](https://github.com/rollup/rollup) from 2.38.5 to 2.39.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.38.5...v2.39.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-16 12:48:27 +02:00
dependabot[bot] c3fc53ece4 Bump @babel/preset-env from 7.12.13 to 7.12.16 (#33111) 2021-02-16 10:45:06 +00:00
dependabot[bot] 29eaea193b Bump @rollup/plugin-node-resolve from 11.1.1 to 11.2.0 (#33109)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 11.1.1 to 11.2.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v11.1.1...node-resolve-v11.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-16 12:34:34 +02:00
dependabot[bot] 3369d80521 Bump @babel/core from 7.12.13 to 7.12.16 (#33106)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.13 to 7.12.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.16/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 12:30:31 +02:00
dependabot[bot] e622eb5400 Bump postcss from 8.2.5 to 8.2.6 (#33105)
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.5 to 8.2.6.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.5...8.2.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 12:26:07 +02:00
dependabot[bot] b3a7d28126 Bump @babel/cli from 7.12.13 to 7.12.16 (#33104)
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.12.13 to 7.12.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.16/packages/babel-cli)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 12:25:37 +02:00
dependabot[bot] c6b3ebf124 Bump eslint from 7.19.0 to 7.20.0 (#33103)
Bumps [eslint](https://github.com/eslint/eslint) from 7.19.0 to 7.20.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.19.0...v7.20.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 12:24:11 +02:00
XhmikosR ca9087ba92 overview: add missing EOF newline (#33098) 2021-02-16 12:22:35 +02:00
XhmikosR 324107f3af Simplify karma.conf.js (#33045)
`customLaunchers` does not seem to be needed.
2021-02-16 12:18:06 +02:00
XhmikosR 92434fa30f util: change isRTL to a function (#32446)
This allows the bundler to tree-shake the function.
2021-02-16 10:14:05 +02:00
GeoSot 3602828a90 Add tests for DATA_KEY (#33090)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-16 08:58:08 +02:00
k-utsumi 4d19e0e8a4 Clear duplicated class border-0 (#32925)
* Clear duplicated class `border-0`

* Update migration.md

Co-authored-by: Mark Otto <otto@github.com>
2021-02-16 08:05:09 +02:00
Ray 3d0260268e docs: add bootstrap5 zh-tw in translations (#33006) 2021-02-15 21:09:56 +02:00
Gaël Poupard b7bd094351 docs(examples): typo in offcanvas example in .bg-body (#33092)
Caught by pa11y-ci on Boosted (because of insufficient contrasts) ❤️
2021-02-15 21:06:57 +02:00
XhmikosR 03e7d6328c CI: skip release drafter if we are not on our repo (#33067) 2021-02-15 08:50:47 +02:00
Siju Samson 51c7075c1c Fix typo in nav-tabs docs (#33081) 2021-02-15 08:45:34 +02:00
Rohit Sharma 6b6db4fd8a Add the missing expectations for touch events (#33060) 2021-02-12 08:36:20 +02:00
Kyle Tsang 02dbd87ffa Fix event handler removal in dropdown/carousel dispose (#33000)
* Fix event handler removal in carousel dispose

* Fix event handler removal in dropdown dispose

* Test event handlers in scrollspy dispose

* Test event handlers in toast dispose

* Test event handlers in tooltip dispose

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
2021-02-12 07:51:34 +02:00
Gaël Poupard 0a9d392975 Docs improvements after beta2 (#33049)
* docs(carousel): double-spaces out there

* docs(toasts): missing word, ins't it?

* docs(cheatsheet): use buttons for carousels and tabs ion cheatsheets too

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-11 19:48:08 +02:00
Mark Otto 037b5df737 Revert dist changes from #32747 (#33050) 2021-02-11 17:22:18 +02:00
eldk 8125856272 Add Parcel Bundler doc (#30909)
* Add Parcel Bundler doc

* Update parcel.md

* Improve parcel.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2021-02-11 08:22:20 +02:00
Sam Willis 2f03e32d8c Add input focus blur variable 2021-02-10 21:03:37 -08:00
Patrick H. Lauke df79aad5e4 Remove explicit suppression of focus outline
It's unclear what the reason for first introducing the original hack here (for `[tabindex="-1"]:focus {...}`) was. Seems something that may have been useful/necessary in SuitCSS, but don't think BS ever relied on this. https://github.com/twbs/bootstrap/issues/18330
It's since been modified to only apply when the browser wouldn't apply a visible outline anyway based on its own heuristics (the `:not(:focus-visible)` part) https://github.com/twbs/bootstrap/pull/28437/

But now, thinking this through more...in browsers that do support this pseudo-selector, what this is essentially saying is redundant: don't apply outline in cases where a `tabindex="-1"` element receives focus but the browser wouldn't normally apply focus outline". at best, this is unnecessary. at worst, this actually overrides things an author may explicitly be trying to do with adding `:focus { outline: ... }` explicitly.
2021-02-10 19:35:52 -08:00
Mark Otto 4c7a3e8adf Add Sass docs (variables, mixins, and loops) to most pages (#32747)
* WIP: Mention variables, mixins, and loops in docs

* Add Sass sections to component pages

* add sass docs for forms and content

* Update buttons.md

* Remove empty mixins sections

* Massive update to utilities and some consistency changes

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-10 19:29:59 -08:00
XhmikosR e50c11b8c6 Release v5.0.0-beta2 (#32467)
* Bump version to 5.0.0-beta2

* Dist
2021-02-10 18:14:51 +02:00
Gaël Poupard 2bb42a9176 docs(scroll offset): improve a11y for sticky header (#33027)
Our current trick works great for headings or landmarks `:target`ed by links activation, however it still allows focus to be hidden under the sticky header. 

1. Go to any docs page, 
2. use a TOC link to scroll down the page, 
3. then `Shift`+`Tab` to navigate backward using keyboard. 

You should see on some browsers (mainly Firefox from my tests, but it used to do the same in Chrome) that focused elements isn't visible, hidden by our sticky header.

Applying `scroll-padding-top` to the `:root` solves this without any side-effect—but it requires to drop `scroll-margin-top` for anchors to prevent doubling the offset.

FWIW based on my test, Edgium and Chromium don't really care since they seem to have a new heuristic for such cases, making the focused element scroll to the center of the view.
2021-02-10 07:27:43 +02:00
XhmikosR 2ab6dbd2d6 Downgrade karma to v6.0.4. (#33030)
It seems v6.1.0 has some disconnect issues, so, trying to see if that's the case.
2021-02-10 07:22:45 +02:00
Rohit Sharma f7088e5d28 Add function type for popperConfig option (#32882)
* Add function type for `popperConfig` option

* Update .bundlewatch.config.json

* copy edits

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markdotto@gmail.com>
2021-02-09 21:16:13 +02:00
Rohit Sharma 29e0c9dfa1 Dropdown — Change the selector to check the use of Popper (#33003)
* Create the popper instance first

Make sure that popper instance has been created first and then apply the
styling on the dropdown(menu)

* Use `data-bs-popper` attibute to check popper

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-09 21:04:23 +02:00
Gaël Poupard 91d3da1f3d fix(navbar): ensure .navbar-collapse behaves as intended (#33022) 2021-02-09 20:54:37 +02:00
Rohit Sharma 273db7c205 Remove the default left styling in favor of Popper 2021-02-09 14:34:27 +02:00
Mark Otto d56992b6d2 Mention dropdown static change in Migration guide
Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
2021-02-09 14:34:27 +02:00
Mark Otto 8f1c882545 Remove .dropdown-menu[style] reset and adjust .dropdown-menu-* modifiers
- Removes the &[style] selector that was used for resetting Popper styles
- Separate Popper-based alignment from static alignment with `data-bs-popover` attribute that separates the --bs-position and custom right/left properties

Co-Authored-By: Rohit Sharma <rohit2sharma95@gmail.com>
2021-02-09 14:34:27 +02:00
dependabot[bot] a2b56de707 Bump linkinator from 2.13.3 to 2.13.4 (#33019)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 2.13.3 to 2.13.4.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v2.13.3...v2.13.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-09 09:22:31 +02:00
XhmikosR 28aba43ae0 vnu-jar.js: quote vnu path (#33016)
Should work now with folders with spaces
2021-02-09 08:01:44 +02:00
Rohit Sharma 0eaa6c05cf Remove custom fallbackPlacements from dropdown (#32843) 2021-02-09 07:55:17 +02:00
Philip Kiely 96b86c1f58 Docs on enforcing HTTPS and avoiding mixed content (#33017)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-09 07:54:16 +02:00
Patrick H. Lauke 96be06e32b Dynamic tabs: use buttons rather than links (#32630)
* Dynamic tabs: use buttons rather than links

- change docs
- add mention that tabs should be <button> elements
- tweak styles to neutralise border and background

* Update js unit and visual test accordingly

- replace links with buttons
- make one specific test that uses links instead of buttons, as we still want to support it despite it being non-semantically appropriate
- Leaving a couple of tests for now. The test for removed tabs should be redone so that tabs are removed programmatically (as the approach of having that close button inside the link is invalid and broken markup). The test for dropdowns should be removed together we actually ripping out the handling for dropdowns in the tab.js code (arguably a breaking change, though we discouraged this for a few versions and effectively "deprecated" it)

* Add isolation:isolate to prevent focus being overlapped

https://github.com/twbs/bootstrap/pull/32630#issuecomment-756015766
2021-02-09 07:23:45 +02:00
XhmikosR c93d754d35 CI: remove the cache fallback and shorten cache key (#33012) 2021-02-08 21:41:10 +02:00
XhmikosR 6d34d93d69 Update devDependencies (#33011)
* @babel/cli         ^7.12.10  →  ^7.12.13
* @babel/core        ^7.12.10  →  ^7.12.13
* @babel/preset-env  ^7.12.11  →  ^7.12.13
* karma                ^6.0.4  →    ^6.1.0
* linkinator           2.11.2  →   ^2.13.3
* postcss              ^8.2.4  →    ^8.2.5
* rollup              ^2.38.4  →   ^2.38.5
* rtlcss               ^3.1.1  →    ^3.1.2
* vnu-jar             20.6.30  →    21.2.5
2021-02-08 21:05:24 +02:00
Rohit Sharma b6cae91893 Add a note to change the case type of option name (#32995) 2021-02-08 16:55:47 +02:00
Kyle Tsang 22d8e34b3e Fix boundary config description for dropdown and popover (#32979) 2021-02-04 07:26:32 +02:00
Kyle Tsang d63a922436 Fix Popper preventOverflow boundary config (#32845)
Currently, the boundary config is being assigned to the wrong var (`rootBoundary`) in the popper config.  It should be assigned to the `boundary` var in popper's config.

Ref: https://popper.js.org/docs/v2/utils/detect-overflow/#boundary
2021-02-04 06:55:25 +02:00
Siju Samson b376a3d80d Fix dropdown keys to open menu (#32750)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-03 22:03:21 +02:00
Florian Vick 2a9d72133d Prevent getSelector from returning URLs as selector (#32586)
* added checks to getSelector in util to prevent returning hrefs that are invalid selectors

* restored compatibility for the class selector and added test cases for keeping urls from being returned as a selector

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-03 21:58:54 +02:00
Rohit Sharma 3770b7b9e3 Dropdown — Emit events on the .dropdown-toggle button (#32625)
* Emit events on the dropdown button

Emit the events on `.dropdown-toggle` button and then bubble up

* Add migration note for events

* Update the docs for events

* Add unit test to check the event bubbling

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-03 21:51:19 +02:00
Gaël Poupard 02d103be91 fix(accordion): ensure .accordion-button stays left-aligned (#32951)
Fixes #32938

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-03 21:44:48 +02:00
Gaël Poupard e4b249d02b fix(navbar): hardcoded custom property (#32930) 2021-02-03 21:42:24 +02:00
Stanisław Gregor 203b3e218c Fix default value for $enable-deprecation-messages (#32940)
* Update the default value for $enable-deprecation-messages

As seen in the https://github.com/twbs/bootstrap/blob/main/scss/_variables.scss,
the $enable-deprecation-messages variable is set to `true` by default.

* Update site/content/docs/5.0/customize/options.md

Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
2021-02-03 21:40:05 +02:00
Rohit Sharma 217d84d6b2 Remove the initial margin from dropdown/popover in favor of Popper (#32524)
* Remove the margin from dropdown in favor of Popper

- Set the default margin to 0 for dropdowns (To remove the Popper's  warning)
- Set the required offset in dropdown's defaults

* Remove the margin from the popover component

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-03 21:37:25 +02:00
XhmikosR a1bb65ef49 Tweak scss-docs shortcode
Should work now with indented start/end capture statements
2021-02-03 07:15:49 +02:00
Mark Otto 88be1ce502 Update docs for color and bg utilities
- Split colors from background utilities with new docs page
- Add Sass docs for both pages
2021-02-03 07:15:49 +02:00
dependabot[bot] 14cfb7af93 Bump rtlcss from 3.0.0 to 3.1.1 (#32972)
Bumps [rtlcss](https://github.com/MohammadYounes/rtlcss) from 3.0.0 to 3.1.1.
- [Release notes](https://github.com/MohammadYounes/rtlcss/releases)
- [Changelog](https://github.com/MohammadYounes/rtlcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/MohammadYounes/rtlcss/compare/3.0.0...3.1.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-02 21:00:15 +02:00
dependabot[bot] 1383f542c2 Bump @rollup/plugin-commonjs from 17.0.0 to 17.1.0 (#32963) 2021-02-02 12:09:14 +00:00
dependabot[bot] eff792843a Bump sass from 1.32.5 to 1.32.6 (#32965)
Bumps [sass](https://github.com/sass/dart-sass) from 1.32.5 to 1.32.6.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.32.5...1.32.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-02 14:01:40 +02:00
dependabot[bot] 863dd32e0e Bump @rollup/plugin-node-resolve from 11.1.0 to 11.1.1 (#32962)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 11.1.0 to 11.1.1.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v11.1.0...node-resolve-v11.1.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-02 13:59:57 +02:00
dependabot[bot] 7c8415e5c5 Bump eslint from 7.18.0 to 7.19.0 (#32964)
Bumps [eslint](https://github.com/eslint/eslint) from 7.18.0 to 7.19.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.18.0...v7.19.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-02 13:56:19 +02:00
dependabot[bot] 9cdf322038 Bump rollup from 2.38.0 to 2.38.4 (#32961) 2021-02-02 11:52:20 +00:00
dependabot[bot] 586b43e2c2 Bump autoprefixer from 10.2.3 to 10.2.4 (#32966)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.2.3 to 10.2.4.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.2.3...10.2.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-02 13:42:32 +02:00
dependabot[bot] d0db6b7b8e Bump karma from 6.0.2 to 6.0.4 (#32959)
Bumps [karma](https://github.com/karma-runner/karma) from 6.0.2 to 6.0.4.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.0.2...v6.0.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-02 13:33:16 +02:00
dependabot[bot] 4c1acccc22 Bump @rollup/plugin-babel from 5.2.2 to 5.2.3 (#32958)
Bumps [@rollup/plugin-babel](https://github.com/rollup/plugins) from 5.2.2 to 5.2.3.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/babel-v5.2.2...babel-v5.2.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-02 13:21:52 +02:00
Quy ed0fc83216 _carousel.scss: Fix typo in comment (#32950) 2021-02-01 15:22:24 +02:00
Rohit Sharma e79c8f3489 Just find the active indicator 2021-01-28 23:32:24 +02:00
Patrick H. Lauke a882614c45 Make carousel indicators actual buttons 2021-01-28 23:32:24 +02:00
XhmikosR 1fd34a1a2c CI: switch to the coverallsapp/github-action tag (#32919)
Unfortunately, they don't offer a `v1` tag
2021-01-28 23:31:33 +02:00
XhmikosR a838571c50 change-version: remove vendor, add resources (#32917) 2021-01-28 23:30:10 +02:00
Rohit Sharma e036e604de Update docs for offset option 2021-01-28 12:23:33 +02:00
Rohit Sharma b1bd54955e Restore offset option for tooltip/popover components 2021-01-28 12:23:33 +02:00
joke2k 881f43a3b9 Restore offset option for dropdown component 2021-01-28 12:23:33 +02:00
Mark Otto 51ca9a9e2f Update checks and radios in input groups (#32912)
- Adds .mt-0 to the examples
- Zero-ing out universally for all of them like in #32896 would cause issues for those who include the input with visible label text, where the text and input would be misaligned
2021-01-28 11:39:36 +02:00
XhmikosR a56bf1de9f Minor ESLint rules cleanup (#32904) 2021-01-28 11:34:20 +02:00
Tobias Bengfort e06ffa288f migration: mention .form-text changes (#32911)
see #30598 and #30565
2021-01-28 08:05:05 +02:00
Mark Otto 0fa16a5d45 Re-add flex-grow to .navbar-collapse (#32899)
Update .navbar-collapse to drop width 100 and use flex-grow, restoring it to v4's behavior

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-27 21:27:02 +02:00
GeoSot 5d7b51e1d0 Tooltip refactoring (#32523)
* tooltip: move common code to a reusable function

* tooltip: return early in `show()`

Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-27 19:01:24 +02:00
Patrick H. Lauke 3aa3fda730 Carousel: use buttons, not links, for prev/next controls (#32627)
* Carousel: use buttons, not links, for prev/next

- expand the styles to neutralise border/background
- change docs page
- add extra unit test to check that links or buttons work as controls
- modify visual test to use buttons as well
- use buttons instead of links for prev/next
- remove `role="button"` from links that are actually links

* Clarify that controls can be button or link

* Update site/content/docs/5.0/components/carousel.md

Co-authored-by: Mark Otto <markd.otto@gmail.com>

* Explicitly set padding to 0 to prevent dipping/moving on active in Firefox

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-27 17:31:16 +02:00
dependabot[bot] 61391c4ee2 Bump bundlewatch from 0.3.1 to 0.3.2 (#32906)
Bumps [bundlewatch](https://github.com/bundlewatch/bundlewatch) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/bundlewatch/bundlewatch/releases)
- [Commits](https://github.com/bundlewatch/bundlewatch/compare/v0.3.1...v0.3.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-26 22:24:46 +02:00
dependabot[bot] 1a2688ede3 Bump eslint-plugin-unicorn from 26.0.1 to 27.0.0 (#32902)
* Bump eslint-plugin-unicorn from 26.0.1 to 27.0.0

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 26.0.1 to 27.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v26.0.1...v27.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Update ESLint ignores

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-26 15:53:26 +02:00
dependabot[bot] 2ccf9b8aca Bump rollup from 2.37.0 to 2.38.0 (#32901)
Bumps [rollup](https://github.com/rollup/rollup) from 2.37.0 to 2.38.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.37.0...v2.38.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-26 15:28:05 +02:00
dependabot[bot] 7be62ada7f Bump karma from 6.0.0 to 6.0.2 (#32903)
Bumps [karma](https://github.com/karma-runner/karma) from 6.0.0 to 6.0.2.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.0.0...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-26 15:22:37 +02:00
XhmikosR 5bd5c03fc8 Pin linkinator and regenerate package-lock.json 2021-01-25 14:42:05 -08:00
Mark Otto f8183f6173 Add a link to v4.x from the v5 homepage (#32745)
* Add a link to v4.x from the v5 homepage

* Update masthead.html

* Update masthead.html

* Change label

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-25 14:38:27 -08:00
Vino Rodrigues ba30df146c Replace .bg-white with .bg-body in docs
Response to issue #32810

Use of the .bg-white class to define visual aspects of the examples
would be unintuitive for theme builders to test themes on.
This replaces instances of .bg-white with .bg-body in the examples.

- Edited examples to replace use .bg-white class with .bg-body class
  - product
  - offcanvas
  - pricing
  - cheatsheet
  - cheatsheet-rtl
- Edited utilities colors.md & shadows.md to include .bg-body class
2021-01-25 14:34:01 -08:00
Kyle Tsang c6d6160a7c docs: Fix navbar-nav-scroll description (#32846) 2021-01-20 12:12:35 +02:00
dependabot[bot] 4121850883 Bump autoprefixer from 10.2.1 to 10.2.3 (#32850)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.2.1 to 10.2.3.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.2.1...10.2.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-20 10:23:06 +02:00
dependabot[bot] a3229bab33 Bump sass from 1.32.4 to 1.32.5 (#32849)
Bumps [sass](https://github.com/sass/dart-sass) from 1.32.4 to 1.32.5.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.32.4...1.32.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-20 10:19:45 +02:00
dependabot[bot] 558ac1075d Bump stylelint from 13.8.0 to 13.9.0 (#32848)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.8.0 to 13.9.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.8.0...13.9.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-20 10:15:04 +02:00
XhmikosR 56fdcf9e35 Docs: add v4.6.0 (#32842) 2021-01-19 18:39:49 +02:00
dependabot[bot] ec36bfe05f Bump rollup from 2.36.1 to 2.37.0 (#32838)
Bumps [rollup](https://github.com/rollup/rollup) from 2.36.1 to 2.37.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.36.1...v2.37.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-19 12:18:39 +02:00
dependabot[bot] 478bbd082e Bump @rollup/plugin-node-resolve from 11.0.1 to 11.1.0 (#32837)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 11.0.1 to 11.1.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v11.0.1...commonjs-v11.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-19 12:14:38 +02:00
dependabot[bot] b9377f4222 Bump eslint from 7.17.0 to 7.18.0 (#32836)
Bumps [eslint](https://github.com/eslint/eslint) from 7.17.0 to 7.18.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.17.0...v7.18.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-19 12:07:26 +02:00
Mark Otto 40b15de723 Add .navbar-nav-scroll for vertical scrolling of navbar content (#32037)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-19 07:32:18 +02:00
Mark Otto 4167c107f8 Add a live toast example to the docs (#32760) 2021-01-18 15:10:01 +02:00
Mark Otto bb19b08fbe Remove popover-arrow margin to fix alignment of the arrow (#32787)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-15 09:12:45 +02:00
Mark Otto 987715fd24 Drop transition on .form-check, keep on .form-switch
To avoid breaking changes, turns -check-transition to null, then adds a new -switch-transition variable
2021-01-14 19:46:50 -08:00
Mark Otto a8aede0df1 Lighten disabled dropdown text to $gray-500
Fixes #32474
2021-01-14 19:41:34 -08:00
Mark Otto 803e49d928 Clarifies Sass variable defaults, adds bootstrap-npm-starter callout (#32795)
* Clarify Sass import and customize docs for how to modify variable defaulst

* Add an npm starter project callout to a few pages

* Update callout-info-npm-starter.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-14 16:21:21 -08:00
Siju Samson 9bec37a77b docs: work around Toast CSS conflict with utils (#32620)
* Toast CSS conflict resolved

* Update toasts.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-14 16:07:36 -08:00
GeoSot b5bf3131fb modal: move common code to reusable functions (#32511)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-14 21:22:09 +02:00
XhmikosR 1d8bc95c92 Update zip-examples.js (#32799)
Remove previously created zip files before creating a new one
2021-01-14 13:28:39 +02:00
dependabot[bot] 63880e0e8c Bump karma from 5.2.3 to 6.0.0 (#32797)
Bumps [karma](https://github.com/karma-runner/karma) from 5.2.3 to 6.0.0.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v5.2.3...v6.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-14 13:00:17 +02:00
XhmikosR 8c1444f00a CI: change Node.js to 14 (#32796)
This is so that it's consistent with the JS workflow thus the cache should match.
2021-01-14 12:51:14 +02:00
Patrick H. Lauke 949fa30152 Remove role="button" from CTA links in carousel examples (#32788)
They're links, acting as links. Just because they're styled as buttons visually doesn't mean they need/get `role="button"`
2021-01-14 01:54:25 +02:00
voltaek f7d3870567 Docs v5: Fix Sass rounding precision and state Sass implementation (#32512)
* Add Sass section to Getting Started > Build Tools, mention Sass implementation used, mention current precision of 10 due to Dart Sass, and mention recommended minimum precision (value of 6 used in BS v4). Remove outdated Sass precision from Customize > Sass docs page.

* Remove more mentions of deprecated Sass implementations. Add links to Sass compiler mentions so we can keep all pertinent Sass compiler information in just one location instead of spread through the docs, which makes it hard to find the details and/or keep them up-to-date.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-14 00:41:42 +02:00
XhmikosR 157a27d43d build-plugins: build Base component too (#32313) 2021-01-14 00:35:57 +02:00
dependabot[bot] 1b46601ce8 Bump eslint-plugin-unicorn from 25.0.1 to 26.0.1 (#32784)
* Bump eslint-plugin-unicorn from 25.0.1 to 26.0.1

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 25.0.1 to 26.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v25.0.1...v26.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Updates for `eslint-plugin-unicorn@26.0.1`

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-14 00:29:26 +02:00
Mark Otto 80c0d4deab Add mention of CSPs and SVGs (#32759)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-14 00:15:18 +02:00
XhmikosR f95004f654 Revert "docs: Fix popover example showing above navbar (#32445)" (#32533)
This reverts commit 517446069a.
2021-01-13 22:51:39 +02:00
Rohit Sharma c9cd741aff Throw a TypeError instead of the generic Error (#32585)
* Change from Error to TypeError

* Convert the `NAME` to upper case to make the consistency in the error message

* Update the remaining tests to be stricter

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-13 22:13:30 +02:00
Rohit Sharma e34481b6eb Fix toggling modal when clicking on data-bs-toggle="modal" (#32691)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-13 21:59:47 +02:00
Mark Otto d21fb9b627 Document some basic code conventions for us (#32778)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-13 21:06:07 +02:00
Gaël Poupard 20a9d491a2 Improve docs regarding RTL migration (#32771)
* docs(migrations): add a note regarding migration from v4 used for RTL layouts

* docs(RTL): LTR & RTL at the same time

* docs(utilities): how-to use the API to rename utilities

* docs(RTL): mention issue when nesting styles with .ltr / .rtl
2021-01-13 21:01:36 +02:00
Onycss 041de9d5ed Add word-break to .toast-body (#32670)
* Update _toasts.scss

* Update scss/_toasts.scss

Co-authored-by: Mark Otto <otto@github.com>
2021-01-13 09:21:57 -08:00
XhmikosR 1cdbf532af Improve zip-examples.js (#32469)
Only include the needed dist files: ~1.27 MB -> ~410 KB
2021-01-13 19:21:31 +02:00
ghost_32 82e5fe2d8c Migration: mention the removal of .rounded-sm/lg utilities (#32758)
* Changes made in migration.md file of documentation

Added information about the removal of `.rounded-sm` and `.rounded-lg`.
And addition of `.rounded-0` to `.rounded-3`

* Moved the edited line

Added `rounded-0` to `rounded-3` under  v5.0.0-alpha3

* Moved correctly

* Added link

Added link to issue #31687

* docs(migration): last typo thinggies

* Update migration.md

Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-13 09:18:56 -08:00
XhmikosR cad88abdb0 JS: update karma config (#32769)
* rename constants
* enforce the constants to be Boolean
* fix karma `logLevel`
2021-01-13 19:16:51 +02:00
Mark Otto 05249c8c04 Document size and multiple aren't supported on floating label selects (#32744)
* Document size and multiple aren't supported on floating label selects

Closes #32660

* Update floating-labels.md
2021-01-13 09:15:05 -08:00
Marcin Kasperski 408b2558dc Update toasts.md (#32782)
* dropped mention of `backdrop-filter`
* changed mention of `.text-white` to `.btn-close-white` on close button
2021-01-13 19:05:25 +02:00
XhmikosR f43133ac41 .gitignore: remove Ruby/Jekyll entries (#32770)
Our currently supported branches, v4-dev and main, use Hugo.
2021-01-13 13:20:49 +02:00
XhmikosR ed5ddca5ba Stylelint: disallow some property values (#32756)
* `border: none`
* `outline: none`
2021-01-13 10:52:41 +02:00
Mark Otto 69afafe811 Mention stretched-link constraints with table elements (#32761)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-12 15:33:58 +02:00
dependabot[bot] bf1e913f05 Bump sass from 1.32.2 to 1.32.4 (#32766)
Bumps [sass](https://github.com/sass/dart-sass) from 1.32.2 to 1.32.4.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.32.2...1.32.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-12 14:53:12 +02:00
XhmikosR 0bcaa068f2 GitHub Actions cleanup (#32755)
* lowercase `runner.os`
* remove `CI` environment variable since it's already set by the runner
2021-01-11 13:05:05 +02:00
Patrick H. Lauke 78c5b503f9 Darken dropdown item hover style (#32754)
Closes https://github.com/twbs/bootstrap/issues/23329
2021-01-11 01:24:03 +00:00
Patrick H. Lauke d62d18f172 Consistently use outline:0 rather than outline:none (#32751)
just for code consistency, no actual effect on styling per se
2021-01-10 16:13:08 +00:00
Patrick H. Lauke a2ae2c364f Suppress focus outline for buttons when it shouldn't be visible in Chromium (#32689)
Follow-up to https://github.com/twbs/bootstrap/pull/32631

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-10 10:42:26 +00:00
XhmikosR 7e6d7b8f81 package.json: move version_short variable under the config object (#32737)
This is so that it works on npm 7.x too.
2021-01-10 08:03:49 +02:00
Brian Thompson ee8546da18 Fix typo (#32740)
* Fix typo

* Rewrite description to avoid awkward phrasing

Co-authored-by: Mark Otto <otto@github.com>
2021-01-09 13:06:41 -08:00
XhmikosR 3b773e4265 Update devDependencies (#32738)
* autoprefixer  ^10.2.0  →  ^10.2.1
* postcss        ^8.2.2  →   ^8.2.4
2021-01-09 12:57:00 -08:00
Théophile Helleboid - chtitux 80557b3ac0 Move "active" class from .nav-item to .nav-link (#32730) 2021-01-08 20:53:04 +02:00
Gaël Poupard 70175db429 docs(sidebar): active link 2021-01-08 09:49:18 +02:00
XhmikosR d9adaae5b0 Move migration sidebar entry to sidebar.yml 2021-01-08 09:49:18 +02:00
dependabot[bot] 480e7e61b6 Bump autoprefixer from 10.1.0 to 10.2.0 (#32711)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.1.0 to 10.2.0.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.1.0...10.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-07 16:52:31 +02:00
XhmikosR f2c504397e Bump copyright year to 2021 (#32713) 2021-01-07 12:12:53 +02:00
Mark Otto cefdcf6954 Clarify the $enable-shadows option in our docs (#32685)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-07 10:16:21 +02:00
dependabot[bot] 417372677f Bump rollup from 2.36.0 to 2.36.1 (#32712)
Bumps [rollup](https://github.com/rollup/rollup) from 2.36.0 to 2.36.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.36.0...v2.36.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-07 10:11:16 +02:00
dependabot[bot] fee72a1dbc Bump sass from 1.32.0 to 1.32.2 (#32709)
Bumps [sass](https://github.com/sass/dart-sass) from 1.32.0 to 1.32.2.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.32.0...1.32.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-07 10:08:07 +02:00
dependabot[bot] dbd53b8475 Bump nodemon from 2.0.6 to 2.0.7 (#32710)
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.6...v2.0.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-07 10:03:00 +02:00
Rohit Sharma 3c934ddcef Scrollspy - Remove unnecessary event argument (#32603)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-07 09:34:08 +02:00
Florian Lacreuse e635a49536 Fix navbar docs - active nav-link (#32589)
* Fix navbar docs - active nav-link

* Update navbar.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-07 09:24:57 +02:00
Gaël Poupard acec356c81 fix(ratio): missing variable prefix (#32501)
This is the only unprefixed custom property, and its name is very common so I think we'd better prefix it too.
2021-01-06 08:14:54 +02:00
Patrick H. Lauke d1a62b47c3 Tweak wording for no-touch carousel (#32688)
based on changes made in the backport https://github.com/twbs/bootstrap/pull/32639
2021-01-06 00:59:44 +00:00
Jonathan 88d35b725b Hyphen to dash for ranges (#32488)
* Hyphen to dash for ranges

* Hyphen to dash for ranges

* Hyphen to dash for ranges

* Hyphen to dash for ranges

* Hyphen to dash for ranges
2021-01-05 13:56:44 -08:00
Patrick H. Lauke eb45005047 Remove old/unnecessary reboot bug fix (#32631)
From initial testing, this bug doesn't seem to manifest itself anywhere in Bootstrap (since we don't just set transparent background anywhere on buttons, and when we do set explicit button styles in the more specific stylings, we already do create a custom `:focus` style anyway)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-05 22:20:35 +02:00
Théophile Helleboid - chtitux 265605bba0 carousel example: Move "active" class on .nav-link element (#32647) (#32647)
The "active" CSS class must be on "nav-link" element, see `_navbar.scss`:

```css
.nav-link.active {
  color: $navbar-dark-active-color;
}
```

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-05 22:15:59 +02:00
Mark Otto dfe1b156d1 Fixes #32557: Add functions and variables to the utilities API docs imports (#32684)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-05 22:11:56 +02:00
Patrick H. Lauke fd48a8732f Remove incorrect mention of dropdowns for dynamic tab behavior (#32634)
While technically it still works, we're already saying authors shouldn't do it later on, and we removed any examples of this. This was a straggler.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-05 22:04:06 +02:00
XhmikosR 97a3ef357d CI: update to actions/setup-node@v2 (#32635) 2021-01-05 21:56:31 +02:00
XhmikosR baa8d3702f Regenerate package-lock.json (#32680) 2021-01-05 21:55:57 +02:00
Patrick H. Lauke e1e6f5684e Tweak the wording for collapse to indicate button is preferred/more semantic (#32632)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-05 21:53:50 +02:00
XhmikosR d5b6971814 Update dependabot.yml 2021-01-05 21:52:48 +02:00
XhmikosR 8f33f7865d dependabot: Add Actions updates (#32681) 2021-01-05 21:30:29 +02:00
dependabot[bot] 1bfe4780d4 Bump rollup from 2.35.1 to 2.36.0 (#32683)
Bumps [rollup](https://github.com/rollup/rollup) from 2.35.1 to 2.36.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.35.1...v2.36.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-05 16:08:04 +02:00
dependabot[bot] e27bd176bf Bump find-unused-sass-variables from 3.0.0 to 3.1.0 (#32682)
Bumps [find-unused-sass-variables](https://github.com/XhmikosR/find-unused-sass-variables) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/XhmikosR/find-unused-sass-variables/releases)
- [Commits](https://github.com/XhmikosR/find-unused-sass-variables/compare/v3.0.0...v3.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-05 15:51:47 +02:00
dependabot[bot] fdd76d6d0c Bump eslint-config-xo from 0.33.1 to 0.34.0 (#32679)
Bumps [eslint-config-xo](https://github.com/xojs/eslint-config-xo) from 0.33.1 to 0.34.0.
- [Release notes](https://github.com/xojs/eslint-config-xo/releases)
- [Commits](https://github.com/xojs/eslint-config-xo/compare/v0.33.1...v0.34.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-05 15:24:56 +02:00
dependabot[bot] c6240401f5 Bump sass from 1.30.0 to 1.32.0 (#32677)
Bumps [sass](https://github.com/sass/dart-sass) from 1.30.0 to 1.32.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.30.0...1.32.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-05 14:59:33 +02:00
dependabot[bot] ae3fa0e679 Bump postcss from 8.2.1 to 8.2.2 (#32676)
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.1 to 8.2.2.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.1...8.2.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-05 14:54:21 +02:00
dependabot[bot] 5672401b15 Bump eslint-plugin-unicorn from 25.0.0 to 25.0.1 (#32675)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 25.0.0 to 25.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v25.0.0...v25.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-05 14:49:06 +02:00
dependabot[bot] 9d95e11eda Bump hugo-bin from 0.67.1 to 0.68.0 (#32674)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.67.1 to 0.68.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.67.1...v0.68.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-05 12:48:54 +02:00
dependabot[bot] 99b3470e82 Bump eslint from 7.16.0 to 7.17.0 (#32673)
Bumps [eslint](https://github.com/eslint/eslint) from 7.16.0 to 7.17.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.16.0...v7.17.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-05 12:36:44 +02:00
Patrick H. Lauke b05145c951 Add an actual data-bs-touch="false" example in the carousel docs (#32638)
* Add an actual `data-touch="false"` example in the carousel docs

this can also make it easier to actually check/debug any issues we may have with this data attribute

* Correct attribute table explanation and remove slide class from example
2020-12-29 15:40:42 +02:00
dependabot[bot] 122b2bdd48 Bump eslint-plugin-unicorn from 24.0.0 to 25.0.0 (#32644)
* Bump eslint-plugin-unicorn from 24.0.0 to 25.0.0

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 24.0.0 to 25.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v24.0.0...v25.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Fix renamed eslint-plugin-unicorn options

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-29 12:52:32 +02:00
dependabot[bot] 0fc072649e Bump linkinator from 2.8.2 to 2.11.2 (#32645)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 2.8.2 to 2.11.2.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v2.8.2...v2.11.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-29 12:35:20 +02:00
dependabot[bot] 93a4c0fbf7 Bump rollup-plugin-istanbul from 2.0.1 to 3.0.0 (#32646)
Bumps [rollup-plugin-istanbul](https://github.com/artberri/rollup-plugin-istanbul) from 2.0.1 to 3.0.0.
- [Release notes](https://github.com/artberri/rollup-plugin-istanbul/releases)
- [Changelog](https://github.com/artberri/rollup-plugin-istanbul/blob/main/CHANGELOG.md)
- [Commits](https://github.com/artberri/rollup-plugin-istanbul/compare/v2.0.1...v3.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-29 12:31:04 +02:00
Mark Otto a48a29a7a5 Tweak .form-select padding (#32419)
* Tweak .form-select padding

* Simplify the padding entirely

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-28 08:27:03 +02:00
XhmikosR bcf69163cd Lock karma-browserstack-launcher and regenerate package-lock.json (#32593) 2020-12-22 15:45:01 +02:00
dependabot[bot] 8e426a32bc Bump linkinator from 2.8.0 to 2.8.2 (#32592)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 2.8.0 to 2.8.2.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v2.8.0...v2.8.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-22 12:34:38 +02:00
dependabot[bot] f50b867be8 Bump eslint from 7.15.0 to 7.16.0 (#32591)
Bumps [eslint](https://github.com/eslint/eslint) from 7.15.0 to 7.16.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.15.0...v7.16.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-22 12:28:47 +02:00
dependabot[bot] c1197ad37f Bump hugo-bin from 0.67.0 to 0.67.1 (#32590)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.67.0 to 0.67.1.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.67.0...v0.67.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-22 12:23:30 +02:00
XhmikosR 9b7bb7b568 docs(sidebar): invalid CSS value (#32575)
Co-authored-by: Gaël Poupard <gael.poupard@orange.com>
2020-12-21 18:54:03 +02:00
Daniele Faraglia 59cd71631e collapse: prevent url change if A nested tag is clicked (#32438)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-21 14:37:35 +02:00
Nils K 2d46e47464 Support Popper virtual elements (#32376)
Adds the ability to use objects implementing the virtual element interface as the value for the reference option of a dropdown config.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-21 14:32:11 +02:00
XhmikosR 44667d89fa API docs: add missing comma (#32543) 2020-12-21 11:12:28 +02:00
Florian Lacreuse 86802f701c Add keyboard-focusable elements for popover on disabled button (#32490) 2020-12-20 20:28:58 +02:00
XhmikosR e468917731 Revert "Update karma-browserstack-launcher to v1.6.0 (#32409)" (#32494)
This reverts commit e2324731de.
2020-12-20 17:38:11 +02:00
XhmikosR d140f50b35 Tooltips: add missing space (#32529) 2020-12-20 17:12:22 +02:00
joe 561c0d8cde added class selector "." to "dropend" (#32534)
It was missing the `.` before `dropend`.
2020-12-19 08:23:50 +02:00
Gaël Poupard 58ab1c2cd5 test(carousel): french word in the wild (#32528) 2020-12-18 17:22:16 +02:00
dependabot[bot] 66f323af70 Bump eslint-plugin-unicorn from 23.0.0 to 24.0.0 (#32516)
* Bump eslint-plugin-unicorn from 23.0.0 to 24.0.0

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 23.0.0 to 24.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v23.0.0...v24.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Update karma.conf.js

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-18 15:11:07 +02:00
Siju Samson 517446069a docs: Fix popover example showing above navbar (#32445)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-18 10:19:30 +02:00
Marc Jansing f07106e604 Add helpers to utilities bundle (#32324)
Adds currently missing utilities classes which are located in scss/helpers to
boostrap-utilities dist files.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-18 07:39:39 +02:00
dependabot[bot] ef0bc661cf Bump @babel/preset-env from 7.12.10 to 7.12.11 (#32515)
* Bump @babel/preset-env from 7.12.10 to 7.12.11

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.10 to 7.12.11.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.11/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>

* Update package-lock.json

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-17 15:01:11 +02:00
Dylan Anderson df763d6457 Add variables for modifying button state colours. (#32317)
Add some variables to allow users to modify how much a button gets
lighter or darker on :hover and :active.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-17 07:16:54 +02:00
Dmytro Yaremenko 8984255158 Extended form validation states customization capabilities (#31757)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-17 07:07:48 +02:00
Rafi b424650ab5 Fix: variables collide with globals (#32492)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-17 07:02:20 +02:00
Rohit Sharma f12657b39f tests: replace deprecated jQuery method (#32309)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-16 17:21:43 +02:00
XhmikosR 29e4eb91c1 BrowserStack: test on macOS Catalina instead of High Sierra (#32486) 2020-12-16 12:45:48 +02:00
dependabot[bot] 269efc8dc9 Bump @popperjs/core from 2.5.4 to 2.6.0 (#32487)
* Bump @popperjs/core from 2.5.4 to 2.6.0

Bumps [@popperjs/core](https://github.com/popperjs/popper-core) from 2.5.4 to 2.6.0.
- [Release notes](https://github.com/popperjs/popper-core/releases)
- [Commits](https://github.com/popperjs/popper-core/compare/v2.5.4...v2.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Update config.yml

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-16 11:41:15 +02:00
Florian Lacreuse 4e7c9e56fc Fix popover docs example (#32489) 2020-12-15 17:27:06 +02:00
XhmikosR cc3a5cf79a Update package-lock.json 2020-12-15 09:46:22 +02:00
Patrick H. Lauke 65f1bf027a Docs: style clipboard button on :focus, not just :hover (#32461)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-15 09:43:12 +02:00
XhmikosR 479043f255 Update Release Drafter configuration (#32417)
* add "Breaking Changes" section
* add "Performance Improvements" section
* add "Utility API" section
* add "CI" label in "Misc" category
2020-12-15 09:36:25 +02:00
dependabot[bot] 0c195f690a Bump rollup from 2.34.2 to 2.35.1 (#32475)
Bumps [rollup](https://github.com/rollup/rollup) from 2.34.2 to 2.35.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.34.2...v2.35.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-15 09:34:02 +02:00
Gaël Poupard c2f67d72e8 docs(skip links): new powers for .visually-hidden-focusable 2020-12-15 09:22:14 +02:00
Patrick H. Lauke eae52b1cb0 Expand visually-hidden-focusable so it can be used on a container, so the container becomes visible when focus is inside it / on one of its child elements. 2020-12-15 09:22:14 +02:00
Kyle Tsang 9b6c815148 docs: Remove unneeded .form-group class (#32483) 2020-12-15 09:21:25 +02:00
Florian Lacreuse e8d14b302e Remove redundant pointer-events: none override for tooltip and popover disabled buttons (#32478)
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-15 09:17:58 +02:00
XhmikosR c3e8a0ef2a Update CodeQL Action (#32452) 2020-12-15 09:14:03 +02:00
Alan Orth e1f561b53c docs: Add system-ui to native font stack documentation (#32455)
system-ui was added to the native font stack in #30561 but the docs were not updated.
2020-12-15 09:10:09 +02:00
XhmikosR e2324731de Update karma-browserstack-launcher to v1.6.0 (#32409) 2020-12-15 09:04:50 +02:00
XhmikosR a3ead0786a Flatten package-lock.json (#32477) 2020-12-15 09:00:15 +02:00
Rohit Sharma 042a4a255f Tooltip/popover - change the default value for fallbackPlacements (#32437)
The default Popper `fallbackPlacements` value is `[oppositePlacement]`.

- The default value was previously (in v4) `'flip'` that can be achieved by passing the single value in the array, like — `[oppositePlacement]`. Keeping `null` also sets the `fallbackPlacements` to `[oppositePlacement]` (Default value in Popper)
- It's better to have **clockwise** (`['top', 'right', 'bottom', 'left']`) fallback options so that tooltip/popover can be placed to another side even if the opposite placement doesn't fit.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-14 20:51:14 +02:00
Florian Lacreuse 793c79d14b Clean up lorem ipsum text in popover examples (#32479) 2020-12-14 20:26:16 +02:00
dependabot[bot] 25326a0114 Bump @rollup/plugin-node-resolve from 11.0.0 to 11.0.1 (#32476)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 11.0.0 to 11.0.1.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v11.0.0...commonjs-v11.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-14 17:26:22 +02:00
dependabot[bot] a60d8c0d58 Bump postcss-cli from 8.3.0 to 8.3.1 (#32471)
Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 8.3.0 to 8.3.1.
- [Release notes](https://github.com/postcss/postcss-cli/releases)
- [Changelog](https://github.com/postcss/postcss-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-cli/compare/8.3.0...8.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-14 16:41:34 +02:00
Mark Otto 071f914fa1 Add two new variables for pagination border-radius values (#32423)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-14 15:34:01 +02:00
Jesse Mandel a31ea592d6 Few updates for v5.0.0-beta1 NuGet support (#32453)
PopperJS 2.0 isn't on Nuget so dropped as a dependency
2020-12-14 14:34:31 +02:00
Florian Lacreuse fe3658672c Add missing has-validation in checkout examples (#32464) 2020-12-14 14:33:20 +02:00
Rohit Sharma ebce95dc60 Tooltip - Add missing callback in async spec (#32465) 2020-12-14 13:02:34 +02:00
Gaël Poupard b85ca045e0 fix(carousel): switch prev/next directions in RTL 2020-12-14 11:11:47 +02:00
Gaël Poupard e967ecf900 docs(cheatsheet): fix RTL sidenav arrows 2020-12-14 11:11:47 +02:00
Alan Orth f2b39d620c examples: Update font utility classes to new v5 versions (#32449)
* site: Fix .font-italic to .fst-italic in blog example

The font utility class was renamed from .font-italic to .fst-italic
but a few references didn't get updated.

* site: Fix .font-weight-* to .fw-* in RTL examples

These font utility classes were renamed from .font-weight-* to .fw-*
but a few references didn't get updated.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-14 10:51:21 +02:00
dependabot[bot] 78389b2acf Bump rtlcss from 2.6.2 to 3.0.0 (#32431)
Bumps [rtlcss](https://github.com/MohammadYounes/rtlcss) from 2.6.2 to 3.0.0.
- [Release notes](https://github.com/MohammadYounes/rtlcss/releases)
- [Changelog](https://github.com/MohammadYounes/rtlcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/MohammadYounes/rtlcss/compare/2.6.2...3.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-14 10:44:22 +02:00
Patrick H. Lauke b2477cc70c Straggler lorem ipsum text (#32463) 2020-12-14 09:38:59 +02:00
Patrick H. Lauke 764e5298de Replace Lorem Ipsum placeholder text with more representative (or at least english language) text (#32246)
Replaces shorter examples with more sensible/representative/inforrmative text. For longer passages, resorted to using SFW extracts from http://katyperryipsum.com/
2020-12-11 20:05:33 +00:00
XhmikosR 93ab072027 carousel: switch to string constants (#32393) 2020-12-11 16:12:13 +02:00
Martijn Cuppens 62eb5a3232 Use box shadows instead of linear gradients to colorize tables (#32348)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-11 15:49:22 +02:00
XhmikosR 81042ff467 terser: use 2 passes instead of the default 1. (#32185)
Saves us a few bytes.
2020-12-11 15:48:21 +02:00
XhmikosR d154f0df7f Use the ternary operator in a few more places (#32303) 2020-12-11 15:47:34 +02:00
dependabot[bot] d28d74f58c Bump @babel/preset-env from 7.12.7 to 7.12.10 (#32430)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.7 to 7.12.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.10/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 10:12:55 +02:00
dependabot[bot] e534aa2b9f Bump @babel/core from 7.12.9 to 7.12.10 (#32429)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.9 to 7.12.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.10/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 10:08:10 +02:00
dependabot[bot] f2169e6dc3 Bump @babel/cli from 7.12.8 to 7.12.10 (#32428)
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.12.8 to 7.12.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.10/packages/babel-cli)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 10:02:17 +02:00
Rohit Sharma 4535b09c46 Tooltip - check if tip and its parent node exist in dispose method (#32420) 2020-12-10 21:06:41 +02:00
XhmikosR 1edec546cb Remove TRANSITION_END from utils (#32394) 2020-12-10 16:54:50 +02:00
Gaël Poupard 7e47b7ecc9 Reset Popper position in RTL (#32415)
The RTL cheatsheet's dropdowns aren't positioned correctly because of RTLCSS transforming `right: auto` to `left:auto` (which conflicts with Popper positioning).
2020-12-10 16:38:42 +02:00
XhmikosR c34385eb01 CI: add a 30-min timeout for BrowserStack (#32238) 2020-12-10 11:52:22 +02:00
XhmikosR 4341c34261 docs: SVG consistency changes (#32259)
* Move inlined SVG to a partial.

Also, add `fill="currentColor"` in the SVGs.

* docs: reorder attributes
2020-12-10 11:48:14 +02:00
AlexKoala ecb38f6ac2 docs: Add Korean translation (#32284)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-10 11:24:02 +02:00
Thomas Güttler 6f0545b61b Typo: show on xxl, if only xl should be hidden. (#32287)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-10 11:22:40 +02:00
XhmikosR c75a56d550 CONTRIBUTING: mention dist files (#32314)
* CONTRIBUTING: mention dist files

* Update CONTRIBUTING.md

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2020-12-10 10:55:11 +02:00
XhmikosR 9651ebf3c7 Update devDependencies and regenerate package-lock.json (#32410) 2020-12-10 00:38:49 +02:00
XhmikosR 6f9c38f65e carousel: switch to if/else (#32395)
There are only two conditions, so `if/else` is shorter and has the same effect.
2020-12-10 00:38:24 +02:00
Martijn Cuppens 8fed098ef9 Utility API, RFS option: Only generate responsive classes when needed (#32397)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-09 23:49:21 +02:00
Christian Oliff aa2df26b55 Remove duplicated 'follow Bootstrap on Twitter' link in Community section (#32399)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-09 23:45:27 +02:00
Martijn Cuppens f132400865 Add fallback behaviour 2020-12-09 13:34:51 -08:00
Gaël Poupard 0f12f58711 cheatsheet: Drop redundant (current) text (#32401)
Useless since we're using `aria-current` (see #31891).
2020-12-09 17:54:47 +02:00
XhmikosR 0ca5addea4 alert: rename variables for consistency (#32392) 2020-12-09 15:09:41 +02:00
XhmikosR 41bc0e26d2 SelectorEngine: drop variable used once (#32391) 2020-12-09 15:05:52 +02:00
kyletsang 77771cdf00 Remove offset in Popover docs
Fix fallbackPlacements in Popover and Tooltip docs
2020-12-09 15:02:46 +02:00
kyletsang 290b295173 docs: Update Popper 2 doc links 2020-12-09 15:02:46 +02:00
Gaël Poupard d29680b3cb Fix missed occurrencies of "Popper.js" (#32398) 2020-12-09 14:53:43 +02:00
XhmikosR b1290ff189 Regenerate package-lock.json (#32378) 2020-12-08 12:41:41 +02:00
dependabot[bot] a4d9bc0431 Bump postcss from 8.1.14 to 8.2.0 (#32375)
Bumps [postcss](https://github.com/postcss/postcss) from 8.1.14 to 8.2.0.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.1.14...8.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-08 12:26:40 +02:00
dependabot[bot] f8b5faff45 Bump autoprefixer from 10.0.4 to 10.1.0 (#32374)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.0.4 to 10.1.0.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.0.4...10.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-08 12:21:42 +02:00
XhmikosR d3946e7646 Update devDependencies (#32355)
* eslint      ^7.14.0  →  ^7.15.0
* linkinator   ^2.5.1  →   ^2.8.0
* postcss     ^8.1.10  →  ^8.1.14
* rollup      ^2.34.0  →  ^2.34.2
* sass        ^1.29.0  →  ^1.30.0
2020-12-08 10:57:36 +02:00
alpadev 85208ae557 Refactor components to use a utility function to define jQuery plugins (#32285)
* refactor: use an utility function to define jQuery plugins

* test: add spec for defineJQueryPlugin utility function

* Update .bundlewatch.config.json

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-08 08:16:50 +02:00
Radu Chiriac 07b60d2c3e carousel.md: fix $carousel-transition-duration reference (#32316)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-08 08:06:08 +02:00
XhmikosR d15a0247ce Remove SelectorEngine.matches(). (#32339)
It's basically unused.
2020-12-07 19:10:20 +02:00
Mark Otto 33b275c04b Remove vertical-align from .form-select (#32318)
Aligns the component with the .form-control. Closes #32271.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-07 19:08:31 +02:00
XhmikosR 5538ffb292 build-plugins: switch to "bundled" for babel helpers (#32312) 2020-12-07 19:06:17 +02:00
Patrick H. Lauke ab49e362a7 Add a callout for the sanitizer in popovers and tooltips (#32272)
* Add a callout for the sanitizer in popovers and tooltips

* Add second reference to sanitizer in the options

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-07 18:57:33 +02:00
XhmikosR 63f3d939ea Dist 2020-12-07 18:18:16 +02:00
XhmikosR bc4272531b Revert v5.getbootstrap.com changes 2020-12-07 18:18:16 +02:00
XhmikosR 8dc85c657e Prepare v5.0.0-beta1. 2020-12-07 18:18:16 +02:00
Gaël Poupard 9312442338 fix(dropdown): ensure [style] will override inline styles 2020-12-06 18:42:40 +02:00
Gaël Poupard 6a27618d21 fix(RTL) 2020-12-06 18:42:40 +02:00
XhmikosR 4eea630d16 Be explicit with element.closest()'s return value 2020-12-06 18:42:40 +02:00
Martijn Cuppens d8f247392d Fix conflict with Bootstrap CSS 2020-12-06 18:42:40 +02:00
XhmikosR 4447157446 Tighten bundlewatch limits 2020-12-06 18:42:40 +02:00
Martijn Cuppens 861227887e Change button copy to make the example clearer 2020-12-06 18:42:40 +02:00
Martijn Cuppens 87e56de066 Override margins set by popper 2020-12-06 18:42:40 +02:00
XhmikosR adec91e8fc Move and update migration notes 2020-12-06 18:42:40 +02:00
XhmikosR 6c32de8711 Update popper.js to v2.5.4. 2020-12-06 18:42:40 +02:00
Johann-S adfdf7160b Update to popper.js v2.x 2020-12-06 18:42:40 +02:00
Martijn Cuppens 5f89ea3a0f Add toasts & positioning utilities migration docs 2020-12-04 16:15:51 +02:00
Martijn Cuppens 6c069b6976 Add interactive positioning widget 2020-12-04 16:15:51 +02:00
Martijn Cuppens 5b0dcf8ffe Add .translate-middle-x and .translate-middle-y utilities 2020-12-04 16:15:51 +02:00
Martijn Cuppens 1f2e600304 Add toast positioning 2020-12-04 16:15:51 +02:00
XhmikosR 321ee7a1ad cheatsheet.js: use event instead of e (#32335) 2020-12-04 16:00:21 +02:00
XhmikosR 85acd96e31 Fix css-prefix-examples-rtl script (#32326)
`cross-env-shell` should be used since we are using variables in the command
2020-12-04 08:40:16 +02:00
Gaël Poupard 0a141dae94 chore(dist): generate dist files 2020-12-04 07:52:03 +02:00
Mark Otto 53d861c814 fix gradient 2020-12-04 07:52:03 +02:00
Gaël Poupard 082723f3f4 docs(cheatsheet): various fixes 2020-12-04 07:52:03 +02:00
Mark Otto 153f6c72ce Revamp header, headings, aside spacing
Gradients caused artifacts in Safari, layout was feeling a little loose
2020-12-04 07:52:03 +02:00
Gaël Poupard 3ef8483c5d docs(examples): use RTLCSS for RTL examples 2020-12-04 07:52:03 +02:00
XhmikosR eb618393e3 Move rtlcss to postcss.config.js 2020-12-04 07:52:03 +02:00
XhmikosR edfa103444 Adapt to the recent main branch changes 2020-12-04 07:52:03 +02:00
Gaël Poupard aaff11a0b3 docs(examples): new cheatsheet and RTL examples 2020-12-04 07:52:03 +02:00
Gaël Poupard 9488978fb5 feat(RTL): implement RTL
Using RTLCSS directives, renaming things to use logical names and following best practices.
2020-12-04 07:52:03 +02:00
Gaël Poupard 71ecc3323f chore(RTL): add RTLCSS 2020-12-04 07:52:03 +02:00
XhmikosR cfe31592d7 Dist (#32323) 2020-12-03 16:18:59 +02:00
XhmikosR cfd00b5eeb Remove Polyfill leftovers (#32310)
Leftovers from #32057
2020-12-02 08:30:35 +02:00
XhmikosR bb369ca813 Update our browserslist config (#30986)
Use browserslist defaults which is `> 0.5%, last 2 versions, Firefox ESR, not dead`
2020-12-02 06:53:12 +02:00
dependabot[bot] 9a4692d4e3 Bump cross-env from 7.0.2 to 7.0.3 (#32308)
Bumps [cross-env](https://github.com/kentcdodds/cross-env) from 7.0.2 to 7.0.3.
- [Release notes](https://github.com/kentcdodds/cross-env/releases)
- [Changelog](https://github.com/kentcdodds/cross-env/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kentcdodds/cross-env/compare/v7.0.2...v7.0.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-02 06:46:31 +02:00
XhmikosR 701c6c6e77 Unbreak lines. (#32304) 2020-12-02 06:45:15 +02:00
dependabot[bot] f05d64225d Bump linkinator from 2.4.0 to 2.5.1 (#32307)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 2.4.0 to 2.5.1.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v2.4.0...v2.5.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-02 06:38:23 +02:00
Martijn Cuppens bf3c4d0b68 Use $variable-prefix 2020-12-01 19:17:06 +02:00
XhmikosR 5e3219a9bb Fix empty CSS variable 2020-12-01 19:17:06 +02:00
Mark Otto 08eb92204e Add to migration docs 2020-12-01 19:17:06 +02:00
Mark Otto 3b015ed34e Update breadcrumb docs and dividers
- Add CSS custom property with fallback to Sass variable
- Update docs to mention the new CSS custom property
- Rewrite some of the docs to use divider instead of separator, and add some context here and there
2020-12-01 19:17:06 +02:00
Patrick H. Lauke ff130b17dc Remove background, padding, border from breadcrumb container 2020-12-01 19:17:06 +02:00
XhmikosR c27ff64c96 README: fix path to search.js (#32257) 2020-12-01 12:57:58 +02:00
XhmikosR f08cef3cf4 Regenerate package-lock.json (#32300) 2020-12-01 12:53:14 +02:00
dependabot[bot] 5954cc11c4 Bump hugo-bin from 0.66.2 to 0.67.0 (#32299)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.66.2 to 0.67.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.66.2...v0.67.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-01 12:45:13 +02:00
dependabot[bot] c800bb0a13 Bump rollup from 2.33.3 to 2.34.0 (#32298)
Bumps [rollup](https://github.com/rollup/rollup) from 2.33.3 to 2.34.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.33.3...v2.34.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-01 12:37:12 +02:00
dependabot[bot] f75e471f00 Bump @babel/core from 7.12.8 to 7.12.9 (#32297)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.8 to 7.12.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.9/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-01 12:33:02 +02:00
dependabot[bot] 819ab1f21d Bump @rollup/plugin-babel from 5.2.1 to 5.2.2 (#32296)
Bumps [@rollup/plugin-babel](https://github.com/rollup/plugins) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/babel-v5.2.1...babel-v5.2.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-01 12:30:12 +02:00
dependabot[bot] efc95a804e Bump @rollup/plugin-commonjs from 16.0.0 to 17.0.0 (#32295)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 16.0.0 to 17.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v16.0.0...commonjs-v17.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-01 12:26:00 +02:00
dependabot[bot] a37afee738 Bump linkinator from 2.2.2 to 2.4.0 (#32294)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 2.2.2 to 2.4.0.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v2.2.2...v2.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-01 12:20:55 +02:00
dependabot[bot] 78474bfa15 Bump @rollup/plugin-node-resolve from 10.0.0 to 11.0.0 (#32292)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 10.0.0 to 11.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v10.0.0...commonjs-v11.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-01 12:15:22 +02:00
dependabot[bot] 83e0a888bd Bump autoprefixer from 10.0.2 to 10.0.4 (#32291)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.0.2 to 10.0.4.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.0.2...10.0.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-01 12:05:26 +02:00
Rohit Sharma c3689ac073 Remove the show property from the modal plugin (#32279)
Drop the support of show property from the modal plugin.
When creating the new modal instance in v5, the `show` property does not work anymore, so instead of fixing the behavior just removing it permanently to keep the consistency between all the plugins. (All other plugins require the `show()` method to be called on the instances to be shown)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-30 12:12:40 +02:00
XhmikosR 03ed3e0b3b tooltip.js: reuse existent variable 2020-11-30 12:07:51 +02:00
XhmikosR dd992c7226 Add tests 2020-11-30 12:07:51 +02:00
Patrick H. Lauke adc857f617 Extra check for existence of any aria-label
before overwriting it...
2020-11-30 12:07:51 +02:00
Matty Williams b0372bb658 Accessibility update for tooltip.js
Update to the tooltip.js to add an aria-label attribute that contains the original title of the element, but only if the element doesn't have an existing aria-label attribute.

This is to address cases where screen readers are not capturing the aria-describedby attribute that is added when the tooltip is triggered.  This should also avoid a race condition between the screen reader and the appearance of the tooltip.
2020-11-30 12:07:51 +02:00
Rohit Sharma af57444405 Keep rounded corners for the first .btn in vertical button group (#31303)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-30 11:09:55 +02:00
Martijn Cuppens ff25a75320 Remove default linear gradient (#32277)
Remove the default invisible gradient causing the performance issue in #32266. By removing the custom property, the linear gradient will become invalid, thus not appear by default.

There can still be a performance issue with striped tables though.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-30 10:51:32 +02:00
Patrick H. Lauke 948f834347 Add mention of link underline change to migration and typography (#32281)
x-ref https://github.com/twbs/bootstrap/discussions/32276#discussioncomment-141850

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-30 07:02:03 +02:00
Rohit Sharma 04674f88b0 Remove setData from construtors (#32264) 2020-11-29 20:58:26 +02:00
Johann-S 4999c3dbbc remove data key in base component 2020-11-29 20:58:26 +02:00
Rohit Sharma f6a8733741 Move VERSION to BaseComponent (#32254) 2020-11-29 20:58:26 +02:00
Johann-S 9eb9d02084 add dispose in base component 2020-11-29 20:58:26 +02:00
XhmikosR 51a208f119 Switch to Jasmine's toBeInstanceOf matcher 2020-11-29 20:58:26 +02:00
Johann-S 9f6b342dc7 create a base component 2020-11-29 20:58:26 +02:00
XhmikosR c63aebc86b homepage: fix wrong alt attribute (#32258) 2020-11-25 18:31:34 +02:00
XhmikosR 81ac002a02 npm scripts: run integration tests in parallel (#32232) 2020-11-25 09:29:16 +02:00
Rohit Sharma c348ad4a94 Ability to add custom class in tooltip/popover (#32217)
Porting of #31834 to main.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-25 09:16:22 +02:00
XhmikosR d61f506a5f Update codeql.yml (#32125)
Specify the branches and clean up the comments
2020-11-24 08:35:33 +02:00
XhmikosR 7ff881c532 Update devDependencies (#32229)
* @babel/cli         ^7.12.1  →  ^7.12.8
* @babel/core        ^7.12.3  →  ^7.12.8
* @babel/preset-env  ^7.12.1  →  ^7.12.7
* eslint             ^7.13.0  →  ^7.14.0
* postcss             ^8.1.7  →   ^8.1.10
* postcss-cli         ^8.2.0  →   ^8.3.0
* rollup             ^2.33.2  →  ^2.33.3
* stylelint          ^13.7.2  →  ^13.8.0
2020-11-24 08:19:25 +02:00
XhmikosR d8ff27721b introduction: split comments (#32223) 2020-11-23 22:17:37 +02:00
XhmikosR 767db7b746 tests/integration/index.html: revert accidental changes 2020-11-23 22:14:52 +02:00
Rohit Sharma 7c7f08b5e0 Update bundle.js in tests/integration (#32233)
* Use `[].concat` instead of direct spreading nodelist

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-23 21:35:46 +02:00
XhmikosR 8f8787725b Update _syntax.scss (#32117)
* Update _syntax.scss with the latest chroma selectors

* Sort selectors

* Remove no longer needed chroma workaround

* remove comments
2020-11-23 21:34:38 +02:00
XhmikosR fdc40f5053 CI: specify FORCE_COLOR:2 (#32222)
This should show any colors in the output
2020-11-23 21:32:25 +02:00
XhmikosR ee2bcdec3d postcss.config.js: remove arrow return (#32235) 2020-11-23 16:11:16 +02:00
XhmikosR 3e823e0b75 Dist (#32216) 2020-11-23 15:17:16 +02:00
Noah Rosenzweig 21737ed530 Improve build/generate-sri.js regex (#29753)
When using single-quotes in config.yml, the previous
regular expression in build/generate-cli.js wasn't working correctly,
it was replacing ALL string values with hashes.
Now both double- and single-quotes can be used in config.yml,
and the RegExp will work as expected.

Also, allow trailing whitespaces and empty ("") values to be matched.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-21 21:39:33 +02:00
XhmikosR d365831bce docs: use event instead of e (#32226)
It's better for clarity.
2020-11-21 17:00:38 +02:00
XhmikosR f4457bca02 Be consistent with Popper's name. (#32224)
The npm package is named "popper.js" but the project is named "Popper", so use the latter consistently.
2020-11-21 16:22:08 +02:00
Rohit Sharma 358c36d4b5 Add missing tags in unit tests (#32221) 2020-11-20 20:10:15 +02:00
Rohit Sharma 0839cbf04d Don't hide modal when keyboard is set to false in modal's configuration (#32179)
* Don't hide modal when config.keyboard is false

* Update unit test

- Modal should not be closed when pressing esc key if keyboard = false
  and backdrop is 'static'

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-20 15:36:24 +02:00
Rohit Sharma 2630b05eb3 Make the attribute methods bs specific (#32173)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-20 11:13:13 +02:00
XhmikosR a96b118f04 _reboot.scss: remove needless Stylelint disable (#32213) 2020-11-20 09:54:24 +02:00
XhmikosR 6637154beb Revert "Use Hugo mounts for our docs vendor files." (#32210)
* Revert "Adapt to the recent main changes"

This reverts commit 50d8921670.

* Revert "Add Hugo Pipes logic for local and vendored scripts."

This reverts commit 3fcfd606f2.

* Revert "Use Hugo mounts for our docs vendor JS files."

This reverts commit 6b071116f3.
2020-11-19 21:09:34 +02:00
XhmikosR 50d8921670 Adapt to the recent main changes
* remove `bs-custom-file-input.min.js`
* switch to errorf
* change error message
2020-11-19 20:54:42 +02:00
Regis Philibert 3fcfd606f2 Add Hugo Pipes logic for local and vendored scripts. 2020-11-19 20:54:42 +02:00
XhmikosR 6b071116f3 Use Hugo mounts for our docs vendor JS files. 2020-11-19 20:54:42 +02:00
Gaël Poupard 268da84f16 fix(container): use $variable-prefix (#32201)
Missed that while merging.
2020-11-19 20:38:39 +02:00
XhmikosR 2185803964 Fix a few typos (#32204) 2020-11-19 20:32:35 +02:00
Martijn Cuppens 8f3c8a922a Manually optimize SVGs (#32187) 2020-11-19 19:07:06 +01:00
XhmikosR 65d6c8a731 docs: update selector CodePen example (#32163) 2020-11-19 17:15:40 +02:00
XhmikosR 64a864075c examples: add the version number in title (#32198) 2020-11-19 13:38:48 +02:00
Mark Otto 7fec0ec3d7 Update migration guide about w-100 2020-11-19 07:47:06 +02:00
XhmikosR ecbc7189b6 examples: fix .btn-block instances 2020-11-19 07:47:06 +02:00
Jiang Yan 5501df0c29 Docs: fix homepage npm install version (#32194) 2020-11-19 07:42:44 +02:00
Patrick H. Lauke 5ec6400bd0 Docs: change sidebar collapse controls to actual button elements (#31098)
apart from the visual styling, there's probably no good reason why these shouldn't be `<button>` elements, semantically

the buttons still look a shade too button-like, despite using `.btn-light`. the last remnant of button styling can probably be suppressed further, *or* this makes the case for expanding the core button styles to have one that looks completely non-button and non-link like (for cases where an additional style/hint was given already, or it's clear from context that something's an actionable button or link)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-18 20:20:05 +02:00
Matt Shaw de8dbd72d8 correct "breakpoint" typo (#32191)
breakpoing --> breakpoint
2020-11-18 18:15:28 +02:00
Kyle Tsang 39b9879aa2 docs: Add missing .has-validation class for input group example (#32162)
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-18 13:08:26 +02:00
XhmikosR 2d4f1b272c Update karma.conf.js (#32182)
When we are on CI, this statement won't be reached.
2020-11-18 13:06:04 +02:00
Gaël Poupard 2b0b3091a0 docs(dropdowns): clarify where is .show applied (#32189)
Fixes #32712
2020-11-18 12:50:55 +02:00
Gaël Poupard 1955ffc01e Handle Chromium to run Karma (#32178)
* chore(karma): handle Chromium to run tests

* Update karma.conf.js

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-17 21:42:55 +02:00
Christian Oliff 5cda50e5bd Fix the marker SVG color to match the button (#32174) 2020-11-17 16:53:50 +02:00
XhmikosR 9f211231b0 docs: use expanded Sass output style for development (#32176) 2020-11-17 16:43:36 +02:00
XhmikosR bec6eef971 skippy.html: reduce whitespace output 2020-11-17 16:35:32 +02:00
Tiger Oakes 4c9597ef7e Add baseof layout 2020-11-17 15:54:47 +02:00
Tiger Oakes 933b6510ca Move redirect layout into partial 2020-11-17 15:54:47 +02:00
dependabot[bot] ff405475a2 Bump postcss from 8.1.6 to 8.1.7 (#32171)
Bumps [postcss](https://github.com/postcss/postcss) from 8.1.6 to 8.1.7.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.1.6...8.1.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-17 15:22:19 +02:00
dependabot[bot] 2746df251a Bump hugo-bin from 0.66.1 to 0.66.2 (#32169)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.66.1 to 0.66.2.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.66.1...v0.66.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-17 15:17:17 +02:00
dependabot[bot] 0d6c89de95 Bump rollup from 2.33.1 to 2.33.2 (#32168)
Bumps [rollup](https://github.com/rollup/rollup) from 2.33.1 to 2.33.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.33.1...v2.33.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-17 15:08:22 +02:00
XhmikosR 60c79b28aa BrowserStack: test both on iPhone 7 and iPhone X (#32154) 2020-11-16 14:31:03 +02:00
XhmikosR b5a64ce60f Switch to jsDelivr for the remaining docs assets (#32158) 2020-11-15 14:21:01 +02:00
XhmikosR 6316565fa9 popovers.md: unbreak line (#32153) 2020-11-14 15:59:35 +02:00
XhmikosR 12f510861b search.js: remove window.location.origin workaround 2020-11-14 15:54:50 +02:00
XhmikosR eaf616c653 Use Array.find instead of Array.filter 2020-11-14 15:54:50 +02:00
XhmikosR 53ec604eb1 Use String.startsWith 2020-11-14 15:54:50 +02:00
XhmikosR 6d7bc54d22 Switch to Set#has() 2020-11-14 15:54:50 +02:00
XhmikosR 2e758f64cf Switch to Number properties 2020-11-14 15:54:50 +02:00
XhmikosR b9f7668cf6 Switch to String.includes() 2020-11-14 15:54:50 +02:00
XhmikosR 470e99ed5f tooltip.js: deduplicate _fixTitle() (#32124) 2020-11-14 15:43:25 +02:00
Gaël Poupard 44fef1677b Simplify make-container() (#31735) 2020-11-14 14:33:10 +01:00
XhmikosR 4f8b243ac1 Fix .close instances (#32152) 2020-11-14 08:16:30 +02:00
XhmikosR f39666b61c Move migration notes 2020-11-14 07:09:15 +02:00
Rohit Sharma e530118117 Get only bs prefixed data attributes 2020-11-14 07:09:15 +02:00
XhmikosR a7f04e9595 Update the remaining files 2020-11-14 07:09:15 +02:00
Mark Otto b38110aa7d Add note in migration.md 2020-11-14 07:09:15 +02:00
XhmikosR ccee9d5de7 Rename docs version data attribute 2020-11-14 07:09:15 +02:00
Rohit Sharma 418f17ee2b Add bs in data attributes
- Add `bs` in data APIs everywhere
- Update unit tests
2020-11-14 07:09:15 +02:00
Mark Otto fe961c192d Move states docs and rewrite to match existing examples 2020-11-13 20:16:05 +01:00
Nikita Mikhaylov 1fddb48aff Add hover utilities
remome several hobers

refactoring hover utilities

refactoring hover utilities
2020-11-13 20:16:05 +01:00
Mark Otto 55f2192a39 Rename scale-color() function to shift-color() to avoid collision with Sass's own color function (#32149) 2020-11-13 20:50:59 +02:00
XhmikosR 483b6413e9 application.js: remove non-existent selector (#32131) 2020-11-13 18:56:04 +02:00
Jonathan 5d14d41531 Add hyphen between Sass and based (#32134)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-13 18:49:55 +02:00
XhmikosR d5b405ea9a example.html: remove extra whitespace (#32143)
If we don't pass `class` to the `placeholder` shortcode, this resulted in two spaces before the `alt` attribute:

```html
{{< example >}}
{{< placeholder width="64" height="64" >}}
{{< /example >}}
```

```html
<img src="..."  alt="...">
```
2020-11-13 12:45:11 +02:00
Dylan Anderson 8a54cf598a Update floating-labels.md (#32139)
Fixed grammar error.
2020-11-12 18:12:42 +02:00
Christian Oliff 7d64031c87 Fix caniuse.com URLS to prevent redirects (#32135)
Shorter URLS which are faster as they avoid HTTP redirects
2020-11-12 15:01:00 +02:00
XhmikosR 384eccbfaf Prepare v5.0.0-alpha3 (#32122) 2020-11-11 19:07:37 +02:00
XhmikosR 7ad8967367 browsers-devices: add chomp (#32116)
This is to remove any trailing newlines in the `.browserslistrc` shortcode
2020-11-11 18:29:18 +02:00
Martijn Cuppens 3612a1e463 Use correct value order (#32121)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-11 18:27:12 +02:00
Christian Oliff bc4da38c8b Minor improvements to the Alpha 3 changelog (#32126)
Small changes for improved consistency

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-11 18:22:42 +02:00
XhmikosR bdf534df59 masthead: add newlines in the snippets and reindent (#32129)
* Update masthead-followup.html

* Update single.html
2020-11-11 18:18:47 +02:00
dependabot[bot] 2ab98a43f0 Bump autoprefixer from 10.0.1 to 10.0.2 (#32119)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.0.1 to 10.0.2.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.0.1...10.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 17:18:18 +02:00
Mark Otto b316e38d6a Clarify JS bundle docs one more time (#32105)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-10 09:35:40 +02:00
dependabot[bot] df6eb9335b Bump hugo-bin from 0.65.0 to 0.66.1 (#32114)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.65.0 to 0.66.1.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.65.0...v0.66.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-10 09:22:16 +02:00
dependabot[bot] 1569575860 Bump postcss from 8.1.4 to 8.1.6 (#32113)
Bumps [postcss](https://github.com/postcss/postcss) from 8.1.4 to 8.1.6.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.1.4...8.1.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 09:18:46 +02:00
dependabot[bot] 3576edd75a Bump eslint from 7.12.1 to 7.13.0 (#32112)
Bumps [eslint](https://github.com/eslint/eslint) from 7.12.1 to 7.13.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.12.1...v7.13.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 09:13:43 +02:00
dependabot[bot] b777d8c0f0 Bump sass from 1.28.0 to 1.29.0 (#32111)
Bumps [sass](https://github.com/sass/dart-sass) from 1.28.0 to 1.29.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.28.0...1.29.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 09:13:01 +02:00
XhmikosR d4c3dc5351 docs.html: replace backslashes with forward slashes (#32102)
This resulted in wrong links when building the docs on Windows.
2020-11-09 20:47:55 +02:00
XhmikosR 411fc649f2 modal.html: use textContent (#32101)
We are not handling any HTML
2020-11-09 20:47:33 +02:00
XhmikosR 1d86fcee7b search.js: check for search-input element early (#32100) 2020-11-09 20:47:02 +02:00
XhmikosR e347441f88 search.js: use the current v5.getbootstrap.com URL (#32099) 2020-11-09 20:39:56 +02:00
XhmikosR f091c0d1e0 package.json: fix clean-css level switch (#32097) 2020-11-09 20:36:42 +02:00
XhmikosR c0d1ed57a3 karma.conf.js: break lines (#32093) 2020-11-09 20:33:20 +02:00
Mark Otto fb3a57b7ba Drop .btn-block classes, replace with utilities (#31995)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-09 11:27:20 +02:00
Patrick H. Lauke 5bd7aa365c [Docs] Changes to navbar documentation/explanation (#32090)
* Expand "external content" section for navbar

- rephrase the intro to make a bit more sense
- add note about dangers of focus/reading order problems

* Remove pointless intro sentence

* Small wording changes/additions/fixes
2020-11-09 07:18:17 +02:00
Mark Otto 649e525c62 Add .gap utilities (#32074)
* Add gap utilities

* Update .bundlewatch.config.json

* Revamp headings on this page for better organization

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-08 20:56:02 +02:00
Martijn Cuppens 67847b0aab Add checks to fix color contrast issues (#32085) 2020-11-08 19:49:26 +01:00
XhmikosR 4ed742e4db Partially revert "Move this to a partial to work around the stray p issue." (#32076)
This partially reverts commit 23ddfa99a3.
2020-11-08 20:36:46 +02:00
XhmikosR 270f7be9d2 download.md: link to JS files comparison too (#32087) 2020-11-08 20:33:04 +02:00
XhmikosR afd5eea2a7 config.yml: remove the unused "expo" parameter (#32086) 2020-11-08 20:32:32 +02:00
XhmikosR 95df642ac9 reboot.md: mention "Liberation Sans" (#32084) 2020-11-08 20:31:19 +02:00
XhmikosR bb6daab961 _variables.scss: reorder SVG attributes
This results in slightly better gzip compression
2020-11-06 14:49:41 +02:00
Martijn Cuppens 82ac087c4d Shade color for better color contrast 2020-11-06 14:49:41 +02:00
Martijn Cuppens 4c1f807142 Fix missing border & add transitions 2020-11-06 14:49:41 +02:00
Mark Otto d6a72c4e1b Remove default transform-origin per code review 2020-11-06 14:49:41 +02:00
Mark Otto 3df4dd15e4 Update relative position hack for layers
Switches to slightly more verbose, but more consistent, z-index layering we use elsewhere (e.g., pagination). Doing this ensures we're not toggling position on and off, but rather z-index.
2020-11-06 14:49:41 +02:00
Mark Otto 6a37612540 Add dedicated accordion component based on Collapse JS 2020-11-06 14:49:41 +02:00
Mark Otto f20335b6c1 Add .d-grid to our display utilities (#32066)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-06 14:35:17 +02:00
XhmikosR 82f2416132 stylelint: pass the --rd flag (#32063)
* stylelint: pass the ` --rd` flag

Should report any needless disables

* Update _button-group.scss

* Update _floating-labels.scss
2020-11-06 12:00:03 +02:00
Emilio Cobos Álvarez c1bb1acf54 Remove firefox workaround for ::file-selector-button margin. (#32064)
As per https://bugzilla.mozilla.org/show_bug.cgi?id=1673895,
this workaround shouldn't be necessary in FF83+.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-06 10:46:49 +02:00
Mark Otto 09a09387f4 Add keyboard shortcut to focus search field (#31702)
* Documentation: Add slash key event to focus the input search.

* Add little tag for keyboard shortcut in the search field

* Use ctrl / as keyboard shortcut

* Update search.js

Co-authored-by: chuckrincon <chuckrincon@gmail.com>
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-05 08:56:02 -08:00
XhmikosR f989f8fb3a Tighten bundlewatch limits. 2020-11-05 15:37:34 +02:00
XhmikosR 13572a6867 Remove the now unneeded polyfills. 2020-11-05 15:37:34 +02:00
XhmikosR e8f1709adf Drop Legacy Edge support.
This allows us to move forward without being held back. Microsoft already replaces the Legacy Edge with the new one on supported Windows versions.
2020-11-05 15:37:34 +02:00
Mark Otto 0766a09605 Big copy edits and testing
Moves the remote utilities section to the using the api section and updates the code snippet to work. Previous one removed all utilities.
2020-11-05 07:50:09 +02:00
Luke-zhang-04 5e270a13d1 docs: add info on modifying and adding utilities 2020-11-05 07:50:09 +02:00
Mark Otto 3b985977c9 Editing and formatting utilities API page 2020-11-05 07:50:09 +02:00
XhmikosR 366b841f4f deps: move sirv-cli to npx (#32056) 2020-11-04 20:35:03 +02:00
Gaël Poupard 230a41f1d7 Form file docs and overrides (#32058) 2020-11-03 18:22:35 +01:00
XhmikosR b864973a94 dropdown.js: simplify code (#32055) 2020-11-03 16:43:20 +02:00
XhmikosR ccac6a6219 Update devDependencies (#32048)
* hugo-bin                ^0.64.5  →  ^0.65.0
* karma-firefox-launcher   ^2.0.0  →   ^2.1.0
* linkinator               ^2.2.0  →   ^2.2.2
* postcss-cli              ^8.1.0  →   ^8.2.0
* rollup                  ^2.32.1  →  ^2.33.1
* sass                    ^1.27.1  →  ^1.28.0
2020-11-03 11:38:26 +02:00
Patrick H. Lauke 3b64580949 Make docs anchorjs links darker on keyboard focus (#32050)
* Make docs anchorjs links darker on keyboard focus

Not just on mouse hover

* Update site/assets/scss/_anchor.scss

Co-authored-by: Mark Otto <markd.otto@gmail.com>

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2020-11-02 20:55:41 +00:00
Patrick H. Lauke 6682bba82d Add callouts about using light colors ideally on a dark background (#32040)
* Add callout about using light colors ideally on a dark background

* Add callout to helpers > colored links as well
2020-11-02 20:39:49 +00:00
XhmikosR c9f8fa45fb tests: tweak Jasmine usage (#32046)
* jasmine/expect-matcher
* jasmine/prefer-jasmine-matcher

Found with `eslint-plugin-jasmine`
2020-11-02 16:13:24 +02:00
XhmikosR e2697b0573 tests: fix sanitizer test. (#32045)
The test template does not include a `script` tag so the test always returned true.
2020-11-02 14:49:56 +02:00
XhmikosR 71010cb1e9 tests: switch to using toContain() to check for substring presence (#32043) 2020-11-02 14:42:40 +02:00
XhmikosR e0b8fcdf89 ESLint: enable new-cap rule but ignore properties (#32036) 2020-11-01 16:31:11 +02:00
XhmikosR 59692ce862 karma: stop excluding polyfill.js from istanbul (#30740) 2020-11-01 15:52:24 +02:00
XhmikosR 421e2482e2 Streamline jQuery comment. (#32016) 2020-11-01 15:49:51 +02:00
Sascha c21506d499 Fix TypeError when Bootstrap is included in head (#32024)
* extend jquery after domContentLoaded event is fired

* add unittest for util onDOMContentLoaded

* wait for trigger jquery event after domContentLoaded

* remove domcontentready from eventHandler

* move istanbul ignore statements to correct line

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-01 15:32:36 +02:00
Mitchell Bryson 3a5f9f5cf0 Check for data-interval on the first slide of carousel (#31818)
* check for data-interval on the first slide of carousel

* add updateInterval method for elements of a carousel

* add test for carousel interval being set during cycle

* update activeElement as soon as slide has finished (before transition end)

* only updateInterval before using it

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-01 14:36:50 +02:00
XhmikosR cb45642918 CODE_OF_CONDUCT.md: fix redirect (#32033) 2020-11-01 14:30:36 +02:00
XhmikosR 6fea79b67c Clarify PRs section (#32027) 2020-11-01 07:42:19 +02:00
XhmikosR e6f8428b28 polyfill.js minor tweaks (#32011)
* rename function to `supportsScopeQuery`
* use a ternary in `findOne` function return value
2020-11-01 07:38:55 +02:00
Mark Otto d1dcc1e5e6 Update instances of .font-weight to .fw 2020-10-31 19:19:52 +01:00
Mark Otto 4d1ee3b0a7 Add class name so the utility generates 2020-10-31 19:19:52 +01:00
XhmikosR 831fbd271f Lint: stop ignoring package.js (#32021) 2020-10-31 09:30:57 +02:00
XhmikosR b63066d630 toast.spec.js: fix typo (#32026) 2020-10-31 09:25:33 +02:00
Sead Memic 9cedf5b81e Contrast colors added to theme-colors (#30044)
* Contrast colors added to theme-colors

* redundant colors removed froms docs, theme-colors refactor

* Add spaces for consistency

* Adapt to the recent changes

Co-authored-by: Sead Memic <sead.memic@intracto.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-10-31 08:21:31 +02:00
Mark Otto 241f910dc5 Updated .rounded utilities (#31687)
* Updated rounded utilities to fix scale, but not rename anything else

* Rename rounded-pill to border-radius-pill to match

Also reorder some variables while I'm here to make more sense

* Updated rounded utilities to fix scale, but not rename anything else

* Rename rounded-pill to border-radius-pill to match

Also reorder some variables while I'm here to make more sense

* Small copy addition

* Add example modifier class for spacing

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-10-30 22:42:11 +02:00
Martijn Cuppens a108e2bbf8 Fix color heights (#32023) 2020-10-30 22:36:44 +02:00
Patrick H. Lauke 6fc35e3231 Add cursor:pointer to color inputs (#32020)
* Add `cursor:pointer` for color inputs

* Add to migration guide
2020-10-30 18:03:07 +00:00
XhmikosR ec05adee6d Fix redirects (#32015) 2020-10-30 16:24:45 +02:00
Christian Oliff 87b367bdcf Update Edge's Rendering Engine on CONTRIBUTING.md (#32008)
* Update Edge's Rendering Engine on CONTRIBUTING.md

Also updated the URL to prevent a HTTP redirect.

* Add 'Go to "Help > Send Feedback" from the browser' note

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-10-30 07:33:31 +02:00
XhmikosR c196d21e7f Remove obsolete prefixes (#32012) 2020-10-30 07:29:48 +02:00
XhmikosR a6156ede32 CI: switch to Node.js 14. (#32003) 2020-10-29 19:38:31 +02:00
XhmikosR e993ca76e0 CI: Skip dependabot PR branches. (#32006)
Also, reword Node.js setup step
2020-10-29 19:26:15 +02:00
XhmikosR 5076170d76 Minor Markdown fixes (#32009)
* add missing language after fenced block
* add missing end of file newline
2020-10-29 19:05:39 +02:00
XhmikosR 370e9ab19e Revert "clean-css: specify precision 6" 2020-10-29 15:34:41 +02:00
XhmikosR c749da0b9f clean-css: specify precision 6
This is so that we get the same behavior for our minified files since dart-sass doesn't have a precision option and defaults to 10.
2020-10-29 15:34:41 +02:00
XhmikosR c31aef49d9 Switch to dart-sass
node-sass is now deprecated
2020-10-29 15:34:41 +02:00
XhmikosR 94d7f6e5a9 Update to postcss 8.x. (#31739)
* autoprefixer 10.0.1
* find-unused-sass-variables 3.0.0
* postcss 8.1.4
* postcss-cli 8.1.0
2020-10-29 15:23:43 +02:00
Martijn Cuppens ed1d867dd8 Remove explicit heights on form elements (#31993)
* Remove explicit heights

* Link to upstream bug

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-10-29 15:18:39 +02:00
Martijn Cuppens 2bd5ba147b Remove bugreport.apple.com since it doesn't work (#32005) 2020-10-29 12:32:56 +02:00
Martijn Cuppens b1c7d1d3a3 Use the same font on the button as on the field itself 2020-10-28 18:29:28 +01:00
Martijn Cuppens b2be299f63 Fix Firefox padding issue
Caused by https://searchfox.org/mozilla-central/rev/0b7007a23bc16c857f894140e12f307bfeef2fdd/layout/style/res/forms.css#494
2020-10-28 18:29:28 +01:00
Martijn Cuppens f236667483 Drop custom file upload plugin in favor of CSS 2020-10-28 18:29:28 +01:00
Mark Otto 3e2f9ab237 v5: Floating labels (#30449)
* v5: Promote floating labels example to component

- Adds new .form-floating
- Stubs out basics of a docs page
- Removes existing Example

* Update floating labels to support .form-select, make inputs and selects more consistent

- To do this, I made the .form-control and .form-select consistent in min-height vs height
- Removed some unused variables now
- Updated -color to be the -color because I don't know why this was any different before
- Update page to include some examples for layout, validation, and value
- Rewrite styles to not modify padding, but instead transform and opacity

* Streamline and bulletproof some things

- Apply some optimizations from code review
- Removed unecessary properties from the label
- Add some comments for what properties are required
- Move from fixed height for labels to height 100% so we can support textareas
- Improve docs a little bit, add ToC

* Move some values to variables, switch from scaling font-size to scale, update transforms

* Bring over changes from #30966 and add to them to tighten things up

* Delete the now unused example images

* Fix typo

* Allowlist the calc function

* Add transform-origin, update transform values

* Test out autofill fix

* Fix linter issue

* Mention it in the migration guide

* Bump bundlesize

* Add one more variable per review

* Shave .25rem off the height

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-10-27 20:45:48 -07:00
Jonathan 582f52e9e1 Add example with input group between two inputs 2020-10-27 17:40:58 -07:00
dependabot[bot] 1baa73591b Bump eslint from 7.11.0 to 7.12.1 (#31990)
Bumps [eslint](https://github.com/eslint/eslint) from 7.11.0 to 7.12.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.11.0...v7.12.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-27 12:09:01 +02:00
dependabot[bot] 21daef7216 Bump @rollup/plugin-node-resolve from 9.0.0 to 10.0.0 (#31989)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 9.0.0 to 10.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v9.0.0...node-resolve-v10.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-27 12:04:19 +02:00
dependabot[bot] 089dca2330 Bump @rollup/plugin-commonjs from 15.1.0 to 16.0.0 (#31988)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 15.1.0 to 16.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v15.1.0...commonjs-v16.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-27 11:51:57 +02:00
dependabot[bot] 310fe17657 Bump karma-firefox-launcher from 1.3.0 to 2.0.0 (#31987)
Bumps [karma-firefox-launcher](https://github.com/karma-runner/karma-firefox-launcher) from 1.3.0 to 2.0.0.
- [Release notes](https://github.com/karma-runner/karma-firefox-launcher/releases)
- [Changelog](https://github.com/karma-runner/karma-firefox-launcher/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-firefox-launcher/compare/v1.3.0...v2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-27 11:51:09 +02:00
dependabot[bot] 899e573794 Bump rollup from 2.32.0 to 2.32.1 (#31985)
Bumps [rollup](https://github.com/rollup/rollup) from 2.32.0 to 2.32.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.32.0...v2.32.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-27 11:46:50 +02:00
Martijn Cuppens 642f40db25 Fix git conflicts after #30571 (#31982)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-10-27 11:36:58 +02:00
XhmikosR 0a61269da8 list-group.md: fix snippet (#31981) 2020-10-27 11:24:28 +02:00
Mark Otto e5fa708491 v5: Add .fs-* utilities for font-size and rename font-weight/-style utilities (#30571)
* v5: Add .fs-* utilities for font-size

- Adds new font-sizes Sass map
- Generates six new classes for setting only font-size
- Updates docs to mention this, including a scss-docs reference

* Update font utilities

- Make .fs-* utils for font-size use RFS
- Rename .font-weight-* utils to .fw-*
- Rename .font-style-* utils to .f-*
- Update order of utilities a bit
- Update docs to match

* Update migration docs to make note of these changes

* Be more specific in font-size docs about scale

* Update font-style abbreviation to .fst

* Fix font-weight property

* Formatting & font style utility fix

* Move to Alpha 3 migration section

* Update migration guide for more details, splitting alpha 2 stuff back to the appropriate section in Migration guide

* Tweak language on example

Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-10-26 16:42:07 -07:00
Martijn Cuppens 6df0cfecd1 Update migration guide 2020-10-26 15:23:25 -07:00
Martijn Cuppens 568c1d19d3 Fix border radius for inputs groups with validation 2020-10-26 15:23:25 -07:00
Martijn Cuppens 313f762d03 Fix border radii on validation messages 2020-10-26 15:23:25 -07:00
Martijn Cuppens 3e2c3298da Require .has-validation class to fix border radii on form elements 2020-10-26 15:23:25 -07:00
XhmikosR eb91c2ec2a CI: allow skipping BrowserStack (#31878)
This basically brings back the previous behavior we had on Travis CI, where if the commit message included `[ci skip]`, BrowserStack tests didn't run.

Additionally, this allows skipping BrowserStack if the commit message contains `[skip ci]` too.
2020-10-26 20:55:51 +02:00
Aleksandr Gorbatov 6c1df1b788 docs: Add Russian translation (#31828) 2020-10-26 20:46:53 +02:00
Mark Otto 478ff53ad1 Remove background-clip from .btn-close 2020-10-26 10:47:55 -07:00
XhmikosR 646a706764 Update CodeQL action (#31930)
Should run on PRs too.
2020-10-26 18:56:16 +02:00
Mark Otto 1b6caf69c2 Rename Navs to Navs and Tabs (#31965)
* Rename Navs to Navs and Tabs

Fixes #31378

* Add title to renamed file
* Update navs-tabs.md
* Add alias/redirect
* Fix references to renamed file, tweak title

Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2020-10-25 20:29:58 +00:00
Patrick H. Lauke ed3097d145 Explicitly mention emoji fonts, tweak sentence in typography (#31960) 2020-10-25 19:21:42 +00:00
Mark Otto 594efec0f1 Don't wrap the code snippets in our docs (#31679)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-10-23 01:06:52 +03:00
XhmikosR 0b5fc69a4e Update anchor-js to v4.3.0. (#31951) 2020-10-22 19:46:26 +03:00
XhmikosR 5a3f273b60 Move href attribute first (#31835) 2020-10-22 09:38:15 +03:00
XhmikosR afc0e83ecc Update bs-table shortcode (#31803) 2020-10-22 09:32:46 +03:00
Gaël Poupard 341bd5aa46 Handle the Ubuntu sans-serif case (#31657)
On Ubuntu, our native font-stack doesn't output the same font on Firefox and Chrome. This is [a known aliasing issue](http://fontfamily.io/sans-serif) — check at the bottom, Ubuntu 14.04. Ubuntu 18.04 (my current) doesn't use the same (Firefox uses Liberation Sans, Chrome uses the default system font Ubuntu).

I'm inclined to prefer Liberation Sans since it's closer to Arial / Helvetica. This patch already exists in Boosted, didn't notice it was missing in bootstrap until today…

BTW, our linked Smashing Magazine's system fonts post mentions this and is even more accurate since it targets the three major Linux distributions. AFAIK this is not needed since [Liberation Sans is available everywhere](http://fontfamily.io/Liberation_Sans) — but we might go back to `Oxygen, Ubuntu, Cantarell`if we want to stick to system fonts.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-10-22 09:28:19 +03:00
dependabot[bot] ebd9eb105a Bump nodemon from 2.0.5 to 2.0.6 (#31939)
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.5...v2.0.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-20 12:38:50 +03:00
XhmikosR 4fca7ddd73 Update optimize.md
For some weird reason, using "Exports" as the callout header leads to TypeError coming from clipboard.js
2020-10-20 11:17:06 +03:00
Johann-S 480561c64b mention default export in our docs optimize section 2020-10-20 11:17:06 +03:00
Pascal Pepe 9cc24cf549 Update docs example on how to optimize JavaScript bundle 2020-10-20 11:17:06 +03:00
XhmikosR c85e863536 Pin terser to v5.1.0 and regenerate package-lock.json (#31928) 2020-10-19 16:05:25 +03:00
Patrick H. Lauke 6b25abfdcc Small typo - remove the unnecessary "the" (#31932) 2020-10-19 15:33:03 +03:00
XhmikosR e6618a6ebb docs: switch to fenced codeblocks (#31806) 2020-10-19 12:56:49 +03:00
Gaël Poupard 48177c946f docs(migration): mention spinners slow down (#31929) 2020-10-19 12:06:14 +03:00
Gaël Poupard ed2f43e1b9 Apply smooth-scroll when prefers-reduced-motion: no-preference (#31877)
* feat(reboot): apply smooth-scroll when not prefers-reduced-motion

* docs(migration): mention scroll-behavior in alpha3

* docs(accessibility): mention scroll-behavior in reduced motion section

* docs(accessibility): rewording smooth scroll sentence

* feat(variable): introduce enable-smooth-scroll variable

* docs(accessibility): reword smooth-scroll sentence

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-10-19 12:00:37 +03:00
Gaël Poupard ece40bcd11 Slow down spinners when prefers-reduced-motion: reduce (#31882)
* feature(spinners): slow down spinners when prefers-reduced-motion

* docs(spinners): add reduced motion callout and mention slowing down in accessibility page

* Update spinners.md

* docs(accessibility): rewording

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2020-10-19 11:42:19 +03:00
Gaël Poupard e0a3b7ef0d docs(forms): use a legend for fieldset instead of aria-label 2020-10-19 11:38:22 +03:00
Gaël Poupard 116deb27c5 docs(forms): fix incorrect legend nesting in fieldset 2020-10-19 11:38:22 +03:00
Gaël Poupard 9589d9c54a docs(forms): drop useless text faking a label in horizontal forms example 2020-10-19 11:38:22 +03:00
XhmikosR 28f18f84a7 docs: switch to suggesting jsDelivr as a CDN (#31894) 2020-10-19 11:25:31 +03:00
dependabot[bot] 5ee5792579 Bump eslint-config-xo from 0.32.1 to 0.33.1 (#31925)
Bumps [eslint-config-xo](https://github.com/xojs/eslint-config-xo) from 0.32.1 to 0.33.1.
- [Release notes](https://github.com/xojs/eslint-config-xo/releases)
- [Commits](https://github.com/xojs/eslint-config-xo/compare/v0.32.1...v0.33.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-10-19 11:23:48 +03:00
dependabot[bot] c486b1f77f Bump eslint-plugin-unicorn from 22.0.0 to 23.0.0 (#31921)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 22.0.0 to 23.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v22.0.0...v23.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-10-19 11:20:23 +03:00
dependabot[bot] 608767dfea Bump @babel/core from 7.11.6 to 7.12.3 (#31927)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.6 to 7.12.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.3/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 11:13:19 +03:00
dependabot[bot] 54a53964d1 Bump @babel/cli from 7.11.6 to 7.12.1 (#31926)
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.11.6 to 7.12.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.1/packages/babel-cli)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 11:08:21 +03:00
dependabot[bot] 667309f11d Bump @babel/preset-env from 7.11.5 to 7.12.1 (#31923)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.11.5 to 7.12.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.1/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-10-19 11:04:28 +03:00
dependabot[bot] 8dfec110c7 Bump nodemon from 2.0.4 to 2.0.5 (#31924)
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.4...v2.0.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 10:58:08 +03:00
dependabot[bot] 332c04e918 Bump linkinator from 2.1.3 to 2.2.0 (#31922)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 2.1.3 to 2.2.0.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v2.1.3...v2.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 10:53:13 +03:00
dependabot[bot] ca6e0ecd67 Bump rollup from 2.29.0 to 2.32.0 (#31920)
Bumps [rollup](https://github.com/rollup/rollup) from 2.29.0 to 2.32.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.29.0...v2.32.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 10:43:35 +03:00
dependabot[bot] fcf9bbe941 Bump hugo-bin from 0.64.4 to 0.64.5 (#31919)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.64.4 to 0.64.5.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.64.4...v0.64.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 10:40:24 +03:00
dependabot[bot] defbbfc4b8 Bump sirv-cli from 1.0.6 to 1.0.8 (#31918)
Bumps [sirv-cli](https://github.com/lukeed/sirv) from 1.0.6 to 1.0.8.
- [Release notes](https://github.com/lukeed/sirv/releases)
- [Commits](https://github.com/lukeed/sirv/compare/v1.0.6...v1.0.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 10:37:18 +03:00
XhmikosR fb30989ee2 Update manifest.json (#31893)
Switch to relative URLs so that we don't need to change the path with every major/minor release
2020-10-15 16:32:52 +03:00
Patrick H. Lauke 836a4c0bd6 Remove redundant visually hidden "(current)" from pagination controls (#31892)
* Replace visually hidden span with aria-current in tests

* Remove redundant visually hidden "(current)" when `aria-current` already used

Closes #31891
2020-10-14 11:59:43 +01:00
Mark Otto 0205a016b1 Update copy and add utilities to example 2020-10-13 16:48:17 +03:00
Gaurav Behere 776afb8e9e Adding overflow visible as util 2020-10-13 16:48:17 +03:00
XhmikosR f3cfc8e7ec Revert "Improve callout shortcode. (#31802)" (#31871)
This reverts commit 5c6925385e.
2020-10-13 16:37:21 +03:00
Mark Otto 4c3c552f93 Split up dropdown sizing docs to improve rendering (#31861)
- Drop the included .btn-toolbar, no need
- Split large and small button examples

Closes #31841

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-10-13 15:14:55 +03:00
dependabot[bot] b81f1309c7 Bump hugo-bin from 0.63.1 to 0.64.4 (#31872)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.63.1 to 0.64.4.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.63.1...v0.64.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-13 12:43:15 +03:00
dependabot[bot] adc2b676e5 Bump rollup from 2.28.2 to 2.29.0 (#31875)
Bumps [rollup](https://github.com/rollup/rollup) from 2.28.2 to 2.29.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.28.2...v2.29.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-13 12:31:55 +03:00
dependabot[bot] 5babcdb2ac Bump eslint from 7.10.0 to 7.11.0 (#31873)
Bumps [eslint](https://github.com/eslint/eslint) from 7.10.0 to 7.11.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.10.0...v7.11.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-13 12:29:43 +03:00
Martijn Cuppens cdc12165a9 Colors rewrite (#30622) 2020-10-13 09:58:06 +02:00
XhmikosR 5c6925385e Improve callout shortcode. (#31802)
Remove the `markdownify` call, and instead rely on Hugo's proper syntax; `{{% callout %}}` when we want to the content to be processed as Markdown.

This allows for stuff like:

{{% callout info %}}
##### I'm an info callout!

```css
.foo {
  color: #fff;
}
```

{{< example >}}
<div class="alert alert-warning alert-dismissible fade show" role="alert">
  <strong>Holy guacamole!</strong> You should check in on some of those fields below.
  <button type="button" class="btn-close" data-dismiss="alert" aria-label="Close"></button>
</div>
{{< /example >}}
{{% /callout %}}
2020-10-12 09:06:06 +03:00
Ankit Mishra c8523d71e7 Alert : Added z-index for close button (#31826)
Co-authored-by: Ankit Mishra <ankitmishra@Ankit-MacBook-Pro.local>
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-10-07 16:03:53 +02:00
dependabot[bot] d6bf562501 Bump linkinator from 2.1.2 to 2.1.3 (#31843)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v2.1.2...v2.1.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-06 15:12:43 +03:00
XhmikosR 0c1651ee9d Remove Manipulator.toggleClass (#31842)
It's only used in one place so it makes more sense to remove it for the time being.
2020-10-05 18:07:49 +03:00
Gaël Poupard 00dd55269a docs: fix contrast color against .bg-info (#31839)
* docs(badge): ensure info badge's contrast

* docs(colors): fix contrasts in example using .bg-info

* Update card.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-10-05 16:47:46 +03:00
Ankit Mishra ce1db01af0 carousel: add missing to description and fix nextwhenvisible description (#31809) 2020-10-05 15:49:02 +03:00
Rohit Sharma e4be0640ee Explain the "dispose" method appropriately (#30838) 2020-10-02 14:58:59 +03:00
Christian Oliff c5966de273 Update btn-close-white docs to filter (not backdrop-filter) (#31796)
This PR fixes an error in the v5 docs. The btn-close-white class actually uses the filter (not backdrop-filter)
2020-09-30 14:57:00 +03:00
Justin dd5ad8fb52 webpack.md: Replace "both of them" with "it" (#31794)
🎉 Yay! I helped!

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-30 08:57:28 +03:00
Mopsan 6105ebfe8d validation.md: fix _validation.scss file reference (#31795) 2020-09-30 08:52:24 +03:00
Mark Otto 3cf51c6ac9 Add Sass variable for CSS variable prefix (#31684)
* Add Sass variable for CSS variable prefix

* Update other --bs-* var instances
2020-09-30 08:32:58 +03:00
Gaël Poupard 7e195a8d22 feat(colors): bump dark to gray-900 (#30550)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-29 22:09:38 +03:00
Kyle Tsang 905b1b11b3 docs(Modal): Add xxl fullscreen example (#31583)
* docs(Modal): Add xxl fullscreen example

* Update modal.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-29 21:56:01 +03:00
Nikita Mikhaylov 0cb880c7fb Fix disabled checkbox toggle buttons (#31651)
* fix disabled checkbox toggle buttons

* add disabled checks-radios examples in documentation

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-29 21:49:50 +03:00
Mark Otto 319954d369 v5: Add disabled examples for .form-control, .form-select, and .form-range (#31686)
* Add disabled state example to the .form-control page

* Document disabled attribute on select too

* Add disabled example for file input

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-29 21:39:37 +03:00
Martijn Cuppens cda9278f49 Suppress flexbox side effects in breadcrumb (#31700)
* Suppress flexbox side effects

* Trailing whitesapce

Co-authored-by: Mark Otto <markd.otto@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-29 21:32:27 +03:00
XhmikosR cef7e4d6e8 Update .gitignore (#31783)
Add vscode and netlify folders
2020-09-29 19:33:09 +03:00
XhmikosR 42ae96f26d Update social.html: use article when it's a page (#31775) 2020-09-29 19:28:03 +03:00
XhmikosR 476bd883ad docs: remove pixels from SVGs (#31791)
It's the default unit.
2020-09-29 19:23:55 +03:00
XhmikosR b083c9639f Prepare v5.0.0-alpha2. (#31748) 2020-09-29 18:33:00 +03:00
XhmikosR d862a9f276 Revert #31761 (#31792)
Revert "Re-optimize SVG"

This reverts commit 331566bc85.

Revert "Move homepage-hero.svg to an img tag"

This reverts commit c24acf8d2c.
2020-09-29 18:24:30 +03:00
Mark Otto 187213305d Change grid classes to utilities to make vertical nav example more resilient to narrow viewports (#31785)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-29 10:11:46 +03:00
XhmikosR 4238a04de3 Compress the new images 2020-09-28 19:22:53 +03:00
Mark Otto 661577173d Add new Bootstrap Icons homepage images 2020-09-28 19:22:53 +03:00
XhmikosR ec812dcf80 Replace ellipsis Unicode symbol with three dots. (#31774) 2020-09-28 15:01:25 +03:00
XhmikosR c30b6df54b Update stylelint to v13.7.2 (#31726) 2020-09-28 14:57:48 +03:00
dependabot[bot] e03c37f75e Bump eslint-plugin-import from 2.22.0 to 2.22.1 (#31781)
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.22.0 to 2.22.1.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.22.0...v2.22.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-28 14:02:41 +03:00
dependabot[bot] 09da023591 Bump rollup from 2.28.1 to 2.28.2 (#31779)
Bumps [rollup](https://github.com/rollup/rollup) from 2.28.1 to 2.28.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.28.1...v2.28.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-28 13:59:02 +03:00
dependabot[bot] 79087c8685 Bump eslint from 7.9.0 to 7.10.0 (#31778)
Bumps [eslint](https://github.com/eslint/eslint) from 7.9.0 to 7.10.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.9.0...v7.10.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-28 13:57:19 +03:00
dependabot[bot] 2db73037c6 Bump karma from 5.2.2 to 5.2.3 (#31777)
Bumps [karma](https://github.com/karma-runner/karma) from 5.2.2 to 5.2.3.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v5.2.2...v5.2.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-28 13:50:31 +03:00
dependabot[bot] 8d453b3a03 Bump bundlewatch from 0.3.0 to 0.3.1 (#31776)
Bumps [bundlewatch](https://github.com/bundlewatch/bundlewatch) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/bundlewatch/bundlewatch/releases)
- [Commits](https://github.com/bundlewatch/bundlewatch/compare/v0.3.0...v0.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-28 13:47:17 +03:00
XhmikosR 6f3a7b1bcf _variables: change $btn-close-bg's attribute order (#31772)
Just to save a few bytes from the compressed files.
2020-09-28 13:18:12 +03:00
XhmikosR 668ff4e62e Tweak versions page columns (#31754) 2020-09-28 12:40:34 +03:00
XhmikosR 331566bc85 Re-optimize SVG 2020-09-28 11:03:21 +03:00
XhmikosR c24acf8d2c Move homepage-hero.svg to an img tag 2020-09-28 11:03:21 +03:00
XhmikosR e268e1c481 Minor wording fixes 2020-09-28 10:58:51 +03:00
XhmikosR 1b0db5944b Fix links 2020-09-28 10:58:51 +03:00
Mark Otto d4ea73fef1 v5 alpha 2 migration guide updates 2020-09-28 10:58:51 +03:00
Mark Otto b060c9e3d2 Convert SVGs in navbar and subnav to pixels (#31767) 2020-09-28 10:39:29 +03:00
XhmikosR 6c2abf3a1e brand: minor consistency changes (#31750) 2020-09-25 19:40:58 +03:00
Mark Otto 74279460c2 v5: Adjust docs sidebar and navbar (#31119)
* Hide the docs nav on mobile, redesign it for two columns on narrow devices

* Tweak spacing on ToC

* Redesign sidebar and subnav

* Revamp subnav mobile layout so everything's on one line

* Tighten up masthead a little

* Switch the icon for the subnav and do a little icon toggling

* Fix mobile overflow since we changed guters stuff

* Add the widths

* make the subnav icon purple
2020-09-25 09:35:24 -07:00
Martijn Cuppens ca22578848 Restore rem unit (#31746)
Fix unintentional unit change in https://github.com/twbs/bootstrap/commit/1af79bbc5267428af9fcb4a8fc9e6ab0b30328f4#diff-d8ee409a461718bfb6240710c8c73382
2020-09-25 12:12:00 +03:00
Mark Otto caef121404 Fix bundlewatch test I missed 2020-09-24 13:39:36 -07:00
Mark Otto f951be36a1 Carousel enhancements, including .carousel-dark (#31650)
* Replace existing carousel control icons with chevrons from Bootstrap Icons

* Add .carousel-dark variant

* Test

* Add variable for .carousel-dark filter

* Update _variables.scss

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-24 13:16:20 -07:00
XhmikosR 979c66b674 docs: link to the Asynchronous functions section (#31738) 2020-09-24 22:20:01 +03:00
XhmikosR adc70c7130 README.md: show brotli size too (#31259) 2020-09-24 22:11:14 +03:00
Mark Otto 585b3ec532 Add .dropdown-menu-dark (#30171)
* Add .dropdown-menu-dark

* Match background color to navbar dark

* Update docs to include a navbar example

* Update dropdowns.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-24 18:55:15 +03:00
Hiws 43b4252a34 fix tooltip hide method when already hidden (#31115)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-24 14:55:38 +03:00
Mark Otto a690a67c7c Forgot to divide by 2 2020-09-23 13:30:54 -07:00
Mark Otto 54ac2c7b05 Match container gutters with row gutters
- Replaces make-container mixin's padding-x param with gutter to match naming
- Changes value of container padding variable to match grid gutter width variable
- Uses local CSS variable for container padding

Fixes #31642
2020-09-23 13:30:54 -07:00
Mark Otto 9f60659d1d Updates to .ratio selectors and docs
- Remove group selector for ratio items
- Drop the .ratio-item entirely
- Update docs to explain updated approach
- Update Migration guide to reflect the latest
2020-09-23 13:30:11 -07:00
Mark Otto 73e5640405 Add example of responsive behavior for aspect ratios 2020-09-23 13:30:11 -07:00
Mark Otto 3b8c17029f Move styles to docs CSS 2020-09-23 13:30:11 -07:00
Mark Otto fe38a85839 Rename the classes and docs page, update everything accordingly 2020-09-23 13:30:11 -07:00
Mark Otto 18f8601d29 Updates responsive embeds with new class names and CSS variables
- Renames .embed-responsive-XbyY classes to .embed-responsive-XxY
- Simplifies the Sass map to just be key and value, ratio and percentage
- Builds .embed-responsive-* modifiers with CSS variables
- Updates docs to show power of CSS variables
- Add notes to the Migration guide
2020-09-23 13:30:11 -07:00
Martijn Cuppens 5280771883 Input group addon sass customization options (#31729) 2020-09-23 15:48:37 +02:00
Mark Otto c0fe38364a Add more variables, add a comment for the 3 2020-09-22 16:49:02 -07:00
Mark Otto e838accbc4 Double the brightness for improved focus contrast 2020-09-22 16:49:02 -07:00
Mark Otto be6a150bbf Update .btn-close-white to use grayscale() filter too for better focus styles 2020-09-22 16:49:02 -07:00
Mark Otto fae9aef3db Update toasts dismiss (moving more styles to CSS instead of utilities), fix some more close examples, and add a new .btn-close-white variant 2020-09-22 16:49:02 -07:00
Mark Otto 67f33a06c7 Update some close button examples 2020-09-22 16:49:02 -07:00
Mark Otto 4778deac02 Tweak sizing and alignment of .btn-close in modal headers 2020-09-22 16:49:02 -07:00
Mark Otto 57fc28a854 Add details to the Migration page 2020-09-22 16:49:02 -07:00
Mark Otto 95f81f8331 Add opacity variables, set opacity on disabled state 2020-09-22 16:49:02 -07:00
Mark Otto 1e69503a73 Increase margin in button examples to better highlight focus styles 2020-09-22 16:49:02 -07:00
Mark Otto 1af79bbc52 Increase width of focus styles so it's more pixel perfect out of the box 2020-09-22 16:49:02 -07:00
Mark Otto 99777662c6 Rename .close to .btn-close, replace times sign with background SVG, update focus state 2020-09-22 16:49:02 -07:00
Mark Otto fe77208a01 Add new variable for -padding-x 2020-09-22 10:06:08 -07:00
dependabot[bot] 6b1cdd0990 Bump rollup from 2.26.11 to 2.28.1 (#31725)
Bumps [rollup](https://github.com/rollup/rollup) from 2.26.11 to 2.28.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.26.11...v2.28.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-22 11:53:57 +03:00
dependabot[bot] 5706ce38eb Bump @rollup/plugin-commonjs from 15.0.0 to 15.1.0 (#31724)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 15.0.0 to 15.1.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v15.0.0...commonjs-v15.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-22 11:50:14 +03:00
dependabot[bot] bb794bf904 Bump eslint-plugin-unicorn from 21.0.0 to 22.0.0 (#31723)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 21.0.0 to 22.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v21.0.0...v22.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-22 11:45:30 +03:00
Jaume Sala 7bbfd439c9 Extra position utilities (#31280)
* Extra position utilities

Given that there are utilities for the *position* property, it seems logic to have utilities for the *top*, *left*, *bottom* and *right* propertires.

* Update extra position utilities

* add default position values map

* tweak examples

* add real life examples

* fix double colon

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-20 19:42:41 -07:00
XhmikosR 4e9a29e47a Update webpack.md
Format snippets
2020-09-18 15:08:08 +03:00
Matthew Orahood 26c1fbe839 Update webpack.md
potcss-loader now uses the `postcssOptions` key. https://www.npmjs.com/package/postcss-loader
2020-09-18 15:08:08 +03:00
XhmikosR b5fb84a91d docs: fix a few redirects (#31689)
* Fix GitHub's permanent redirects

* Fix a11yproject redirects

* Update postcss-loader repo URL to the current  one
2020-09-17 20:01:04 +03:00
kyletsang fec511da02 Docs: Fix vertical align link 2020-09-16 22:09:42 -07:00
Gaël Poupard 390ce245cc docs(scrollspy): mention keyboard access and apply tabindex=0 (#31578) 2020-09-15 18:29:49 +03:00
dependabot[bot] 655ce50cfe Bump hugo-bin from 0.62.3 to 0.63.1 (#31660)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.62.3 to 0.63.1.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.62.3...v0.63.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-15 12:31:29 +03:00
dependabot[bot] 2924ba2e15 Bump stylelint-config-twbs-bootstrap from 2.0.3 to 2.1.0 (#31663)
Bumps [stylelint-config-twbs-bootstrap](https://github.com/twbs/stylelint-config-twbs-bootstrap) from 2.0.3 to 2.1.0.
- [Release notes](https://github.com/twbs/stylelint-config-twbs-bootstrap/releases)
- [Commits](https://github.com/twbs/stylelint-config-twbs-bootstrap/compare/v2.0.3...v2.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-15 12:26:43 +03:00
dependabot[bot] 1c07693b1f Bump eslint from 7.8.1 to 7.9.0 (#31661)
Bumps [eslint](https://github.com/eslint/eslint) from 7.8.1 to 7.9.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.8.1...v7.9.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-15 12:20:56 +03:00
XhmikosR 4d6dd31379 Update Stylelint rules
Enable `scss/selector-no-union-class-name`
2020-09-15 11:57:36 +03:00
XhmikosR 400b8a6754 Add spaces after commas 2020-09-15 11:57:36 +03:00
XhmikosR 800952cef0 Remove unnecessary nesting selectors 2020-09-15 11:57:36 +03:00
Mark Otto 512242943c Rremove separate JS includes from homepage for simplicity's sake, but include a link to doing it separately 2020-09-15 08:57:19 +03:00
Mark Otto e3b7880abf Rewrite quick start JS sections in getting started page so things are more clearly organized 2020-09-15 08:57:19 +03:00
XhmikosR 85d00e6d85 Update site/content/docs/5.0/getting-started/download.md
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2020-09-15 08:57:19 +03:00
XhmikosR 7571fe73b6 docs: mention our bundle file clearly.
Note that we are using the bundle file already in our docs since 787441d.
2020-09-15 08:57:19 +03:00
Rohit Sharma 94c0f12329 Add getInstance method in the docs for tooltip (#31636)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-15 08:28:08 +03:00
Mark Otto 65d130fbd8 Mention the quotes requirement in the docs too 2020-09-15 08:19:58 +03:00
Mark Otto 849fea5a1e Add a comment for escape-svg function
Closes #30835 by leaving a comment in the source that the escape-svg() function must have quotes around data URIs.
2020-09-15 08:19:58 +03:00
Gaël Poupard 5f5f1cbcff Typo in About / Overview 2020-09-14 11:52:18 -07:00
XhmikosR 4491fb091f Dist (#31644) 2020-09-14 18:12:06 +03:00
dependabot[bot] 5c25ea647b Bump node-fetch from 2.6.0 to 2.6.1 (#31631)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 21:17:53 +03:00
dependabot[bot] c34b167711 Bump bundlewatch from 0.2.7 to 0.3.0 (#31627)
Bumps [bundlewatch](https://github.com/bundlewatch/bundlewatch) from 0.2.7 to 0.3.0.
- [Release notes](https://github.com/bundlewatch/bundlewatch/releases)
- [Commits](https://github.com/bundlewatch/bundlewatch/compare/v0.2.7...v0.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 13:41:51 +03:00
dependabot[bot] 3786accc9a Bump @rollup/plugin-babel from 5.2.0 to 5.2.1 (#31626)
Bumps [@rollup/plugin-babel](https://github.com/rollup/plugins) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/babel-v5.2.0...babel-v5.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 13:39:56 +03:00
dependabot[bot] d9222ad1fa Bump karma from 5.2.1 to 5.2.2 (#31625)
Bumps [karma](https://github.com/karma-runner/karma) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v5.2.1...v5.2.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 13:38:27 +03:00
Gaël Poupard 08516e4318 Download link in README (#31588)
* Download link in README

Fixes #31585

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-10 13:26:17 +03:00
Gaël Poupard b2d7d29f6d docs(examples): ensure content sits in landmarks (#31579) 2020-09-10 12:39:29 +03:00
Gaël Poupard 28a92234e5 docs(layout): ensure content sits in main (#31610)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-10 12:33:11 +03:00
Gaël Poupard cbe4daff6f docs(home): wrap all content in <main> & use <section> (#31580)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-10 12:26:26 +03:00
Mark Otto e6ce3989ed Update team 2020-09-10 11:56:02 +03:00
Mark Otto fe31971552 Remove sibling projects and fix image dimensions 2020-09-10 11:56:02 +03:00
XhmikosR b7b470683f Update _brand.scss 2020-09-10 11:56:02 +03:00
XhmikosR d9318796fe Remove loading=lazy from navbar snippets 2020-09-10 11:56:02 +03:00
XhmikosR 1b4bb95033 docs-navbar.html: add missing width 2020-09-10 11:56:02 +03:00
XhmikosR ea5d555139 Fix the remaining instances using the old logos. 2020-09-10 11:56:02 +03:00
XhmikosR 135c78a043 Update the new SVGs with the svgo config we use 2020-09-10 11:56:02 +03:00
XhmikosR 001b4f0d6b Remove loading=lazy from the image in viewport 2020-09-10 11:56:02 +03:00
XhmikosR 23803d3de7 Remove the unused PNG files. 2020-09-10 11:56:02 +03:00
Mark Otto eb23b98fb5 First pass at cleaning up About pages and brand assets 2020-09-10 11:56:02 +03:00
Patrick H. Lauke 42a0f8f007 Docs: (subjectively) nicer looking accordion example (#31137)
* Docs: (subjectively) nicer looking accordion example

the use of `.btn-link` currently just looks a bit odd, subjectively (as in v5 we now force the underline to always be there, while in v4 at least it was only on hover/focus).
`.btn-light` seems more fitting

* Add extra classes for nicer overall look

as suggested by @ysds

* Tweak accessibility note for accordions and optional keyboard interactions
2020-09-10 08:04:13 +01:00
Mauricio Hernan Cabrera 6455c2e8aa Add border width utility (#31484)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-09-09 11:28:52 +03:00
dependabot[bot] 2a249557f1 Bump rollup from 2.26.10 to 2.26.11 (#31613)
Bumps [rollup](https://github.com/rollup/rollup) from 2.26.10 to 2.26.11.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.26.10...v2.26.11)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-08 20:51:17 +03:00
XhmikosR f3e81f8cae Regenerate package-lock.json to fix CVE-2020-8244 (#31601) 2020-09-05 17:07:23 +03:00
dependabot[bot] d79ffeceea Bump karma from 5.2.0 to 5.2.1 (#31599)
Bumps [karma](https://github.com/karma-runner/karma) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v5.2.0...v5.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-04 20:50:53 +03:00
dependabot[bot] d01ff18a1f Bump eslint from 7.8.0 to 7.8.1 (#31598)
Bumps [eslint](https://github.com/eslint/eslint) from 7.8.0 to 7.8.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.8.0...v7.8.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-04 20:49:15 +03:00
dependabot[bot] 7bc79dacc1 Bump @babel/cli from 7.11.5 to 7.11.6 (#31597)
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.11.5 to 7.11.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.6/packages/babel-cli)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-04 20:47:13 +03:00
dependabot[bot] 706dabb915 Bump rollup from 2.26.9 to 2.26.10 (#31596)
Bumps [rollup](https://github.com/rollup/rollup) from 2.26.9 to 2.26.10.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.26.9...v2.26.10)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-04 20:45:44 +03:00
dependabot[bot] 06e6ef28fe Bump @babel/core from 7.11.5 to 7.11.6 (#31595)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.5 to 7.11.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.6/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-04 20:31:07 +03:00
Gaël Poupard 5b37d03ff9 docs(placeholder): drop role=img and use aria-hidden for decorative SVG placeholders (#31575)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-04 20:21:54 +03:00
Gaël Poupard fb9bf54d2c docs(build tools): mention how to get the sources (#31590) 2020-09-04 20:18:20 +03:00
Gaël Poupard 7134f6aa38 Drop h4 color customization in callouts (#31576) 2020-09-03 10:45:04 +02:00
Patrick H. Lauke 0e007e697e Docs: Add top/bottom margin to highlighted code samples (#31036)
* Add top/bottom margin to highlighted code samples

provide more space to avoid having the "Copy" button overlap code sample content

* Modify clipboard button style

Per https://github.com/twbs/bootstrap/pull/31036#issuecomment-661322566 and https://github.com/twbs/bootstrap/pull/31036#issuecomment-668162630

* Tweak margin, clipboard button size and position

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-02 07:17:53 +01:00
Arnaud Thomas D 7326232b0e Fix incorrect green and cyan hex codes (#31572) 2020-09-01 14:20:59 -07:00
Jeremy Jackson 1503aa18d1 Add default parameters to each border radius mixin (#31571)
* Add default parameters to each border radius mixin

* Add border radius changes to migration guide

Co-authored-by: Jeremy Jackson <jeremy@librarymarket.com>
2020-09-01 14:17:17 -07:00
XhmikosR 613a5e47f3 Regenerate package-lock.json to flatten the deps tree (#31570) 2020-09-01 21:21:22 +03:00
dependabot[bot] c3ea1f60d3 Bump eslint from 7.7.0 to 7.8.0 (#31568)
Bumps [eslint](https://github.com/eslint/eslint) from 7.7.0 to 7.8.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.7.0...v7.8.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-01 18:31:48 +03:00
dependabot[bot] 398e3f1f5f Bump rollup from 2.26.5 to 2.26.9 (#31567)
Bumps [rollup](https://github.com/rollup/rollup) from 2.26.5 to 2.26.9.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.26.5...v2.26.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-01 18:18:43 +03:00
dependabot[bot] 04261d41b8 Bump postcss-cli from 7.1.1 to 7.1.2 (#31566)
Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 7.1.1 to 7.1.2.
- [Release notes](https://github.com/postcss/postcss-cli/releases)
- [Changelog](https://github.com/postcss/postcss-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-cli/compare/7.1.1...7.1.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-01 18:07:43 +03:00
dependabot[bot] 59896e40de Bump karma from 5.1.1 to 5.2.0 (#31565)
Bumps [karma](https://github.com/karma-runner/karma) from 5.1.1 to 5.2.0.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v5.1.1...v5.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-01 17:43:51 +03:00
dependabot[bot] c0be67abb1 Bump @babel/cli from 7.10.5 to 7.11.5 (#31564)
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.10.5 to 7.11.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.5/packages/babel-cli)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-01 17:34:30 +03:00
dependabot[bot] e30ba84679 Bump @babel/preset-env from 7.11.0 to 7.11.5 (#31562)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.11.0 to 7.11.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.5/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-01 17:14:09 +03:00
Alex Plescan a8b8f631cf docs: Fix typo on Customize -> Color page (#31556)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-01 17:05:40 +03:00
dependabot[bot] bd84a6da4e Bump @babel/core from 7.11.4 to 7.11.5 (#31561)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.4 to 7.11.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.5/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-01 17:00:26 +03:00
dependabot[bot] 9c7784549e Bump linkinator from 2.1.1 to 2.1.2 (#31534)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v2.1.1...v2.1.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-26 11:32:01 +03:00
dependabot[bot] 09c525085d Bump @babel/core from 7.11.1 to 7.11.4 (#31533)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.1 to 7.11.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.4/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-26 11:26:29 +03:00
dependabot[bot] 38a3055e0e Bump rollup from 2.26.3 to 2.26.5 (#31536)
Bumps [rollup](https://github.com/rollup/rollup) from 2.26.3 to 2.26.5.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.26.3...v2.26.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-26 11:14:27 +03:00
Łukasz Holeczek 730a020140 Update icons.yml
Add new icons set - CoreUI Icons
2020-08-22 14:41:46 -07:00
Gaël Poupard 7058f89286 fix(breakpoints): use next breakpoint when targetting xs only 2020-08-22 14:36:24 -07:00
Gaël Poupard b547ef4a85 docs(typography): missing punctuation (#31505) 2020-08-19 15:44:52 +01:00
dependabot[bot] 394812b61d Bump terser from 5.0.0 to 5.1.0 (#31497)
Bumps [terser](https://github.com/terser/terser) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.0.0...v5.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-18 21:40:13 +03:00
dependabot[bot] 64f4e22a78 Bump sirv-cli from 1.0.5 to 1.0.6 (#31496)
Bumps [sirv-cli](https://github.com/lukeed/sirv) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/lukeed/sirv/releases)
- [Commits](https://github.com/lukeed/sirv/compare/v1.0.5...v1.0.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-18 21:37:45 +03:00
dependabot[bot] df7bbf6f7b Bump rollup from 2.23.1 to 2.26.3 (#31495)
Bumps [rollup](https://github.com/rollup/rollup) from 2.23.1 to 2.26.3.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.23.1...v2.26.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-18 21:32:32 +03:00
dependabot[bot] a15083fe91 Bump karma-jasmine from 3.3.1 to 4.0.1 (#31494)
Bumps [karma-jasmine](https://github.com/karma-runner/karma-jasmine) from 3.3.1 to 4.0.1.
- [Release notes](https://github.com/karma-runner/karma-jasmine/releases)
- [Changelog](https://github.com/karma-runner/karma-jasmine/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-jasmine/compare/v3.3.1...v4.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-18 21:28:26 +03:00
dependabot[bot] 73b39dfb79 Bump @rollup/plugin-babel from 5.1.0 to 5.2.0 (#31493)
Bumps [@rollup/plugin-babel](https://github.com/rollup/plugins) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/babel-v5.1.0...babel-v5.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-18 21:24:52 +03:00
dependabot[bot] d4f12f699a Bump @rollup/plugin-node-resolve from 8.4.0 to 9.0.0 (#31492)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 8.4.0 to 9.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v8.4.0...node-resolve-v9.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-18 21:15:19 +03:00
dependabot[bot] 537eb79662 Bump eslint from 7.6.0 to 7.7.0 (#31491)
Bumps [eslint](https://github.com/eslint/eslint) from 7.6.0 to 7.7.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.6.0...v7.7.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-18 18:26:47 +03:00
dependabot[bot] 98e9411a3c Bump @rollup/plugin-commonjs from 14.0.0 to 15.0.0 (#31490)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 14.0.0 to 15.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v14.0.0...commonjs-v15.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-18 18:24:00 +03:00
Christian Oliff ed9c481ef4 Mention that Edge Legacy also supports 'filling' their track
Edge Legacy support filling their track by default.

Example: https://codepen.io/coliff/pen/VwaZgVZ
2020-08-17 17:00:04 -07:00
Christian Oliff d0a87ef784 Remove 'both' as its no longer just 2 breakpoints (now that XXL is there) 2020-08-17 16:59:12 -07:00
Aleksander Machniak cf704cd36d Give more priority to .d-none (#31473) 2020-08-13 15:51:23 +02:00
Gleb Mazovetskiy 180a0dc2e2 Update current_ruby_version to 5.0.0.alpha1 (#31455)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-11 16:35:00 +03:00
dependabot[bot] e91056d178 Bump @babel/core from 7.11.0 to 7.11.1 (#31465)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.0 to 7.11.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.1/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-11 16:29:22 +03:00
dependabot[bot] b842ddeb90 Bump rollup from 2.23.0 to 2.23.1 (#31464)
Bumps [rollup](https://github.com/rollup/rollup) from 2.23.0 to 2.23.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.23.0...v2.23.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-11 16:24:27 +03:00
dependabot[bot] a3f27c67e8 Bump eslint-plugin-unicorn from 20.1.0 to 21.0.0 (#31370)
* Bump eslint-plugin-unicorn from 20.1.0 to 21.0.0

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 20.1.0 to 21.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v20.1.0...v21.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Disable `unicorn/prefer-array-find` rule for now

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-08 09:02:20 +03:00
Mark Otto a5fd5bcf81 Remove flex: 1 0 100% from rows (#31439)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-06 18:44:29 +03:00
maks adf4567386 make breakpoints specifications consistent with layout/grid.md
0-576px could be misinterpreted "up to 576px included"
2020-08-05 16:05:16 -07:00
kyletsang b6b672c00b docs: Fix issue number typo in migration 2020-08-05 16:04:58 -07:00
Shohei Yoshida e8566e10c7 box-shadow() mixin allow 'null' and drop support 'none' with multiple args (#30394)
* Support 'null' and drop `none` with multiple args

* Output a warning when use 'none' with multiple arguments

* Add migration note

* Update migration.md

Co-authored-by: Mark Otto <markd.otto@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-04 21:51:19 +03:00
Gaël Poupard 9181c84f0f Ensure to increase contrasts on buttons & colored links hover/active states (#30989)
* feat(buttons): ensure to increase contrasts on hover/active

* Update _buttons.scss

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2020-08-04 21:42:55 +03:00
dependabot[bot] 2c9067516c Bump terser from 4.8.0 to 5.0.0 (#31416)
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 5.0.0.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v4.8.0...v5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-04 20:12:18 +03:00
dependabot[bot] 4888794c22 Bump @babel/preset-env from 7.10.4 to 7.11.0 (#31422)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.10.4 to 7.11.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.0/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-04 19:38:57 +03:00
dependabot[bot] 1ed78c21e5 Bump @babel/core from 7.10.5 to 7.11.0 (#31421)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.10.5 to 7.11.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.0/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-04 19:25:28 +03:00
dependabot[bot] 6a4a5ea947 Bump autoprefixer from 9.8.5 to 9.8.6 (#31420)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.8.5 to 9.8.6.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.8.5...9.8.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-04 19:20:15 +03:00
dependabot[bot] 9264ccc054 Bump sirv-cli from 1.0.3 to 1.0.5 (#31419)
Bumps [sirv-cli](https://github.com/lukeed/sirv) from 1.0.3 to 1.0.5.
- [Release notes](https://github.com/lukeed/sirv/releases)
- [Commits](https://github.com/lukeed/sirv/compare/v1.0.3...v1.0.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-04 19:15:28 +03:00
dependabot[bot] 49d75ea86e Bump eslint from 7.5.0 to 7.6.0 (#31418)
Bumps [eslint](https://github.com/eslint/eslint) from 7.5.0 to 7.6.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.5.0...v7.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-04 19:10:43 +03:00
dependabot[bot] ac282c7b93 Bump karma from 5.1.0 to 5.1.1 (#31417)
Bumps [karma](https://github.com/karma-runner/karma) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v5.1.0...v5.1.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-04 18:17:19 +03:00
Mark Otto 2d2b6759b6 Add view on GitHub links for easier content editing from the docs (#31339)
* Add view on GitHub links for easier content editing from the docs

* Update docs.html

* Move to .btn-bd-light

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-04 08:09:45 +03:00
Mohammad Ali Shahbazi 5be7fe001e Added opacity-75 and opacity-50 classes 2020-08-03 10:54:03 -07:00
Mohammad Ali Shahbazi 76ad4aa083 Fixed typo in docs v5 (Utilities/API) page 2020-08-03 10:54:03 -07:00
Jacty ebad168f42 Removed a broken reference
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_hr_size
this link is broken, I think we perhaps should remove it?
2020-08-03 10:48:41 -07:00
Samarth Arora 5512dde203 Add transition to Pagination buttons just like other Bootstrap buttons 2020-08-03 09:57:12 -07:00
Mark Otto 393efaf795 Update migration guide (#31387)
* Document change to form check and radio size

* Update todos in Migration guide

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-03 19:42:31 +03:00
Patrick H. Lauke a21f605299 Add padding to badges (#31132)
* Add padding to badges

The current badges are very tightly padded, and because the top and bottom padding are the same, and aligned to the baseline, this makes badges with descenders (e.g. the "g" in "Danger") look uncomfortably close to the bottom. Adding more ample padding masks this a bit.
An alternative would be to have separate top and bottom padding, with the bottom one slightly larger than the top - but conversely, that then makes badges that contain no text with descenders, and particularly badges that contain all uppercase characters, look too bottom-heavy.
Also adding some left/right extra padding, as currently the pill badges look uncomfortably tight on the sides due to the rounding.
2020-08-02 16:28:23 +03:00
Mark Otto 2a3e487dba Update copy around breakpoint sizing (#31382)
* Update copy around breakpoint sizing

Fixes #31288

* Update breakpoints.md

* Further copy changes

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-07-31 12:38:17 -07:00
Mark Otto 16adcf2de9 Adjust sizing of checks and radios (#31383)
Moves from 1.25em to 1em to better support custom font-size-base values. Most common would probably be .875rem (14px) and current sizing garbles that into 1.09-ish, thus causing the rendering issues in #31269.

Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-07-31 16:49:28 +03:00
Mark Otto 2bceb3e79d Remove overflow: hidden from toasts (#31381) 2020-07-31 13:29:01 +02:00
Patrick H. Lauke 23c3806864 Add accessibility note about dismissible alerts and focus (#31358) 2020-07-31 10:31:09 +01:00
Patrick H. Lauke cdea25584d Cleanup/fix after the sr-only to visually-hidden renaming (#31359)
* sr-only -> visually-hidden cleanup

It seems the old screen-readers.md file was left behind, and forgot to rename the mixin

* Fix broken mixins for visually-hidden
2020-07-31 10:27:36 +01:00
dependabot[bot] 8aab8b7c8a Bump @babel/cli from 7.10.4 to 7.10.5 (#31372)
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.10.4 to 7.10.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.5/packages/babel-cli)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-28 16:58:47 +03:00
dependabot[bot] 29e10266f0 Bump eslint-config-xo from 0.32.0 to 0.32.1 (#31371)
Bumps [eslint-config-xo](https://github.com/xojs/eslint-config-xo) from 0.32.0 to 0.32.1.
- [Release notes](https://github.com/xojs/eslint-config-xo/releases)
- [Commits](https://github.com/xojs/eslint-config-xo/compare/v0.32.0...v0.32.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-28 16:54:28 +03:00
dependabot[bot] 5ae2748f8c Bump rollup from 2.21.0 to 2.23.0 (#31369)
Bumps [rollup](https://github.com/rollup/rollup) from 2.21.0 to 2.23.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.21.0...v2.23.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-07-28 16:48:40 +03:00
dependabot[bot] 852723d898 Bump @babel/core from 7.10.4 to 7.10.5 (#31368)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.10.4 to 7.10.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.5/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-07-28 16:44:51 +03:00
dependabot[bot] 9cdf4a40ee Bump hugo-bin from 0.62.1 to 0.62.3 (#31367)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.62.1 to 0.62.3.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.62.1...v0.62.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-07-28 16:41:10 +03:00
dependabot[bot] 577ff0c96b Bump eslint from 7.4.0 to 7.5.0 (#31366)
Bumps [eslint](https://github.com/eslint/eslint) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.4.0...v7.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-28 16:38:04 +03:00
Patrick H. Lauke c7bc7a31bb Turn off scroll anchoring for accordions (#31346)
New default behavior for scroll anchoring (rolled out in Chrome 84?) leads to unsightly/odd accordion interactions - see #31341
This rule suppresses this new behavior and reverts back to the old way.

See https://drafts.csswg.org/css-scroll-anchoring/
2020-07-21 18:17:28 +01:00
Rohit Sharma 2ec2e138c9 Add toasts to the components requiring JavaScript (#31344) 2020-07-21 16:08:21 +03:00
dependabot[bot] cc76849d0d Bump @rollup/plugin-commonjs from 13.0.1 to 14.0.0 (#31291)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 13.0.1 to 14.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v13.0.1...commonjs-v14.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-07-14 16:05:18 +03:00
dependabot[bot] 9fcc572d59 Bump hugo-bin from 0.62.0 to 0.62.1 (#31292)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.62.0 to 0.62.1.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.62.0...v0.62.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-14 16:00:35 +03:00
Gaël Poupard cb1eee16f0 docs(skippy): prevent skip links from overlapping header 2020-07-13 12:36:29 -07:00
XhmikosR 9e372b121a Sort the versions from the latest to the oldest. 2020-07-13 12:08:34 -07:00
Mark Otto c52b7d5475 Improve spacing 2020-07-13 12:08:34 -07:00
Laim aa5be4c20c Update version.md to include v5
Version.md on v5.getbootstrap.com is only referring to v1 > v4 when it should be referring to v1 > v5.
2020-07-13 12:08:34 -07:00
Mark Otto 8d89e0a14d Migration update (#31278)
* Clarify screen reader changes

* Add some docs and reboot notes to migration guide

* Add mention of docs renaming of screen reader helper page

* Mention null vars from navs PR at #31035

* Update migration.md

Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-07-13 21:40:27 +03:00
XhmikosR 2d43e6476c Update devDependencies (#31283)
* @rollup/plugin-babel          ^5.0.4  →   ^5.1.0
* @rollup/plugin-commonjs      ^13.0.0  →  ^13.0.1
* @rollup/plugin-node-resolve   ^8.1.0  →   ^8.4.0
* autoprefixer                  ^9.8.4  →   ^9.8.5
* hugo-bin                     ^0.61.0  →  ^0.62.0
* rollup                       ^2.20.0  →  ^2.21.0
2020-07-13 21:36:26 +03:00
Mark Otto 6914efe8dd v5: Tweak some colors (#31276)
* Tweak green and cyan colors, bump min contrast ratio to 4.5

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-07-13 21:23:38 +03:00
XhmikosR b345746bb6 Join template literals 2020-07-12 15:52:25 +03:00
XhmikosR 6d86b140f9 Add parentheses around multiple spread conditions 2020-07-12 15:52:25 +03:00
XhmikosR a67231ae1c Move function 2020-07-12 15:52:25 +03:00
XhmikosR 0eb120eea0 tooltip.js: remove variable used once. 2020-07-12 15:52:25 +03:00
XhmikosR b97fcd3289 scrollspy.js: minor refactoring 2020-07-12 15:52:25 +03:00
XhmikosR f15af45c6e Unbreak lines. 2020-07-12 15:52:25 +03:00
Rohit Sharma 91c11d6465 toasts: make default duration 5s (#31109)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-07-12 15:43:26 +03:00
Gaël Poupard 37ef4e4b5e Easier disabled state customization for button variants (#30639)
* feat(buttons): easier disabled state customization

* docs(migration): mention new arguments for disabled state in button-variant()

* Update migration.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2020-07-12 07:56:33 +03:00
Patrick H. Lauke eeb73e0ccf Docs: forms accessibility cleanup (#31114)
* Expand on disabled fieldsets and faked buttons

include further advice/information on how to disable faked buttons for keyboard/AT users

* Centralise accessible name advice in forms overview

seems odd to only mention (separately) label, aria-label etc in input-group and layout. the advice is just as pertinent in other sections like select. checks only skims over this.

moving this, in expanded form, into the overview section itself. adding a specific cross-reference (just because they are easily left with no accname at all) in the checks page.

* Change warning about accessibility, modify server-side example

- paradoxically, due to our current problems with validation (see #28414) and the fact that browsers seem to have improved in this area for the most part, it's now actually better to use browser-native validation
- added explicit `id` and `aria-describedby` association to at least the server-side form error messages, to show how it should be done properly, and expanded the prose for that explaining this.

* Replace `.sr-only` with `.visually-hidden` in new addition

* Copy edits for clarity in parenthetical

* Copy and formatting tweaks

- Wordsmithing here and there
- Turns some hyphens into em dashes
- Turns a long running comma separated list into an unordered list
- Rearranges some copy just a bit

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2020-07-11 21:38:43 +01:00
Florian Lacreuse 19b5908b05 Fix docs sass importing example. 2020-07-11 12:01:15 -07:00
Mark Otto 2b4db023cd Add null variables for nav-link
Replaces #30498 by adding four new null default variables for .nav-link. Doesn't carry over font-style from the original PR though since that's rarely used, at least by default Bootstrap. Nullifies all values from that PR, too, since we count on some basic inheritance here and don't need color by default.
2020-07-11 11:56:29 -07:00
Rohit Sharma f6348f6c89 Clear timeout before showing the toast (#31155)
* clear timeout before showing the toast

* Add unit test

* Remove the check for timeout

* Check for clearTimeout to have been called

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-07-11 11:51:04 -07:00
Mark Otto 6acdfdbfa0 Update layout.md 2020-07-11 11:49:56 -07:00
Rohit Sharma 6eaa36fb6f Single line example for inline forms 2020-07-11 11:49:56 -07:00
Patrick H. Lauke 69b3c46483 Rename sr-only to visually-hidden in new/renamed helper doc file 2020-07-10 16:00:50 -07:00
Patrick H. Lauke 9d2cd1b9b8 Add alias/redirect 2020-07-10 16:00:50 -07:00
Patrick H. Lauke 7657c1e37d Reword slightly awkward-sounding description 2020-07-10 16:00:50 -07:00
Patrick H. Lauke 4702f0cdd4 Emphasise/call out the note about .invisible and AT 2020-07-10 16:00:50 -07:00
Patrick H. Lauke 3a79335a0b Docs: rename "Screen readers" helper page to "Visually hidden"
"screen readers" is quite reductive, as there are other assistive technologies. content hidden this way is even announced by things like Alexa/Siri etc, so it's not so much just "screen readers".
in the long run, we may even consider changing the actual classnames (maybe `.visually-hidden` / `.visually-hidden-focusable`, though admittedly that's a bit verbose).

also includes a tiny tweak to layout.md to generalise the note about using `.sr-only`
2020-07-10 16:00:50 -07:00
Florian Lacreuse 49934b2bba Fix some hexa in colors docs. (#31254) 2020-07-07 20:28:24 +03:00
dependabot[bot] 7b144760b5 Bump rollup from 2.19.0 to 2.20.0 (#31251)
Bumps [rollup](https://github.com/rollup/rollup) from 2.19.0 to 2.20.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.19.0...v2.20.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-07 12:11:23 +03:00
XhmikosR 3210ab4f64 Update popper.js to v1.16.1. (#31250) 2020-07-07 10:30:05 +03:00
XhmikosR bd72dfc41d Update to @rollup/plugin-node-resolve v8.1.0. (#31249) 2020-07-07 10:23:11 +03:00
XhmikosR 29bba35a7b Update devDependencies and regenerate package-lock.json (#31229) 2020-07-06 19:11:58 +03:00
Patrick H. Lauke 828366de89 Docs: separate button group out of checks/radios, expand button groups page (#31201)
* Keep checks/radio toggle buttons on topic

- give examples of the pure toggle checks and radios, without the button group class. show that these work fine without `.btn-group`, but still cross-reference it
- move the explanation from "Checkbox toggle buttons" directly to "Toggle buttons", as the mention of using button classes applies equally to the subsequent "Radio toggle buttons" and "Outlined styles" subsections.

* Expand button group description

as it's not just single line, but vertical as well

* Expand button group examples

- add more colour ... `.btn-secondary` is just dull and uninspiring
- new section to showcase "Checkbox and radio button groups"
- add a mixed styles example
- add an example of vertical radio button group
2020-07-06 08:52:43 +01:00
Stephanie Brown 277915299f Remove period in list item link for consistency. (#31243) 2020-07-06 08:48:19 +01:00
Martijn Cuppens 7cedb8eeae Fix sidebar jump (#31232) 2020-07-03 15:16:05 +02:00
Patrick H. Lauke 10690dd317 Rename sr-only/sr-only-focusable (#31139)
* Rename `sr-only`/`sr-only-focusable`

To be more representative of the fact that these are not necessarily "screen reader" specific, but actually apply to assistive technologies in general (and also things like Alexa/Siri/etc). Goes hand-in-hand with #31133

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-07-03 14:38:11 +03:00
Patrick H. Lauke 0a6cf9036c Docs: improve/expand button documentation (#31093)
* Docs: improve/expand button documentation

- since we're not doing the disabled cursor thing anymore anyway, remove confusing/unnecessary mention for link-based disabled buttons
- make the disabled toggle example using a link actually follow the preceding advice of also having `tabindex="-1"` and `aria-disabled="true"`
- tweak the link functionality callout to also still mention `aria-disabled` to reinforce the idea
- tweak toggle state description (not just `<button>`s, but also links etc...so just remove mention of `<button>` there; also reinforce accessibility aspect once more)
- add a new callout that cross-references checkbox-based toggles, and what the similarity/difference between them is
- add a matching cross-reference callout to the checkbox-based toggle buttons page

* Update link to now renamed checks-radios.md
2020-07-03 12:34:32 +01:00
Patrick H. Lauke 386f9e327e Docs: clarify that pointer events classes don't affect keyboard interaction (#31134)
* Docs: clarify that pointer events classes don't affect keyboard interaction

* Neutralise example links that are `pe-none`
2020-07-03 12:23:28 +01:00
Sascha Nuissl dca5ad0288 Fix generated example code for RFS (#31213)
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-07-01 18:13:20 +02:00
XhmikosR f6ca8f1efb Update migration.md (#31122)
* Add a new v5.0.0-alpha2 section
* Add missing Browser versions from v5.0.0-alpha1
2020-07-01 15:43:06 +03:00
XhmikosR da9c7d12ab Remove extra space 2020-07-01 15:21:43 +03:00
XhmikosR daa45824d5 homepage-hero.svg: move defs before g 2020-07-01 15:21:43 +03:00
XhmikosR 6cd3159caa Use the site param for icons 2020-07-01 15:21:43 +03:00
XhmikosR 965eaca1c7 Bump RFS tag 2020-07-01 15:21:43 +03:00
XhmikosR 6c00c51d97 homepage: Fix wrong indentation (#31211) 2020-06-30 14:49:47 +01:00
dependabot[bot] 02cbbdbc47 Bump rollup from 2.18.0 to 2.18.1 (#31203)
Bumps [rollup](https://github.com/rollup/rollup) from 2.18.0 to 2.18.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.18.0...v2.18.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-30 15:07:31 +03:00
dependabot[bot] b7f0e321e2 Bump vnu-jar from 20.5.29 to 20.6.30 (#31204)
Bumps [vnu-jar](https://github.com/validator/validator) from 20.5.29 to 20.6.30.
- [Release notes](https://github.com/validator/validator/releases)
- [Changelog](https://github.com/validator/validator/blob/master/CHANGELOG.md)
- [Commits](https://github.com/validator/validator/compare/20.5.29...20.6.30)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-30 15:02:34 +03:00
dependabot[bot] 46634b4ce1 Bump sirv-cli from 1.0.1 to 1.0.3 (#31205)
Bumps [sirv-cli](https://github.com/lukeed/sirv) from 1.0.1 to 1.0.3.
- [Release notes](https://github.com/lukeed/sirv/releases)
- [Commits](https://github.com/lukeed/sirv/compare/v1.0.1...v1.0.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-30 14:58:56 +03:00
dependabot[bot] 9e7eb83f59 Bump eslint-plugin-import from 2.21.2 to 2.22.0 (#31206)
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.21.2 to 2.22.0.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.21.2...v2.22.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-30 14:52:23 +03:00
dependabot[bot] 78e95c801a Bump eslint-config-xo from 0.31.0 to 0.32.0 (#31207)
Bumps [eslint-config-xo](https://github.com/xojs/eslint-config-xo) from 0.31.0 to 0.32.0.
- [Release notes](https://github.com/xojs/eslint-config-xo/releases)
- [Commits](https://github.com/xojs/eslint-config-xo/compare/v0.31.0...v0.32.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-30 14:46:51 +03:00
Alex Mohr f7cf44d3a0 Fix spelling mistake (#31190)
Co-authored-by: Alex Mohr <mohralexj@gmail.com>
2020-06-27 21:39:17 +01:00
Patrick H. Lauke 490acf60ca Docs: rename form checks page to "Checks / radios" (#31090)
* Docs: rename form checks page to "Checks / radios"

it's not immediately obvious that "checks" includes information about both checkboxes and radio buttons. while "checks / radios" is also still not perfect (as honestly even I didn't quite grok that "checks" meant checkboxes), it should make it slightly more obvious nonetheless
2020-06-27 21:31:59 +03:00
Patrick H. Lauke 2c38800ea2 Add code to method/property tables (#31130)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-27 14:28:21 +03:00
XhmikosR 22f32415c0 Update Babel config (#31011)
* remove plugin-proposal-object-rest-spread
* add bugfixes
* `exclude: ['transform-typeof-symbol']` did nothing with our config
2020-06-25 18:38:39 +03:00
dependabot[bot] acdeaed47d Bump hugo-bin from 0.60.0 to 0.61.0 (#31170)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.60.0 to 0.61.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.60.0...v0.61.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-25 12:11:41 +03:00
dependabot[bot] c500d201ce Bump autoprefixer from 9.8.2 to 9.8.4 (#31168)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.8.2 to 9.8.4.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.8.2...9.8.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-25 12:00:43 +03:00
dependabot[bot] 395aed8e1c Bump lockfile-lint from 4.3.6 to 4.3.7 (#31169)
Bumps [lockfile-lint](https://github.com/lirantal/lockfile-lint) from 4.3.6 to 4.3.7.
- [Release notes](https://github.com/lirantal/lockfile-lint/releases)
- [Commits](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.3.6...lockfile-lint@4.3.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-25 11:57:18 +03:00
dependabot-preview[bot] 49698e92b6 Update Dependabot config file (#31167)
* Update Dependabot config file

* Update dependabot.yml

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-25 11:51:32 +03:00
XhmikosR 786208ea15 BrowserStack: stop testing on latest Edge. (#31125)
It's Chromium-based so it seems redundant.
2020-06-25 11:42:55 +03:00
Shohei Yoshida fb4efb49ea Prevent overflowing static backdrop modal animation (#30326)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-25 11:35:53 +03:00
Mark Otto 9f173aeff3 Remove backdrop-filter from toasts 2020-06-25 09:47:20 +03:00
Mark Otto ca22e72411 Remove backdrop-filter from docs subnav
Fixes #31163.
2020-06-25 09:47:20 +03:00
Shohei Yoshida c140347bd2 Fix scrollable modal (#31151)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-25 09:43:19 +03:00
Jorge González d33a560dd6 Fix table separator typo (#31162) 2020-06-24 18:28:47 +02:00
Gaël Poupard 9c320df652 Floating labels improvements (#30966)
* docs(example): floating-labels' better Edge fallback

* docs(example): refactor floating-labels' CSS
2020-06-24 14:11:20 +03:00
Patrick H. Lauke 02ff387daa Darken dropdown divider (#31131)
currently, `$gray-200` is practically imperceptible. switch to reusing `$dropdown-border-color`.
2020-06-23 21:00:28 +01:00
XhmikosR 9882de8079 Update .browserslistrc (#31124)
* remove ExplorerMobile since it's included in `dead` browsers
* change Edge to >= 16 otherwise browserslist seems to include >= 17
2020-06-23 09:18:27 +03:00
XhmikosR 4fb01c34d7 Update devDependencies (#31123)
* @babel/cli                                 ^7.10.1  →  ^7.10.3
* @babel/core                                ^7.10.2  →  ^7.10.3
* @babel/plugin-proposal-object-rest-spread  ^7.10.1  →  ^7.10.3
* @babel/preset-env                          ^7.10.2  →  ^7.10.3
* @rollup/plugin-babel                        ^5.0.3  →   ^5.0.4
* autoprefixer                                ^9.8.0  →   ^9.8.2
* eslint                                      ^7.2.0  →   ^7.3.1
* rollup                                     ^2.17.0  →  ^2.18.0
2020-06-23 09:11:41 +03:00
Patrick H. Lauke d6671d8f2d Docs: move color utility callouts to start of page (#31135)
* Move color utility callouts to start of page

Hierarchically/structurally, in the position they are currently at, the two callouts seem like they "belong" just to the "background color" section. Moving them to the start makes it clearer that those two callouts relate to everything in the page (both "Color" and "Background color" classes.

* Change heading level

otherwise the assistive technology callout looks like it's hierarchically under the "Dealing with specificity" heading
2020-06-21 15:33:07 +03:00
Mark Otto 806f64e162 Correctly document how to add to Sass maps (#31107)
Fixes #31089.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-20 07:29:20 +03:00
Mark Otto 9ca811eed5 Fixes #31113 (#31120) 2020-06-20 07:20:26 +03:00
Mattonit fc74a0d915 Updated the command to install using yarn (#31075)
* updated yarn command to install latest version

* Update README.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-19 20:55:04 +03:00
Quy d3aa909c92 Fix links to gutters page (#31116) 2020-06-19 20:42:25 +03:00
Patrick H. Lauke edbcc401c2 Change whitelist to allowlist (#31066)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2020-06-19 11:31:37 +03:00
Hiws 7acf586d3e Docs: fix typo (#31106)
* Fixes a typo so it displays the correct px's.

* Update gutters.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-19 08:10:28 +03:00
Nic Johnson b84c9ed489 Fix typo (#31102) 2020-06-18 21:46:03 +03:00
Mark Otto d6a9e785b5 Add new toasts examples (#30572)
* Add two new toasts examples

- Adds a new custom content example that removes the toast header and adds a custom close icon
- Adds docs for how to create your own color schemes
- Adds example of additional buttons

* Update toasts examples

- Remove span and place aria on SVG element
- Add .border-0 to color scheme example for crisper edges

* Update toasts.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-18 10:27:42 -07:00
Christian Studer 3a61e1ae2f Fix Stack Overflow tag (#31062) 2020-06-18 12:56:57 +03:00
Patrick H. Lauke b1560e2d18 Docs: add Gaël Poupard to the core team page (#31081)
Docs: add Gaël Poupard to the core team page
2020-06-18 09:24:23 +01:00
XhmikosR 3a2741507e Update devDependencies (#31086)
* rollup        ^2.16.1  →  ^2.17.0
* sirv-cli       ^1.0.0  →   ^1.0.1
* stylelint     ^13.6.0  →  ^13.6.1
2020-06-18 10:32:59 +03:00
Tanguy Krotoff d80a9fc553 Fix tooltip when hovering a children element (delegateTarget) (#30928)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-18 10:02:44 +03:00
Mark Otto ffbdb08474 Add oxford commas 2020-06-17 21:45:34 +03:00
Patrick H. Lauke e6ce44e5e2 Docs: tweak accessibility section
- point to WCAG 2.1 rather than 2.0
- soften/expand the language around color contrast, since the situation has definitely improved in v5 but we still can't guarantee all possible permutations of colors/opacities/etc
- minor language/stylistic tweaks
- add further resources
2020-06-17 21:45:34 +03:00
Bruno Baguette f4e6932611 Typo fix : depedending ⮞ depending 2020-06-17 10:44:58 -07:00
Bruno Baguette 588a029abc Typo fix : individiual ⮞ individual 2020-06-17 10:44:45 -07:00
Bruno Baguette d2aefa7d94 Typo fix : ocassions ⮞ occasions 2020-06-17 10:44:31 -07:00
Bruno Baguette 59943ab868 Several typo fixes (#31077)
* Typo fix : thesse ⮞ these

* Several typo fixes

verical ⮞ vertical
availble ⮞ available 
thesse ⮞ these
2020-06-17 10:43:54 -07:00
Patrick H. Lauke 639fb4f251 Docs: clarify rationale for button group on links (#31071) 2020-06-17 16:37:27 +02:00
XhmikosR 7af860d13a Fix gzip badges 2020-06-17 17:24:58 +03:00
XhmikosR ac73ced8a9 README: remove .svg from shields.io badges 2020-06-17 17:24:58 +03:00
XhmikosR 12b754800c collapse.js: return early. 2020-06-17 16:58:56 +03:00
XhmikosR 8debdf6ce6 Remove a couple of variables used once 2020-06-17 16:58:56 +03:00
XhmikosR 94a5d87e15 Unbreak short lines 2020-06-17 16:58:56 +03:00
Catalin Zalog 9f9e4d04a1 feat: adds th null var (#30781)
Inherit `font-weight: bold` that comes from user agent stylesheets.
2020-06-17 16:55:28 +03:00
Johann-S 088c727a31 data: reword storage key in dom 2020-06-17 15:45:36 +02:00
Patrick H. Lauke 5ad43fec83 Docs: fix old/broken example capture and typo (#31070)
* Docs: fix old/broken example capture and typo

* Make example less broken-looking

don't want to give impression that now it's ok to just sprinkle `role="button"` around. this at least makes the `span` keyboard-focusable, similar to at least the start of a custom control

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-17 15:28:35 +03:00
XhmikosR 8efe4aa9af Update bundlewatch.yml (#31063)
Specify `CI_TRACK_BASE: main`
2020-06-17 15:23:48 +03:00
dependabot-preview[bot] de0047051c Bump terser from 4.7.0 to 4.8.0 (#31052)
Bumps [terser](https://github.com/terser/terser) from 4.7.0 to 4.8.0.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v4.7.0...v4.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-17 09:16:08 +03:00
dependabot-preview[bot] 99e78ea082 Bump rollup from 2.15.0 to 2.16.1 (#31053)
Bumps [rollup](https://github.com/rollup/rollup) from 2.15.0 to 2.16.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.15.0...v2.16.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-17 09:12:20 +03:00
Mark Otto c943e438b0 Update links to bug and feature request issue templates 2020-06-16 22:24:08 -07:00
Mark Otto 66bd7feed5 Update issue templates 2020-06-16 14:03:48 -07:00
XhmikosR a1708ec2a3 5.0.0-alpha1 2020-06-16 22:12:01 +03:00
Mark Otto 40fd8350f3 Update v5 readme
- New logo
- Add callout to v4-dev branch
2020-06-16 22:02:03 +03:00
XhmikosR ebb0b8c68c Run dist. 2020-06-16 22:02:03 +03:00
XhmikosR 723cd8d12b Prepare docs for v5.getbootstrap.com
* use v5.getbootstrap.com as the site URL/CNAME
* block robots from crawling
* specify next npm tag
2020-06-16 22:02:03 +03:00
XhmikosR c28934cb18 Rename "master" to "main". (#31050) 2020-06-16 21:41:47 +03:00
Mark Otto 970f3b3a8f v5: Add role=button cursor in Reboot (#31040)
* v5: Add role=button cursor in Reboot

Ports the changes from #30562 made in v4.5 and adds them to v5. This replaces #30563 which sought to add this to the utility API, but the v4 PR shifted to implement an accessible solution vs a lone utility.

* Update reboot.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-16 11:30:40 -07:00
Quy 11e63c1b36 Fix typo (#31051)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-16 21:25:54 +03:00
XhmikosR d126c1fe4e Move homepage-hero.svg and improve compression 2020-06-16 21:19:32 +03:00
XhmikosR a9519d6336 Remove the unused bootstrap-stack.svg 2020-06-16 21:19:32 +03:00
Mark Otto 69921580fd Downsize SVG, add role=img 2020-06-16 21:19:32 +03:00
Mark Otto e8a590f253 Center up the B in our logo a bit better 2020-06-16 21:19:32 +03:00
Mark Otto 442df2119b Update navbar logo and hero image 2020-06-16 21:19:32 +03:00
Mark Otto 0cc66b4145 Update navbar and subnav to xxl container 2020-06-16 21:19:32 +03:00
Mark Otto 6ca54573a9 Update v5 homepage to match v4.5's changes 2020-06-16 21:19:32 +03:00
XhmikosR e084588517 Fix social_image_path dimensions 2020-06-16 20:04:56 +03:00
XhmikosR cf6ab08842 Add new favicons. 2020-06-16 20:04:56 +03:00
XhmikosR 1776197c26 Remove IE-specific images/files. 2020-06-16 20:04:56 +03:00
Mark Otto 17768d2459 v5: New favicons 2020-06-16 20:04:56 +03:00
XhmikosR 96aa924d37 Fix BootstrapCDN's name (#31049) 2020-06-16 19:37:42 +03:00
XhmikosR 3b66bbeddc Fix a broken link and a redirect. (#31045) 2020-06-16 19:32:00 +03:00
XhmikosR ac2b7c0c8e Remove reference to Bootlint.
Unfortunately, Bootlint does not work on Bootstrap >= v4.
2020-06-16 19:25:51 +03:00
XhmikosR c9dd6772e8 Remove unused issue templates 2020-06-16 19:25:51 +03:00
XhmikosR 43a2a38576 Tighten bundlewatch limits (#31043) 2020-06-16 09:55:26 +03:00
Martijn Cuppens 93f1028e82 Clarify removal of border radii 2020-06-15 19:04:19 -07:00
Martijn Cuppens 8b7b234fd1 Switch to btn-check 2020-06-15 19:04:19 -07:00
Martijn Cuppens 1a0a0858ef Remove checkbox/radio toggle from button plugin in favor of a CSS only solution 2020-06-15 19:04:19 -07:00
Jonathan 1b2ea5efb1 Update index.html
Hyphen to minus for amount.
Hyphen to dash for ranges.
2020-06-14 21:22:35 -07:00
Martijn Cuppens 7e28764e67 Change breakpoint-max implementation
- The `media-breakpoint-down()` uses the breakpoint itself instead of the next breakpoint. Use `media-breakpoint-down(lg)` instead of `media-breakpoint-down(md)` to target viewports smaller than the `lg` breakpoint.
- The `media-breakpoint-between()` mixin's second parameter also uses the breakpoint itself instead of the next breakpoint. Use `media-between(sm, lg)` instead of `media-breakpoint-between(sm, md)` to target viewports between the `sm` and `lg` breakpoints.
2020-06-14 14:50:47 -07:00
Gaël Poupard aee711bfa9 docs(examples): fix pricing example 2020-06-14 14:47:56 -07:00
Gaël Poupard 6fa3dfe8d9 docs(examples): improve headings hierarchy 2020-06-14 14:47:56 -07:00
Gaël Poupard 7b30cb9b77 docs(examples): empty alt for screenshots to prevent redundancy 2020-06-14 14:47:56 -07:00
Mark Otto a656458856 Run dist on latest 2020-06-14 13:52:54 -07:00
k-utsumi cde53a85d1 🔥 Remove container duplication 2020-06-12 14:29:43 -07:00
Mark Otto 286f16b92c v5: Redo blockquote attributions (#30814)
* v5: Redo blockquote attributions

- Renames -small-* variables to -footer-*
- Updates blockquote demos with attribution to place it outside the blockquote with a figure wrapper

* Updated class name

* docs(examples): refactor blockquotes in masonry example

Co-authored-by: Gaël Poupard <gael.poupard@orange.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-12 14:26:37 -07:00
XhmikosR 594e5fd071 Replace serve with sirv-cli. (#31020) 2020-06-12 20:49:01 +03:00
XhmikosR c4d26a511e Update devDependencies (#31019)
* eslint-config-xo             ^0.30.0  →  ^0.31.0
* eslint-plugin-import         ^2.21.1  →  ^2.21.2
* karma                         ^5.0.9  →   ^5.1.0
2020-06-12 20:43:49 +03:00
XhmikosR d963442d0b Update .gitattributes (#30934)
This requires git >= 2.10 but it was released almost 4 years ago.
2020-06-12 11:23:44 +03:00
XhmikosR 3d8d0012c8 Stylelint: remove redundant disables (#31006) 2020-06-12 11:11:36 +03:00
Gaël Poupard 2a4e97b56c docs(layout): drop useless .text-left on overview table 2020-06-11 22:39:49 -07:00
XhmikosR b0b9d14446 Update lint.yml (#31012) 2020-06-11 23:20:10 +03:00
XhmikosR 833125b5fe Revert "Change when CI runs"
This reverts commit 37dc6e1031.
2020-06-11 07:52:12 +03:00
XhmikosR 3575a2b3c8 Update Actions
* skip BrowserStack if we are not on the main repo
* remove the action filename from cache
2020-06-11 07:52:12 +03:00
XhmikosR f57ac7231e Switch to Node.js 12.x. 2020-06-10 08:19:51 +03:00
XhmikosR 37dc6e1031 Change when CI runs
Run it for all pull requests, the master branch, and any branches that end with `-ci`.
2020-06-10 08:19:51 +03:00
XhmikosR 0c731dd24f Add dart-sass build test
Builds the CSS with dart-sass and lists the files in dist-sass/css folder
2020-06-10 08:19:51 +03:00
XhmikosR e7604207a1 Split GitHub Actions.
Everything should be faster now. Also, we can restart a failed workflow and not the whole thing like before.
2020-06-10 08:19:51 +03:00
Gaël Poupard 32d18d199c fix(grid): zero min-width on .col has too much side-effects (#30979)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-09 21:49:29 +03:00
dependabot-preview[bot] 21a18c1cf5 Bump @rollup/plugin-commonjs from 12.0.0 to 13.0.0 (#30991)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 12.0.0 to 13.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v12.0.0...commonjs-v13.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-09 21:44:16 +03:00
Martijn Cuppens e9f7a1d826 Fix undefined custom properties in reboot (#30981) 2020-06-09 10:20:53 +02:00
XhmikosR e9da984ef4 Update devDependencies (#30987)
* @rollup/plugin-babel          ^5.0.2  →   ^5.0.3
* eslint                        ^7.1.0  →   ^7.2.0
* eslint-config-xo             ^0.29.1  →  ^0.30.0
* eslint-plugin-import         ^2.20.2  →  ^2.21.1
* rollup                       ^2.12.0  →  ^2.15.0
* serve                        ^11.3.1  →  ^11.3.2
* stylelint                    ^13.5.0  →  ^13.6.0
2020-06-09 09:59:35 +03:00
Rohit Sharma 6061227f77 Update docs for navs
Co-authored-by: Mark Otto <otto@github.com>
2020-06-09 07:48:58 +03:00
Rohit Sharma e140ff92ed Remove .nav-item from .nav-link to make it consistent
- Closes #28423
2020-06-09 07:48:58 +03:00
Gaël Poupard 92a728eae6 Prevent .row from shrinking in flex container (#30940) 2020-06-08 19:47:43 +02:00
Rohit Sharma 5faf41eb48 Add role="dialog" in modals via JavaScript (#30936) 2020-06-04 10:35:09 +03:00
XhmikosR 358d637d1c Read validate-forms.js from assets. 2020-06-03 15:57:20 +03:00
XhmikosR 6824d67beb Fix forms validation snippets. 2020-06-03 15:57:20 +03:00
XhmikosR 08742abda3 shortcodes/example.html: allow specifying the highlighting language 2020-06-03 15:57:20 +03:00
XhmikosR 9a5b4766ae Regenerate package-lock.json (#30953) 2020-06-03 10:05:22 +03:00
dependabot-preview[bot] 2e92e843bb Bump hugo-bin from 0.59.1 to 0.60.0 (#30952)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.59.1 to 0.60.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.59.1...v0.60.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-02 19:52:52 +03:00
dependabot-preview[bot] 2277f19a7e Bump @babel/preset-env from 7.9.6 to 7.10.2 (#30951)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.9.6 to 7.10.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.2/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-02 19:46:28 +03:00
dependabot-preview[bot] a9f08e884b Bump @babel/plugin-proposal-object-rest-spread from 7.9.6 to 7.10.1 (#30950)
Bumps [@babel/plugin-proposal-object-rest-spread](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-object-rest-spread) from 7.9.6 to 7.10.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.1/packages/babel-plugin-proposal-object-rest-spread)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-02 19:40:07 +03:00
dependabot-preview[bot] b5c546e413 Bump karma-jasmine from 3.1.1 to 3.3.1 (#30949)
Bumps [karma-jasmine](https://github.com/karma-runner/karma-jasmine) from 3.1.1 to 3.3.1.
- [Release notes](https://github.com/karma-runner/karma-jasmine/releases)
- [Changelog](https://github.com/karma-runner/karma-jasmine/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-jasmine/compare/v3.1.1...v3.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-02 19:33:31 +03:00
dependabot-preview[bot] b274c22d7f Bump @babel/cli from 7.8.4 to 7.10.1 (#30947)
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.8.4 to 7.10.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.1/packages/babel-cli)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-02 19:27:15 +03:00
dependabot-preview[bot] 2c12dfd1a4 Bump karma-coverage-istanbul-reporter from 3.0.2 to 3.0.3 (#30948)
Bumps [karma-coverage-istanbul-reporter](https://github.com/mattlewis92/karma-coverage-istanbul-reporter) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/releases)
- [Changelog](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/compare/v3.0.2...v3.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-02 19:21:06 +03:00
dependabot-preview[bot] 797550d14b Bump rollup from 2.10.9 to 2.12.0 (#30946)
Bumps [rollup](https://github.com/rollup/rollup) from 2.10.9 to 2.12.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.10.9...v2.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-02 19:14:29 +03:00
dependabot-preview[bot] 7e77926e27 Bump vnu-jar from 20.3.16 to 20.5.29 (#30945)
Bumps [vnu-jar](https://github.com/validator/validator) from 20.3.16 to 20.5.29.
- [Release notes](https://github.com/validator/validator/releases)
- [Changelog](https://github.com/validator/validator/blob/master/CHANGELOG.md)
- [Commits](https://github.com/validator/validator/compare/20.3.16...20.5.29)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-02 19:08:59 +03:00
dependabot-preview[bot] c0ba8ac795 Bump eslint-plugin-unicorn from 20.0.0 to 20.1.0 (#30944)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 20.0.0 to 20.1.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v20.0.0...v20.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-02 19:01:18 +03:00
dependabot-preview[bot] e8c901e57e Bump @babel/core from 7.9.6 to 7.10.2 (#30943)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.9.6 to 7.10.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.2/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-02 18:53:21 +03:00
dependabot-preview[bot] b1501bf034 Bump stylelint-config-twbs-bootstrap from 2.0.2 to 2.0.3 (#30942)
Bumps [stylelint-config-twbs-bootstrap](https://github.com/twbs/stylelint-config-twbs-bootstrap) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/twbs/stylelint-config-twbs-bootstrap/releases)
- [Commits](https://github.com/twbs/stylelint-config-twbs-bootstrap/compare/v2.0.2...v2.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-02 18:42:53 +03:00
Mark Otto c682e751bf Restore word-break: break-word on .text-break to fix text breaking on flex containers (#30932) 2020-05-31 06:49:23 +03:00
Edson Jr 1f1b147f19 Add space-evenly option for justify-content (#30910) 2020-05-30 15:19:10 +02:00
Gaël Poupard 407b4c3606 docs(layout): improve layout when content is short (#30908)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-28 20:33:41 +03:00
XhmikosR c6288e3170 Update CI config (#30920)
* update to `actions/cache@v2`
* stop invalidating the cache if test.yml changes
2020-05-28 20:28:02 +03:00
dependabot-preview[bot] d9063498f9 Bump serve from 11.3.0 to 11.3.1 (#30904)
Bumps [serve](https://github.com/zeit/serve) from 11.3.0 to 11.3.1.
- [Release notes](https://github.com/zeit/serve/releases)
- [Commits](https://github.com/zeit/serve/compare/11.3.0...11.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-26 19:08:32 +03:00
Gaël Poupard ad518e2097 Apply utilities in docs styles (#30866)
* docs(theming): apply utilities where possible

* Update docs-sidebar.html

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-26 19:02:19 +03:00
dependabot-preview[bot] 3935fc04e9 Bump @rollup/plugin-commonjs from 11.1.0 to 12.0.0 (#30902)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 11.1.0 to 12.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v11.1.0...commonjs-v12.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-26 18:57:08 +03:00
XhmikosR 167739baf1 Update grid.md
Fix docsref links
2020-05-26 18:48:03 +03:00
dependabot-preview[bot] db93d17383 Bump hugo-bin from 0.59.0 to 0.59.1
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.59.0 to 0.59.1.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.59.0...v0.59.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-26 18:48:03 +03:00
dependabot-preview[bot] 57273a520c Bump karma from 5.0.8 to 5.0.9 (#30901)
Bumps [karma](https://github.com/karma-runner/karma) from 5.0.8 to 5.0.9.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v5.0.8...v5.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-26 18:37:40 +03:00
dependabot-preview[bot] b369e624a2 Bump eslint from 7.0.0 to 7.1.0 (#30900)
Bumps [eslint](https://github.com/eslint/eslint) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.0.0...v7.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-26 18:27:35 +03:00
dependabot-preview[bot] e75f9603d8 Bump rollup from 2.10.4 to 2.10.9 (#30899)
Bumps [rollup](https://github.com/rollup/rollup) from 2.10.4 to 2.10.9.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.10.4...v2.10.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-26 18:17:48 +03:00
XhmikosR b1c720d047 examples: remove no longer used classes. (#30894) 2020-05-26 11:01:17 +03:00
XhmikosR 340236cbe4 Update to @rollup/plugin-babel (#30742) 2020-05-26 06:14:12 +03:00
Mark Otto c9cd3e4a08 v5: Make navbar active links consistent (#30831)
* Update navbar docs to put .active class on .nav-link

Fixes #30652 in v5.

* Remove two selectors from navbar nav that are either unused, or duplicative

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-20 15:56:42 +03:00
XhmikosR 3b06411402 homepage: fix headings hierarchy (#30871) 2020-05-20 13:04:36 +03:00
Gaël Poupard e1f320851a docs(customize/sass): dark color-contrast is #212529 as of now 2020-05-20 09:49:18 +02:00
Gaël Poupard b45a2ab178 docs(customize/colors): dump grays swatches (unused) and merge -500 in swatches 2020-05-20 09:49:18 +02:00
Gaël Poupard e03ef123e2 docs(contrasts): move content after rebasing master 2020-05-20 09:49:18 +02:00
Martijn Cuppens e04bbe99ea Code simplification 2020-05-20 09:49:18 +02:00
Gaël Poupard 5b480fcc80 feat(color-contrast): set min-contrast-ratio as an argument 2020-05-20 09:49:18 +02:00
Gaël Poupard a0dd474bc6 docs(theming): display contrast ratios in color swatches 2020-05-20 09:49:18 +02:00
Gaël Poupard a7e1b914ef docs(colors): better color utilities pairing to ensure sufficient contrast 2020-05-20 09:49:18 +02:00
Gaël Poupard 1b8bf5b56c feat(color-contrast): ensure we return a contrasted enough color (light-first), the most contrasted one otherwise 2020-05-20 09:49:18 +02:00
Martijn Cuppens 2df63f4925 Fix gradient on switch checkbox (#30868) 2020-05-19 22:06:50 +02:00
dependabot-preview[bot] 95446d5e7a Bump lockfile-lint from 4.3.4 to 4.3.6 (#30864)
Bumps [lockfile-lint](https://github.com/lirantal/lockfile-lint) from 4.3.4 to 4.3.6.
- [Release notes](https://github.com/lirantal/lockfile-lint/releases)
- [Commits](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.3.4...lockfile-lint@4.3.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-19 18:12:45 +03:00
dependabot-preview[bot] 7229b3a6bc Bump autoprefixer from 9.7.6 to 9.8.0 (#30863)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.7.6 to 9.8.0.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.7.6...9.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-19 18:07:52 +03:00
dependabot-preview[bot] 0a9627f9a9 Bump stylelint from 13.3.3 to 13.5.0 (#30862)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.3.3 to 13.5.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.3.3...13.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-19 17:59:21 +03:00
dependabot-preview[bot] 943cb8ee29 Bump rollup from 2.10.0 to 2.10.4 (#30860)
Bumps [rollup](https://github.com/rollup/rollup) from 2.10.0 to 2.10.4.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.10.0...v2.10.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-19 17:43:24 +03:00
dependabot-preview[bot] 0cbf988096 Bump karma from 5.0.5 to 5.0.8 (#30859)
Bumps [karma](https://github.com/karma-runner/karma) from 5.0.5 to 5.0.8.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v5.0.5...v5.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-19 17:22:30 +03:00
dependabot-preview[bot] 468134410d Bump nodemon from 2.0.3 to 2.0.4 (#30858)
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.3...v2.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-19 17:10:02 +03:00
dependabot-preview[bot] bcd3f5a040 Bump hugo-bin from 0.58.0 to 0.59.0 (#30857)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.58.0 to 0.59.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.58.0...v0.59.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-19 17:04:22 +03:00
dependabot-preview[bot] ad92acde5e Bump terser from 4.6.13 to 4.7.0 (#30856)
Bumps [terser](https://github.com/terser/terser) from 4.6.13 to 4.7.0.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v4.6.13...v4.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-19 16:58:32 +03:00
XhmikosR e271d01606 Streamline application.js exampleModal code (#30819)
* use `textContent` since we only need to add text
* move comments
2020-05-19 08:33:12 +03:00
XhmikosR 62626db320 More Markdownlint fixes 2020-05-18 16:28:22 +03:00
Mark Otto d2f07ec9e1 Fix some easy Markdown linting issues
- Always use dashes for bullets
- Add some basic alt text for our readme OC sponsors
2020-05-18 16:28:22 +03:00
Martijn Cuppens 897d2f3877 Prevent conflicts with components with classes (#30830)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-15 15:59:06 +03:00
Mark Otto c794c9df2f v5: Add border-radius to .card-img-overlay (#30817)
Allows use of background-color and more. Fixes #29033 for v5.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-15 15:42:31 +03:00
XhmikosR 01d1d6bb0c migration.md: a few grammar fixes 2020-05-15 15:03:12 +03:00
Martijn Cuppens b531bda07c Improve gradients
- Use a semitransparent gradient from light to dark which works on any background-color
- Store the gradient as a custom property (--bs-gradient)
- Remove `.bg-gradient-*` variants in favour of `.bg-gradient` which works even when `$enable-gradients` are enabled
- Add gradients to navbar, active page links and badges when gradients are enabled
2020-05-15 15:03:12 +03:00
Mark Otto bbeda10e37 v5: Update color on custom switch focus state
Replaces a custom hsla() value (dunno what I was thinking when I added this) with a reassigned existing variable. This variable goes up the stack and attaches to the component-active-bg variable, derived from our primary color out of the box. Fixes #30646.
2020-05-14 20:31:30 -07:00
Mark Otto 12a6576f48 Simplify list-group borders in cards (#30808) 2020-05-14 19:48:46 +02:00
Mark Otto 46d876314b Split table cell padding variables (#30815) 2020-05-14 19:43:33 +02:00
XhmikosR 5d11d5790a Fix broken anchors. (#30828) 2020-05-14 19:43:56 +03:00
XhmikosR 7966167cf6 Replace double tilde with Math.floor (#30691)
Nowadays, browser engines have improved a lot and `Math.floor` is the same, if not faster.
Also, clarity is better than micro-optimizations in this case.
2020-05-14 09:46:42 +03:00
XhmikosR ddf39a5092 Update devDependencies (#30807)
* eslint                        ^6.8.0  →   ^7.0.0
* eslint-plugin-unicorn        ^19.0.1  →  ^20.0.0
* karma-jasmine-html-reporter   ^1.5.3  →   ^1.5.4
* lockfile-lint                 ^4.2.2  →   ^4.3.4
* rollup                        ^2.9.1  →  ^2.10.0
2020-05-14 09:26:44 +03:00
William Entriken 1eaae4fa1f Update punctuation (#30757)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-13 22:52:40 +03:00
XhmikosR b07b342086 Partially Revert "Use regex.test() when we want to check for a Boolean. (#29969)" (#30770)
This partially reverts commit 9c2b9ac74d.
2020-05-13 22:49:41 +03:00
Cyrus 97eb2c1e24 capital at start of sentence (#30804)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-13 22:39:54 +03:00
XhmikosR 38ec7c4df7 Bump version to 5.0.0-alpha1 (#29925)
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.
2020-05-13 22:36:00 +03:00
XhmikosR de7af5ee07 Dist (#30694) 2020-05-13 21:53:43 +03:00
Christian Oliff 53eb7d3883 Fix .browserslistrc file name in docs (#30800) 2020-05-13 21:28:57 +03:00
dependabot-preview[bot] ab85aec2a7 Bump hugo-bin from 0.57.2 to 0.58.0 (#30787)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.57.2 to 0.58.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.57.2...v0.58.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-12 21:15:21 +03:00
dependabot-preview[bot] c26a0cb49c Bump rollup from 2.8.0 to 2.9.1 (#30789)
Bumps [rollup](https://github.com/rollup/rollup) from 2.8.0 to 2.9.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.8.0...v2.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-12 19:33:59 +03:00
dependabot-preview[bot] 75eb4d521b Bump bundlewatch from 0.2.6 to 0.2.7 (#30785)
Bumps [bundlewatch](https://github.com/bundlewatch/bundlewatch) from 0.2.6 to 0.2.7.
- [Release notes](https://github.com/bundlewatch/bundlewatch/releases)
- [Commits](https://github.com/bundlewatch/bundlewatch/compare/v0.2.6...v0.2.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-12 18:39:56 +03:00
dependabot-preview[bot] 2f0decdf1f Bump karma from 5.0.4 to 5.0.5 (#30786)
Bumps [karma](https://github.com/karma-runner/karma) from 5.0.4 to 5.0.5.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v5.0.4...v5.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-12 18:13:54 +03:00
dependabot-preview[bot] e94795562b Bump linkinator from 2.1.0 to 2.1.1 (#30788)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v2.1.0...v2.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-12 17:41:47 +03:00
Catalin Zalog e6829fb7b6 style: removes space (#30782) 2020-05-12 10:28:59 +03:00
XhmikosR fbdacc0e92 coverage: ignore node_modules 2020-05-12 08:31:38 +03:00
dependabot-preview[bot] 86fbe1c2ef Bump karma-coverage-istanbul-reporter from 2.1.1 to 3.0.2
Bumps [karma-coverage-istanbul-reporter](https://github.com/mattlewis92/karma-coverage-istanbul-reporter) from 2.1.1 to 3.0.2.
- [Release notes](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/releases)
- [Changelog](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/compare/v2.1.1...v3.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-12 08:31:38 +03:00
Dominik Kremer d59de33fc0 Add a test about the scrollbar issue on non-integer width 2020-05-12 07:51:09 +03:00
Giovanni Mendoza 3e7566f2c3 Avoid bad scrollbar replacement into width values 2020-05-12 07:51:09 +03:00
XhmikosR a22e2900f9 Update codeql.yml (#30777)
Remove moot fail-fast option
2020-05-11 21:04:27 +03:00
XhmikosR bf06347020 Improve build/zip-examples.js (#30759)
* remove favicons meta tags
* copy the two brand images we use in the examples
* opy dist and brand images into an assets folder
2020-05-11 18:01:18 +03:00
XhmikosR 94109cabf4 Add missing closing div tags (#30775)
Missed those in 967e607
2020-05-11 16:54:56 +03:00
Rohit Sharma ec3cfae29c Removed role="document" from the modal dialog (#30755) 2020-05-11 12:45:42 +03:00
XhmikosR acd1b562f0 package.json: reuse the existent karma script (#30758) 2020-05-08 16:17:40 +03:00
XhmikosR ca0a2d278c README.md: change Tests badge to point to master (#30765) 2020-05-08 15:52:56 +03:00
Regis Philibert f979307833 Add a param shortcode to work around the escaped characters in hashes 2020-05-07 20:53:21 +03:00
XhmikosR 2bd3bd842d Use safeHTMLAttr in the integrity attributes. 2020-05-07 20:53:21 +03:00
XhmikosR 737b6925ab Revert "Avoid bad scrollbar replacement into width values (#30690)"
This reverts commit 85c4788ded.
2020-05-06 21:25:59 +02:00
XhmikosR c380aeb751 Update rollup to v2.8.0 and regenerate package-lock.json (#30749) 2020-05-06 09:55:17 +03:00
XhmikosR 967e6071ba tests: streamline HTML end tags (#30648) 2020-05-06 09:20:08 +03:00
XhmikosR 23aaee8c6f Fix typo (#30745) (#30746)
Use possessive form of it

(cherry picked from commit d63b651f37)

Co-authored-by: Quy <quy@fluxbb.org>
2020-05-06 09:12:26 +03:00
Johann-S 650a7a7b76 add unit tests to ensure our plugins works in jquery 2020-05-06 07:55:48 +02:00
Johann-S d1575b6b6b ensure build plugins can exit in error (#30744)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-06 07:52:06 +03:00
Johann-S f91788548c enforce element check on scrollspy target (#30747) 2020-05-06 07:30:43 +03:00
XhmikosR 122c99ebeb BrowserStack: test Edge 16 too (#30725) 2020-05-05 22:10:16 +03:00
XhmikosR 515bdd4ce6 build-plugins.js: add missing shebang (#30743) 2020-05-05 21:20:44 +03:00
XhmikosR c33457dc2d Regenerate package-lock.json (#30741) 2020-05-05 21:11:14 +03:00
Gaël Poupard fb0ad7a93c Fix form file height (#30699) 2020-05-05 19:43:16 +02:00
dependabot-preview[bot] 6f7c8d3caf Bump @babel/plugin-proposal-object-rest-spread from 7.9.5 to 7.9.6 (#30737)
Bumps [@babel/plugin-proposal-object-rest-spread](https://github.com/babel/babel) from 7.9.5 to 7.9.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.9.5...v7.9.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-05 18:10:47 +03:00
dependabot-preview[bot] 55f80949f5 Bump @babel/core from 7.9.0 to 7.9.6 (#30736)
Bumps [@babel/core](https://github.com/babel/babel) from 7.9.0 to 7.9.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.9.0...v7.9.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-05 17:54:25 +03:00
dependabot-preview[bot] 79195675b2 Bump stylelint-config-twbs-bootstrap from 2.0.1 to 2.0.2 (#30735)
Bumps [stylelint-config-twbs-bootstrap](https://github.com/twbs/stylelint-config-twbs-bootstrap) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/twbs/stylelint-config-twbs-bootstrap/releases)
- [Commits](https://github.com/twbs/stylelint-config-twbs-bootstrap/compare/v2.0.1...v2.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-05 17:41:36 +03:00
XhmikosR 345fd1fe4c Revert "Update karma.conf.js"
This reverts commit b8abded0af.
2020-05-05 17:34:48 +03:00
XhmikosR b00da79ab9 Revert "Update karma-browserstack-launcher to v1.5.2."
This reverts commit 56190d04dd.
2020-05-05 17:34:48 +03:00
dependabot-preview[bot] a9fdecfd26 Bump karma from 5.0.2 to 5.0.4 (#30734)
Bumps [karma](https://github.com/karma-runner/karma) from 5.0.2 to 5.0.4.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v5.0.2...v5.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-05 17:22:18 +03:00
dependabot-preview[bot] 7de323d66e Bump node-sass from 4.14.0 to 4.14.1 (#30733)
Bumps [node-sass](https://github.com/sass/node-sass) from 4.14.0 to 4.14.1.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.14.0...v4.14.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-05 17:07:41 +03:00
dependabot-preview[bot] e2770d2f8e Bump @babel/preset-env from 7.9.5 to 7.9.6 (#30732)
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.9.5 to 7.9.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.9.5...v7.9.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-05 16:59:46 +03:00
dependabot-preview[bot] ee14be248c Bump terser from 4.6.12 to 4.6.13 (#30730)
Bumps [terser](https://github.com/terser/terser) from 4.6.12 to 4.6.13.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v4.6.12...v4.6.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-05 16:36:41 +03:00
dependabot-preview[bot] f355bb14b6 Bump linkinator from 2.0.6 to 2.1.0 (#30729)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 2.0.6 to 2.1.0.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v2.0.6...v2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-05 16:31:39 +03:00
dependabot-preview[bot] 70a41c5aef Bump rollup from 2.7.3 to 2.7.6 (#30728)
Bumps [rollup](https://github.com/rollup/rollup) from 2.7.3 to 2.7.6.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.7.3...v2.7.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-05 16:22:01 +03:00
XhmikosR db80eb96fa Move babel whitelist helpers to a common file (#30723) 2020-05-04 20:08:28 +03:00
XhmikosR 56190d04dd Update karma-browserstack-launcher to v1.5.2. 2020-05-04 20:01:29 +03:00
XhmikosR b8abded0af Update karma.conf.js
Use the recommended karma-browserstack-launcher settings
2020-05-04 20:01:29 +03:00
XhmikosR 89822cfa05 build/build-plugins.js: add missing catch (#30722) 2020-05-04 19:54:49 +03:00
XhmikosR 727e09b641 scrollspy.js: remove temporary variable (#30724) 2020-05-04 19:43:50 +03:00
XhmikosR 37f2c04c5f Clean up lint rules (#30721)
* Remove unneeded rule suppression
* Format tests/unit/.eslintrc.json
* build/.eslintrc.json: add strict for consistency
2020-05-04 19:32:09 +03:00
XhmikosR 9e8d6ba3f8 Update codeql.yml (#30719)
Remove `pull_request` event since it's not supported.
2020-05-04 19:24:26 +03:00
Mark Otto 1f531a6583 Update CSS variables docs to clarify usage and intent 2020-05-02 15:13:58 -07:00
Mark Otto ee2765076d Finish up creating your own components docs 2020-05-01 11:35:40 -07:00
Mark Otto e0b1eff2d3 Update function names in migration, clarify tints and shades are Sass variables 2020-05-01 11:35:40 -07:00
Mark Otto ca5c67364a Remove mentions of Bootstrap 4 in a few places, replacing with updated guidance where appropriate 2020-05-01 11:35:40 -07:00
XhmikosR 81404d2e3c search.js: make the check for URL stricter (#30695) 2020-04-30 21:07:26 +03:00
Mark Otto 3e73039936 v5: Unify spacing across components (#30564)
Co-Authored-By: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-04-30 15:17:08 +02:00
Johann-S 85c4788ded Avoid bad scrollbar replacement into width values (#30690) 2020-04-29 22:28:20 +03:00
Martijn Cuppens ed2caa5117 Remove borders from iframes by default (#30620) 2020-04-29 20:32:35 +02:00
Gaël Poupard 8bee113008 [type=radio] should always be rounded (#30686) 2020-04-29 21:13:57 +03:00
XhmikosR df88748eb7 Add a script to zip the built examples (#30130) 2020-04-29 21:03:26 +03:00
Martijn Cuppens 7153c2c3bf <pre>: Disable auto-hiding scrollbar in legacy Edge (#30685)
Disable auto-hiding scrollbar in legacy Edge to avoid overlap, making it impossible to interact with the content.
2020-04-29 17:51:25 +03:00
XhmikosR 9922ef5c16 masthead-followup: Add missing traling slash (#30681) 2020-04-29 17:23:34 +03:00
XhmikosR ad75ee191f Update codeql.yml (#30679)
* run the action on PRs too
* specify `javascript` language
* remove comments
* reindent
2020-04-29 16:57:10 +03:00
XhmikosR 6d7cb22728 Move codeql.yml one dir up (#30677) 2020-04-29 15:01:48 +03:00
Justin Hutchings 1e8e3e5e12 Add CodeQL Analysis workflow (#30676)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-29 09:52:21 +03:00
XhmikosR 9d3dc5f0e0 Update config.yml (#30671) 2020-04-29 09:47:10 +03:00
Martijn Cuppens c8d68fbec7 Drop closest from SelectorEngine (#30653)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-28 22:17:23 +03:00
XhmikosR 06c3c144b6 CI: remove no longer needed steps (#30674)
The latest `actions/setup-node` prints this info by default
2020-04-28 18:06:03 +03:00
XhmikosR acaa44cc0e Regenerate package-lock.json (#30673) 2020-04-28 17:51:23 +03:00
dependabot-preview[bot] 7d347a4c72 Bump find-unused-sass-variables from 1.0.5 to 2.0.0 (#30672)
Bumps [find-unused-sass-variables](https://github.com/XhmikosR/find-unused-sass-variables) from 1.0.5 to 2.0.0.
- [Release notes](https://github.com/XhmikosR/find-unused-sass-variables/releases)
- [Commits](https://github.com/XhmikosR/find-unused-sass-variables/compare/v1.0.5...v2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-28 16:40:14 +03:00
dependabot-preview[bot] 3300c6267a Bump eslint-plugin-unicorn from 18.0.1 to 19.0.1 (#30663)
* Bump eslint-plugin-unicorn from 18.0.1 to 19.0.1

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 18.0.1 to 19.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v18.0.1...v19.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* ESlint: disable a few new rules for now.

* unicorn/no-fn-reference-in-iterator
* unicorn/no-null

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-28 16:28:46 +03:00
dependabot-preview[bot] 693ee0d2b0 Bump postcss-cli from 7.1.0 to 7.1.1 (#30670)
Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/postcss/postcss-cli/releases)
- [Changelog](https://github.com/postcss/postcss-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-cli/compare/7.1.0...7.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-28 15:55:57 +03:00
dependabot-preview[bot] 82ef465b20 Bump hugo-bin from 0.57.0 to 0.57.2 (#30668)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.57.0 to 0.57.2.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.57.0...v0.57.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-28 15:49:42 +03:00
dependabot-preview[bot] 72b37fa6ca Bump rollup from 2.6.1 to 2.7.3 (#30666)
Bumps [rollup](https://github.com/rollup/rollup) from 2.6.1 to 2.7.3.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.6.1...v2.7.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-28 15:41:08 +03:00
dependabot-preview[bot] 5a7d31f820 Bump node-sass from 4.13.1 to 4.14.0 (#30667)
Bumps [node-sass](https://github.com/sass/node-sass) from 4.13.1 to 4.14.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.13.1...v4.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-28 15:35:10 +03:00
dependabot-preview[bot] ecda8301a5 Bump terser from 4.6.11 to 4.6.12 (#30664)
Bumps [terser](https://github.com/terser/terser) from 4.6.11 to 4.6.12.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v4.6.11...v4.6.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-28 15:28:29 +03:00
dependabot-preview[bot] ba858eafe8 Bump shelljs from 0.8.3 to 0.8.4 (#30665)
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.3 to 0.8.4.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.3...v0.8.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-28 15:23:03 +03:00
Martijn Cuppens ea34cc4c1e Prevent list group style leaks (#30660) 2020-04-28 09:24:17 +02:00
Mark Otto 28cb1ff2b2 Fill in some unusedcss section links 2020-04-26 17:26:04 -07:00
Mark Otto ac58c25dc8 Update CSS variables docs
- Rename available vars section to root vars and mention they're globally available
- Add new component vars section and link to table docs for WIP example
2020-04-26 17:26:04 -07:00
Mark Otto 7ba43e3361 Include code snippet for lean JS section 2020-04-26 17:26:04 -07:00
Mark Otto 78261846dd Add example of a custom component using docs callouts 2020-04-26 17:26:04 -07:00
Mark Otto cb4aff6eac Update shortcode usage 2020-04-26 17:26:04 -07:00
Mark Otto 81417a2fc6 wordsmithing 2020-04-26 17:26:04 -07:00
Mark Otto 1e3672418a pull in latest from old theming page 2020-04-26 17:26:04 -07:00
Mark Otto 88490fe81d Use scss-docs for color maps 2020-04-26 17:26:04 -07:00
Mark Otto cab56abd08 Add more context to customizing components 2020-04-26 17:26:04 -07:00
Mark Otto cbe8ad0bf8 Add overview intro to the Customize section 2020-04-26 17:26:04 -07:00
Mark Otto f6e2f4c656 Rewrite Theming docs as Customize section
- Broke up existing theming page into separate pages
- Audited and updated each new docs page (some pages include some TBD sections)
- Update sidenav to reflect changes
- Fix links that pointed to the old Theming page
- Update docs styles to reflect recent changes
- Rewrite some bits in the Migration page
2020-04-26 17:26:04 -07:00
Mark Otto 85ac2fc35e Create a new table shortcode so we can easily add Bootstrap table classes to Markdown tables 2020-04-26 17:26:04 -07:00
Mark Otto 0408799ae5 Rename variables for brevity
- Rename `$enable-prefers-reduced-motion-media-query` to `$enable-reduced-motion`
- Rename `$enable-pointer-cursor-for-buttons` to `$enable-button-pointers`
2020-04-26 17:26:04 -07:00
Mark Otto bb7ada6548 Remove existing Theming page as we build out a new Customize section 2020-04-26 17:26:04 -07:00
Tanguy Krotoff d2ed920b15 Remove caret element (#30633) 2020-04-24 21:53:31 +02:00
Martijn Cuppens cff2a085bb Update table docs copy
Co-Authored-By: Mark Otto <markd.otto@gmail.com>
2020-04-24 10:05:10 +02:00
Martijn Cuppens 6558664f4c Customizable table group seperator colors 2020-04-24 10:05:10 +02:00
Martijn Cuppens eed27f35cc Add bs prefix 2020-04-24 10:05:10 +02:00
Martijn Cuppens d089a683c8 Prevent nested tables style leaks 2020-04-24 10:05:10 +02:00
dependabot-preview[bot] ffb19e925c Bump karma from 5.0.1 to 5.0.2 (#30629)
Bumps [karma](https://github.com/karma-runner/karma) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v5.0.1...v5.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-21 15:16:23 +03:00
dependabot-preview[bot] 0f79583b7f Bump stylelint from 13.3.2 to 13.3.3 (#30628)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.3.2 to 13.3.3.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.3.2...13.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-21 15:05:39 +03:00
Catalin Zalog ed32ee2e78 Add $form-text-font-weight (#30617) 2020-04-20 08:19:06 +02:00
Martijn Cuppens 4fc701f6aa Drop @support (position: sticky) media query (#30415) 2020-04-18 14:10:18 +02:00
Catalin Zalog 338ca83821 grid: checks for $grid-columns > 0 (#30605)
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-04-18 11:51:50 +02:00
Martijn Cuppens b79e55fed4 Remove negative margins leftovers (#30596)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-18 09:11:17 +03:00
Catalin Zalog a8883a3b96 feat: checks for $grid-breakpoints map list (#30609)
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-04-17 19:18:51 +02:00
XhmikosR d2325b65c8 Improve docs-sidebar.html (#30567)
Reduce the output HTML
2020-04-17 18:47:19 +02:00
Tanguy Krotoff 7787f642b9 Fix crash when pressing ArrowUp the first time 2020-04-17 18:22:15 +03:00
Tanguy Krotoff d7f0f1aac9 Replace event.delegateTarget with event.target
No need for fixEvent() anymore
2020-04-17 18:22:15 +03:00
Tanguy Krotoff dcd99aa7d1 Replace event.which with event.key and event.button 2020-04-17 18:22:15 +03:00
XhmikosR 8547ab149a collapse: don't rely on implicit conversion (#30566)
`config` can be an `Object` and we only need to test for `hide` or `show` if it's a `String`
2020-04-17 15:09:51 +03:00
Catalin Zalog 6b5f055a7d feat: checks for $grid-row-columns (#30606) 2020-04-16 19:15:51 +02:00
Catalin Zalog 3ff3680d4e feat: removes .form-text display (#30598)
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-04-16 16:38:21 +02:00
Mark Otto df4be07a02 Create config.yml 2020-04-15 16:51:30 -07:00
Martijn Cuppens 8cdb057111 Add bs- prefixes to custom properties (#30591) 2020-04-15 18:52:16 +02:00
XhmikosR f0abe26b98 guuters.md: fix link and highlight (#30595) 2020-04-15 17:14:56 +03:00
Martijn Cuppens 5c2a50fb9e Disable negative margins by default (#30585)
* Disable negative margins by default

* Use shorter enable variable

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-15 07:36:35 +03:00
Mark Otto fea6f6987d v5: Improve the responsiveness of our Dashboard example (#30573)
Cleans up some column classes to ensure things line up across all viewports. Also fixes some broken padding on the .navbar-brand.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-15 07:22:55 +03:00
Mark Otto 3ab9323ad2 Slight adjustment to the h3 heading spacing in docs 2020-04-14 21:03:56 -07:00
Mark Otto be9a2374c5 v5: Update system font stack (#30561)
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-04-14 23:15:50 +02:00
Mark Otto 11d562d20a Update release-drafter.yml 2020-04-14 12:30:49 -07:00
Mark Otto 5136228368 Update release-drafter.yml 2020-04-14 12:15:46 -07:00
Mark Otto 33d08209f9 Merge pull request #30460 from twbs/release-drafter
Add Release Drafter Action
2020-04-14 11:12:46 -07:00
k-utsumi 3a0fb1f7dc Delete appearance from button.close (#30582) 2020-04-14 17:25:59 +02:00
Martijn Cuppens ed8fd689e6 Simplify checkbox & radio input (#30557)
- Define background properties in `.form-check-input`
- Use `background-size: contain` to simplify background sizes (especially for those with linear gradients)
- Remove double `color-adjust`
- Adjust svgs to 20x20 box. This way the strokes aren't rescaled.
2020-04-14 15:05:34 +02:00
Martijn Cuppens 9eaeb38ac0 Update RFS to 9.0.3 (#30581)
* Two dimensional fix - https://github.com/twbs/rfs/pull/225
2020-04-14 14:04:29 +02:00
Mark Otto 4efc1c462d Redo display headings (#30568)
- Convert to Sass map
- Consolidate font-weights into single option (matching line-height for them)
- Add two new sizes and create a new scale
- Update migration docs

Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-04-14 13:57:11 +02:00
Catalin Zalog e2afbbfa82 Restore .form-text (#30565) 2020-04-14 09:21:13 +03:00
Mark Otto 789bcf6ad6 Merge pull request #30354 from twbs/grid-xxl-and-sidebar-toc
v5: Add new `xxl` grid tier and move ToC to a sidebar
2020-04-13 18:23:56 -07:00
Mark Otto febdcefcd7 Merge branch 'master' into release-drafter 2020-04-13 15:34:08 -07:00
Mark Otto 7dedccfb9a Update docs for new XXL grid tier
- Updates mentions of number and exact tiers
- Updates grid example to include xxl container
- Adds some scss-docs references
- Cleans up other grid mentions and docs
- Updates navbar example to include an expand at XXL variant
2020-04-13 14:40:47 -07:00
Mark Otto e3583115c6 Clarify media query using .02px and bump from callout to warning 2020-04-13 13:55:34 -07:00
XhmikosR 5f932ff734 layout/z-index.md: retrieve z-index variables on build time 2020-04-13 13:55:34 -07:00
Mark Otto e2efa2b764 Update file size for the grid build 2020-04-13 13:55:34 -07:00
Mark Otto 33a4e8ff9b Rewrite grid docs to account for new grid tier
- Breaks grid content across multiple pages
- Updates mentions of grid tiers from five to six
- Rewrites how it works sections to reference new options and tiers
2020-04-13 13:55:34 -07:00
Mark Otto bb3e5f712a Move table of contents to new sidebar, restyle it to be simpler 2020-04-13 13:55:34 -07:00
Mark Otto 6fdb8e6e68 Add an xxl grid tier
- Staring at my laptop, I realized I'm wasting away space. This adds a 
significant amount of CSS, but it feels right already.
- Added the xxl tier with a width that divides by 12
- Motivation was originally trying to have a third column for our toc so 
that our docs are more useful
2020-04-13 13:55:34 -07:00
XhmikosR 1004e3e786 Update devDependencies (#30544)
* @babel/plugin-proposal-object-rest-spread   ^7.9.0  →   ^7.9.5
* @babel/preset-env                           ^7.9.0  →   ^7.9.5
* @rollup/plugin-commonjs                    ^11.0.2  →  ^11.1.0
* @rollup/plugin-node-resolve                 ^7.1.1  →   ^7.1.3
* hugo-bin                                   ^0.56.3  →  ^0.57.0
* karma                                       ^4.4.1  →   ^5.0.1
* nodemon                                     ^2.0.2  →   ^2.0.3
* rollup                                      ^2.3.3  →   ^2.6.1
* stylelint                                  ^13.3.0  →  ^13.3.2
* terser                                     ^4.6.10  →  ^4.6.11
2020-04-13 17:40:01 +03:00
Catalin Zalog 8cb60bf043 Use box-shadow mixin for .btn (#30512)
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-04-11 13:40:39 +02:00
Catalin Zalog 939beea620 Use box-shadow mixin for .form-select (#30555) 2020-04-11 13:27:01 +02:00
Gaël Poupard bcdd8fbc07 Use custom properties for font-stacks (#30509) 2020-04-10 20:31:58 +02:00
Martijn Cuppens 8fe162d67a Remove redundant class and line height (#30542) 2020-04-09 21:25:09 +03:00
XhmikosR 9a5033d413 Pass multiple classes to classList.add / classList.remove (#30537)
This is supported by our currently supported browsers.
2020-04-09 20:56:43 +03:00
XhmikosR 7126741ffb Add v4-dev in bundlewatch config. (#30541) 2020-04-09 12:41:00 +03:00
Martijn Cuppens 5e65b12f1c Add checkbox transition (#30528) 2020-04-09 08:07:11 +02:00
XhmikosR 9f6ccf9d12 Replace bundlesize with bundlewatch. (#30538) 2020-04-08 21:28:54 +03:00
Mark Otto 64050f43bc Fix spinner-grow animation (#30504)
* Fix spinner-grow animation

Safari seems to be interpreting the old keyframes animation as incomplete. Adding `transform` to the second frame seems to resolve the issue.

Co-Authored-By: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-04-08 20:58:23 +03:00
Gaël Poupard bfbf265a50 Use correct hex color code(#30533) 2020-04-08 12:50:57 +02:00
dependabot-preview[bot] 2ac41f0d3e Bump autoprefixer from 9.7.5 to 9.7.6 (#30524)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.7.5 to 9.7.6.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.7.5...9.7.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-07 16:08:17 +03:00
dependabot-preview[bot] cbe26bb764 Bump rollup from 2.3.2 to 2.3.3 (#30523)
Bumps [rollup](https://github.com/rollup/rollup) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.3.2...v2.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-07 16:01:29 +03:00
dependabot-preview[bot] d03dce5d27 Bump stylelint from 13.2.1 to 13.3.0 (#30522)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.2.1 to 13.3.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.2.1...13.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-07 15:07:29 +03:00
Martijn Cuppens 83b49aa688 Create scss-docs shortcode to get some snippets from the Scs… (#30502)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-06 20:13:35 +02:00
Catalin Zalog 98ba40dc06 Add .card-footer color (#30515) 2020-04-06 14:59:29 +02:00
Martijn Cuppens a85d80c925 Add nav link transition (#29988) 2020-04-06 14:29:39 +03:00
XhmikosR 4bcac68ec9 Update devDependencies and regenerate package-lock.json (#30501)
* linkinator 2.0.6
* rollup 2.3.2
* terser 4.6.10

We are now down to one low npm vulnerability
2020-04-02 22:35:55 +03:00
Martijn Cuppens e8e6d64eb0 Fix card list group borders & radii (#30497) 2020-04-02 08:10:11 +03:00
Catalin Zalog 1cc1a47646 Use box-shadow mixin for form controls (#30480) 2020-04-01 19:44:22 +02:00
ysds dfa017adc3 Always modal scroll top to 0 2020-04-01 10:05:43 +03:00
Martijn Cuppens 05fb3905e6 Fix border radii 2020-04-01 10:05:43 +03:00
ysds 062002d952 Fix CSS and improve docs 2020-04-01 10:05:43 +03:00
gsoti e138decdbb Add Full-Screen size to Modal and Responsive variations for breakpoints
(Works from breakpoint and down)
2020-04-01 10:05:43 +03:00
Shohei Yoshida 053d5d5e93 transition() mixin prevent redundant 'transition: none' and pass null (#30391)
* Prevent redundant 'none' for prefers-reduced-motion

* Output warning when use 'none' or 'null' with multiple arguments

* Fix for libsass(node-sass)
2020-04-01 09:42:33 +03:00
Martijn Cuppens 6663faa3e7 Fix date inputs heights in safari 2020-04-01 08:30:40 +02:00
Martijn Cuppens 43d866313d Fix active state dropdown 2020-03-31 22:52:57 +02:00
Martijn Cuppens c48d89cb70 Use unordered lists in dropdown-menus 2020-03-31 22:52:57 +02:00
cccabinet 695088ba8f Docs: Use unordered lists in dropdowns 2020-03-31 22:52:57 +02:00
Martijn Cuppens 6dfe8e02d7 Fix text decorations (#30492)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-31 21:42:38 +03:00
Martijn Cuppens df707cd727 Require .form-label classes on form labels (#30476) 2020-03-31 20:02:57 +02:00
Gaël Poupard a0c2a29a8d docs(tables): 1, 2, 2, 4… (#30489)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-31 17:28:10 +03:00
XhmikosR 1fbafea0fe Regenerate package-lock.json. (#30488)
We are down to 2 npm vulnerabilities (1 low, 1 high).
2020-03-31 16:35:18 +03:00
dependabot-preview[bot] 077ec65a6d Bump eslint-plugin-import from 2.20.1 to 2.20.2 (#30486)
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.20.1 to 2.20.2.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.20.1...v2.20.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-31 16:25:34 +03:00
dependabot-preview[bot] eccd337818 Bump rollup from 2.2.0 to 2.3.1 (#30485)
Bumps [rollup](https://github.com/rollup/rollup) from 2.2.0 to 2.3.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.2.0...v2.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-31 16:17:56 +03:00
dependabot-preview[bot] 588cdaffcd Bump terser from 4.6.7 to 4.6.9 (#30483)
Bumps [terser](https://github.com/terser/terser) from 4.6.7 to 4.6.9.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v4.6.7...v4.6.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-31 16:11:23 +03:00
dependabot-preview[bot] df748516eb Bump eslint-plugin-unicorn from 18.0.0 to 18.0.1 (#30484)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 18.0.0 to 18.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v18.0.0...v18.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-31 16:06:12 +03:00
Yannik Hampe a1b5a64fba Use variables for list-group-item color levels (#30009)
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-03-31 14:51:50 +02:00
Martijn Cuppens 22a535641b Cleanup responsive tables (#30482) 2020-03-31 10:33:05 +02:00
Mark Otto 232de79db8 Update release-notes.yml 2020-03-30 11:55:44 -07:00
Mark Otto fd2f669836 Update release-notes.yml 2020-03-30 11:51:45 -07:00
Mark Otto e52e0ff463 Update release-notes.yml 2020-03-30 11:48:28 -07:00
Mark Otto 878d636739 Update release-notes.yml 2020-03-30 11:33:34 -07:00
Mark Otto d966f7ee5f Update release-drafter.yml 2020-03-30 11:33:21 -07:00
Mark Otto 1221cc6e34 Update release-drafter.yml 2020-03-30 10:58:00 -07:00
Mark Otto 5e68429a48 Testing 2020-03-30 10:46:16 -07:00
Martijn Cuppens 8414126266 Switch to custom properties to control grid gutter widths (#30475) 2020-03-30 15:12:36 +02:00
XhmikosR e1f5d819c7 Remove MSPointerEvent and ms-touch-action in tests (#30463) 2020-03-29 09:59:54 +03:00
XhmikosR ed94976ea8 Use textContent instead of innerText. (#30462)
It's supported by all of our supported browsers.
2020-03-29 09:53:57 +03:00
Catalin Zalog dec3ea6a7f Order sizes variables (#30479) 2020-03-28 21:01:37 +01:00
XhmikosR 9496cb60f3 docs: remove makeArray (#30470) 2020-03-28 18:05:11 +02:00
Martijn Cuppens 4448856038 Simplify sidebar styles 2020-03-28 17:57:22 +02:00
Gaël Poupard 9efaeba35e docs(sidenav): use class selector for active item 2020-03-28 17:57:22 +02:00
Gaël Poupard c0aa3a1e1e docs(sidenav): transition arrow too 2020-03-28 17:57:22 +02:00
Gaël Poupard 72230091b6 docs(sidenav): get rid of custom JS for active state 2020-03-28 17:57:22 +02:00
Gaël Poupard 79dc21b22b docs(sidenav): fix struggling CSS when collapsing sidenav 2020-03-28 17:57:22 +02:00
Gaël Poupard 5f58b3df2c docs(sidenav): use collapse components 2020-03-28 17:57:22 +02:00
XhmikosR 74afe149c4 Dist (#29924) 2020-03-28 12:29:08 +02:00
XhmikosR f761d8e801 Remove holder.js leftovers (#30469) 2020-03-28 12:07:14 +02:00
XhmikosR c0efceb6d5 docs: remove duplicate code for indeterminate (#30471) 2020-03-28 11:41:03 +02:00
Laussel Loïc 7ce29d75f3 v5 tabs - accessibility issue when using ul/li semantic
Add aria-role presentation on li element when ul element has role tablist and remove dropdown from visual tests as they've been removed from doc
2020-03-28 09:51:24 +02:00
XhmikosR 860b511e03 Update eslint-plugin-unicorn to v18.0.0 (#30461) 2020-03-26 17:49:45 +02:00
Mark Otto 2add57eeff Create release-drafter.yml 2020-03-25 16:05:48 -07:00
Mark Otto 0ed53ff15b Create release-notes.yml 2020-03-25 16:04:37 -07:00
XhmikosR b9bc5beb1d .gitignore: add Jekyll's cache folder (#30454)
So that when we switch branches the folder is ignored.
2020-03-25 23:08:53 +02:00
XhmikosR 863ed22e1a Regenerate package-lock.json to fix npm vulnerabilities (#30425)
3 left, 2 low and 1 high
2020-03-25 23:03:52 +02:00
dependabot-preview[bot] e65c75e39f Bump karma-rollup-preprocessor from 7.0.4 to 7.0.5 (#30459)
Bumps [karma-rollup-preprocessor](https://github.com/jlmakes/karma-rollup-preprocessor) from 7.0.4 to 7.0.5.
- [Release notes](https://github.com/jlmakes/karma-rollup-preprocessor/releases)
- [Changelog](https://github.com/jlmakes/karma-rollup-preprocessor/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jlmakes/karma-rollup-preprocessor/compare/7.0.4...7.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-25 22:58:32 +02:00
dependabot-preview[bot] 3c6d5c4675 Bump rollup from 2.1.0 to 2.2.0 (#30458)
Bumps [rollup](https://github.com/rollup/rollup) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.1.0...v2.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-25 22:51:31 +02:00
dependabot-preview[bot] e140577dd4 Bump karma-jasmine-html-reporter from 1.5.2 to 1.5.3 (#30457)
Bumps [karma-jasmine-html-reporter](https://github.com/dfederm/karma-jasmine-html-reporter) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/dfederm/karma-jasmine-html-reporter/releases)
- [Commits](https://github.com/dfederm/karma-jasmine-html-reporter/compare/v1.5.2...v1.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-25 22:46:54 +02:00
dependabot-preview[bot] 7cbc1c569e Bump lockfile-lint from 4.2.1 to 4.2.2 (#30456)
Bumps [lockfile-lint](https://github.com/lirantal/lockfile-lint) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/lirantal/lockfile-lint/releases)
- [Commits](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.2.1...lockfile-lint@4.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-25 22:40:12 +02:00
Johann-S fe492d8021 fix babel config in our files 2020-03-25 22:32:37 +02:00
XhmikosR 2c86fdb254 Adapt rollup config for recent @babel/present-env version 2020-03-25 22:32:37 +02:00
dependabot-preview[bot] 9adf91221e Bump @babel/preset-env from 7.8.7 to 7.9.0
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.7 to 7.9.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.7...v7.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-25 22:32:37 +02:00
Johann-S 26d86fce2a fix: remove make array util function (#30430) 2020-03-25 16:35:02 +02:00
XhmikosR 98c4598696 Fix redirected links. 2020-03-24 22:05:26 +02:00
XhmikosR 8411c37974 Fix links after #30041 2020-03-24 22:05:26 +02:00
dependabot-preview[bot] ec3c6776ff Bump hugo-bin from 0.55.1 to 0.56.3 (#30446)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.55.1 to 0.56.3.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.55.1...v0.56.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-24 15:50:07 +02:00
dependabot-preview[bot] acd1c40d50 Bump karma-rollup-preprocessor from 7.0.3 to 7.0.4 (#30445)
Bumps [karma-rollup-preprocessor](https://github.com/jlmakes/karma-rollup-preprocessor) from 7.0.3 to 7.0.4.
- [Release notes](https://github.com/jlmakes/karma-rollup-preprocessor/releases)
- [Changelog](https://github.com/jlmakes/karma-rollup-preprocessor/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jlmakes/karma-rollup-preprocessor/compare/7.0.3...7.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-24 15:44:25 +02:00
dependabot-preview[bot] 735bb5996c Bump @babel/plugin-proposal-object-rest-spread from 7.8.3 to 7.9.0 (#30444)
Bumps [@babel/plugin-proposal-object-rest-spread](https://github.com/babel/babel) from 7.8.3 to 7.9.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.3...v7.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-24 15:39:35 +02:00
dependabot-preview[bot] 1ca47aef4f Bump @babel/core from 7.8.7 to 7.9.0 (#30443)
Bumps [@babel/core](https://github.com/babel/babel) from 7.8.7 to 7.9.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.7...v7.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-24 15:32:32 +02:00
dependabot-preview[bot] fa908c4a1a Bump autoprefixer from 9.7.4 to 9.7.5 (#30442)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.7.4 to 9.7.5.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.7.4...9.7.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-24 15:28:06 +02:00
dependabot-preview[bot] 20406926ed Bump lockfile-lint from 4.1.0 to 4.2.1 (#30441)
Bumps [lockfile-lint](https://github.com/lirantal/lockfile-lint) from 4.1.0 to 4.2.1.
- [Release notes](https://github.com/lirantal/lockfile-lint/releases)
- [Commits](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.1.0...lockfile-lint@4.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-24 15:19:09 +02:00
Patrick H. Lauke 7af4af209c Add accessible name to fieldset 2020-03-24 15:02:58 +02:00
Patrick H. Lauke 00ff5b83f9 Add explicit aria-label to unlabeled controls
- in particular, controls that just relied on `placeholder`, as this is still not officially/consistently supported as a valid way to provide an accessible name (though some browsers do use it as a fallback)
2020-03-24 15:02:58 +02:00
Patrick H. Lauke a68f73e754 Remove unnecessary <form> elements, add a submit button to validation example 2020-03-24 15:02:58 +02:00
Patrick H. Lauke c96f6391e8 Add explicit title to iframe embed 2020-03-24 15:02:58 +02:00
Patrick H. Lauke 1871412978 Add explicit scope="col" to <th> column headers 2020-03-24 15:02:58 +02:00
Mark Otto 4ccd522a76 Add .caption-top for tables (#30435)
* Move caption-side to <table> element in Reboot

* Add class for .caption-top
2020-03-24 10:00:45 +01:00
Zedicius 64a5987cc0 File chooser size (#30040)
Co-authored-by: David Van Doninck <david.vandoninck@intracto.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-03-23 18:36:54 +01:00
Catalin Zalog 8f84d4051b Make form-check label customizable (#30426)
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-03-23 18:29:56 +01:00
Shohei Yoshida 1b7e13f2a3 Update modal docs (#30325) 2020-03-23 18:15:30 +01:00
Tim Dujardin 3e5bc4c56d Added focus state to .btn-link (#30036) 2020-03-23 18:08:17 +01:00
Gaël Poupard 03908ea37a Use WCAG contrast algo (#30168) 2020-03-23 18:03:56 +01:00
Martijn Cuppens 2e150e722a Use next dropdown menu instead of first of the parent 2020-03-23 15:35:07 +01:00
Martijn Cuppens 85b12549ec Simplify input groups by dropping .input-group-prepend and .input-group-append 2020-03-23 15:35:07 +01:00
Gaël Poupard 9eccb3a230 Documentation skip links (#30073)
* docs(skip-links): add a skip to main navigation skip link

* docs(skip-links): revamp skip-links pattern

* docs(navs): use aria-label on navs

* docs(navs): use 'docs navigation' label in sidebar nav
2020-03-23 16:23:37 +02:00
Martijn Cuppens 25d2eac45b Use a link helper instead of the text color utility 2020-03-23 14:11:29 +01:00
Martijn Cuppens c51e9fa4ee Fix wrapping bug (#30345) 2020-03-21 16:44:08 +02:00
Mark Otto 0388ee03d9 Merge pull request #30389 from twbs/underline-links
v5: Underline links
2020-03-20 08:58:54 -07:00
Martijn Cuppens 4a37677dda Merge branch 'master' into underline-links 2020-03-20 12:30:41 +01:00
Martijn Cuppens 7fc4037a02 Remove redundant text decoration from hover states 2020-03-20 09:35:55 +01:00
Martijn Cuppens 39c11c6b3f Restore hover text decoration on toc links 2020-03-20 09:33:53 +01:00
dependabot-preview[bot] 81223ee041 Bump linkinator from 2.0.3 to 2.0.4 (#30424)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v2.0.3...v2.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-20 10:02:34 +02:00
dependabot-preview[bot] 0790b8efeb Bump rollup from 2.0.6 to 2.1.0 (#30423)
Bumps [rollup](https://github.com/rollup/rollup) from 2.0.6 to 2.1.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.0.6...v2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-20 09:53:54 +02:00
satotake a523caab87 Fix commonmark syntax (#30276)
* Fix commonmark syntax

related https://github.com/gohugoio/hugo/issues/6553

* Fix indentation

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-19 21:11:29 +02:00
Martijn Cuppens 27ec3e8690 Update Legacy Edge support 2020-03-18 20:59:27 +02:00
Martijn Cuppens 910d481062 Remove underline hack for breadcrumbs 2020-03-18 20:59:27 +02:00
ysds 89d90d1f85 Remove Internet Explorer leftovers 2020-03-18 20:59:27 +02:00
Martijn Cuppens d9e83671ae Drop IE support from Sass 2020-03-18 20:59:27 +02:00
XhmikosR 018a94c9c1 Remove Internet Explorer leftovers 2020-03-18 20:59:27 +02:00
Johann-S 47aef7b2c6 Remove IE compatibility JS code 2020-03-18 20:59:27 +02:00
XhmikosR bc3f82863b Remove IE in .browserslistrc 2020-03-18 20:59:27 +02:00
XhmikosR 5017f6b620 Revert "Revert "remove --compress typeofs=false from terser.""
This reverts commit dd75ac6c25.
2020-03-18 20:59:27 +02:00
XhmikosR dffe600b1c Revert "Revert "Add information about IE 11 compatibility.""
This reverts commit bcf76ef5f0.
2020-03-18 20:59:27 +02:00
XhmikosR 9108e303ef Revert "Revert "Remove IE-specific breadcrumb CSS hack""
This reverts commit 15d242d21a.
2020-03-18 20:59:27 +02:00
XhmikosR 13b27f8a09 Update docs-navbar.html (#30418)
Open icons in a new tab like the rest of the external links
2020-03-18 20:52:58 +02:00
XhmikosR 057f880000 Regenerate package-lock.json (#30413)
Fixes a few npm vulnerabilities.
2020-03-18 18:29:13 +02:00
Laurens Nicolay 2a05c9e33f Change navbar GitHub link to org (#30041)
Co-authored-by: Laurens Nicolay <laurens.nicolay@intracto.com>
2020-03-18 17:33:26 +02:00
Johann-S aff115219e fix: ensure totype always returns stringified null/undefined when null/undefined is passed (#30383) 2020-03-18 13:10:55 +02:00
XhmikosR d773cafe3d Tighten bundlesize JS limits. 2020-03-18 12:58:54 +02:00
XhmikosR 38333feda5 Switch to strings constants.
This allows the minifier to mangle the constants. It also allows the linter to find unused strings properly.

While at it, remove a few unused properties.

File                        Before      After       Diff
--------------------------------------------------------
bootstrap.bundle.min.js     23.61 kB    22.61 kB    -1.00 kB (-4.23 %)
bootstrap.min.js            17.04 kB    16.08 kB    -0.96 kB (-5.63 %)
2020-03-18 12:58:54 +02:00
XhmikosR cece839fc9 Clarify card group behavior (#30416)
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2020-03-18 10:29:10 +02:00
XhmikosR 0ca2cf4cca Dashboard example: use the core .position-sticky class. (#30408) 2020-03-18 09:35:39 +02:00
dependabot-preview[bot] 80c291fec3 Bump terser from 4.6.6 to 4.6.7 (#30410)
Bumps [terser](https://github.com/terser/terser) from 4.6.6 to 4.6.7.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/v4.6.7/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v4.6.6...v4.6.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-17 22:12:48 +02:00
Mark Otto 1e0575ced2 remove dupe text-decoration 2020-03-17 12:26:35 -07:00
Mark Otto 685da5c802 supress underline on toc 2020-03-17 12:26:35 -07:00
Mark Otto a66e5e6643 Remove links from docs sidebar 2020-03-17 12:26:35 -07:00
Mark Otto f3692bf517 Enable underlines for links 2020-03-17 12:26:35 -07:00
dependabot-preview[bot] 6e422a742f Bump eslint-plugin-unicorn from 17.1.0 to 17.2.0 (#30405)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 17.1.0 to 17.2.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v17.1.0...v17.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-17 12:26:10 +02:00
dependabot-preview[bot] 7aaf688471 Bump hugo-bin from 0.55.0 to 0.55.1 (#30403)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.55.0 to 0.55.1.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.55.0...v0.55.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-17 12:17:45 +02:00
dependabot-preview[bot] b035661d93 Bump rollup from 2.0.3 to 2.0.6 (#30404)
Bumps [rollup](https://github.com/rollup/rollup) from 2.0.3 to 2.0.6.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.0.3...v2.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-17 12:09:03 +02:00
dependabot-preview[bot] 3da444574b Bump vnu-jar from 20.2.28 to 20.3.16 (#30402)
Bumps [vnu-jar](https://github.com/validator/validator) from 20.2.28 to 20.3.16.
- [Release notes](https://github.com/validator/validator/releases)
- [Changelog](https://github.com/validator/validator/blob/master/CHANGELOG.md)
- [Commits](https://github.com/validator/validator/compare/v20.2.28...20.3.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-17 12:00:03 +02:00
Catalin Zalog 52c5b06f1c fix(css): adds a new opacity var
Fixes beeing able to control `.is-valid` & `.is-invalid` input:focus opacity
2020-03-16 08:52:13 +01:00
Catalin Zalog fef94bf163 style: applies ascending order 2020-03-15 22:12:11 +01:00
Catalin Zalog 8501f2413f style: fixes indent (#30396) 2020-03-15 22:10:08 +02:00
Martijn Cuppens 4d4400e5ca Fix pseudo paddings and height 2020-03-14 17:09:08 +01:00
Catalin Zalog ff39e0bf84 feat(css): groups hr element 2020-03-14 12:24:16 +01:00
Martijn Cuppens 481f7c6a3d Use display: block; for form elements 2020-03-13 08:29:47 +01:00
Martijn Cuppens 3b555aaf61 Limit to scroll-margin-top to elements with an id 2020-03-12 17:56:16 +02:00
Martijn Cuppens 61b86c1e86 Use scroll-margin-top instead of pseudo hack 2020-03-12 17:56:16 +02:00
Martijn Cuppens e45c92f1d5 Remove .bd-example-responsive-containers
Added in https://github.com/twbs/bootstrap/pull/29095/files#diff-d4fb29267ed3a7c27482bbeac1723ab6 but never used
2020-03-12 08:45:28 +01:00
XhmikosR 51268b700b .browserslistrc: bump the minimum supported version to 16.16299 (#30378)
This is what is currently supported by Microsoft https://en.wikipedia.org/wiki/Microsoft_Edge#Release_history
2020-03-11 21:15:44 +02:00
Martijn Cuppens 2a2b0b5abe Change container padding to 1rem 2020-03-10 20:30:29 +01:00
Martijn Cuppens 973876eda6 fix indention
Co-Authored-By: Shohei Yoshida <ysds.code@gmail.com>
2020-03-10 20:30:29 +01:00
Martijn Cuppens fca5e35d13 Add row-cols-auto and responsive variants 2020-03-10 20:30:29 +01:00
Martijn Cuppens 5ac9fe8967 bootstrap-grid.css: Only apply box-sizing: border-box to the columns instead of using the universal selector 2020-03-10 20:30:29 +01:00
Martijn Cuppens 66408b6e59 Remove card decks in favor of the grid 2020-03-10 20:30:29 +01:00
Martijn Cuppens 8eb8c97bec Bootstrap 5 migration guide 2020-03-10 20:30:29 +01:00
Martijn Cuppens c05f993451 Bump bundlesizes 2020-03-10 20:30:29 +01:00
Martijn Cuppens df8f64d195 Update examples to the Bootstrap 5 grid 2020-03-10 20:30:29 +01:00
Martijn Cuppens 9daf36fdb7 Bootstrap 5 grid documentation
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2020-03-10 20:30:29 +01:00
Martijn Cuppens beefc6f530 Bootstrap 5 grid 2020-03-10 20:30:29 +01:00
dependabot-preview[bot] 0327545e6d Bump eslint-plugin-unicorn from 16.1.1 to 17.1.0 (#30373)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 16.1.1 to 17.1.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v16.1.1...v17.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 15:02:44 +02:00
dependabot-preview[bot] 86a3816855 Bump hugo-bin from 0.54.0 to 0.55.0 (#30371)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.54.0 to 0.55.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.54.0...v0.55.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 14:51:16 +02:00
dependabot-preview[bot] 56e3f088a6 Bump rollup from 2.0.2 to 2.0.3 (#30374)
Bumps [rollup](https://github.com/rollup/rollup) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.0.2...v2.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 14:42:24 +02:00
dependabot-preview[bot] cbc7b55b86 Bump stylelint from 13.2.0 to 13.2.1 (#30375)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.2.0 to 13.2.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.2.0...13.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 14:29:11 +02:00
dependabot-preview[bot] 67edc4d45d Bump lockfile-lint from 4.0.0 to 4.1.0 (#30372)
Bumps [lockfile-lint](https://github.com/lirantal/lockfile-lint) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/lirantal/lockfile-lint/releases)
- [Commits](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.0.0...lockfile-lint@4.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 13:51:33 +02:00
dependabot-preview[bot] 437ce77851 Bump rollup-plugin-babel from 4.3.3 to 4.4.0 (#30369)
Bumps [rollup-plugin-babel](https://github.com/rollup/rollup-plugin-babel) from 4.3.3 to 4.4.0.
- [Release notes](https://github.com/rollup/rollup-plugin-babel/releases)
- [Changelog](https://github.com/rollup/rollup-plugin-babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup-plugin-babel/compare/v4.3.3...v4.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 13:45:25 +02:00
Yogini Bende 74ed9d92e8 Minor .nav-tabs optimization (#30288) 2020-03-09 21:12:20 +02:00
Sparks c47547cd09 Improvement: harmonize usage of constants (#30285) 2020-03-09 17:26:29 +02:00
Martijn Cuppens 7d8c7c4ba8 prev() function fails when non-element nodes are present (#30117)
The `prev()` function doesn't take nodes other than elements into account. Also we could simplify things a lot using the `previousElementSibling` property. This property isn't fully supported in IE, it only works for elements, but since the `element` variable is an element, we can safely use it here.

I've also added an additional test.

I don't think we had this issue in v4, since we relied on jQuery back then.

Ref. https://developer.mozilla.org/en-US/docs/Web/API/NonDocumentTypeChildNode/nextElementSibling
2020-03-09 17:21:04 +02:00
XhmikosR 14c4a601fe Remove babel-eslint (#30355) 2020-03-09 16:37:54 +02:00
XhmikosR 2ab73225f3 Update rollup to v2.0.2 (#30356) 2020-03-09 16:24:07 +02:00
Catalin Zalog 0e611a3dcd style(css): removes &-* scss pattern 2020-03-08 12:59:18 -07:00
Christian Oliff f59ed75ba3 Remove unneeded og:image:secure_url from social.html (#30362)
The image is always available over HTTPS anyway

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-08 10:06:49 +02:00
Christian Oliff cfa874f5b9 Update browsers + devices support page to remove IE10, IE11 Mobile (#30363)
This PR removes unsupported browsers from supported tables based on the current `.browserlistrc` config
2020-03-08 09:20:43 +02:00
Martijn Cuppens fcc67da41f Align navbar in docs (#30359) 2020-03-07 13:09:05 +01:00
XhmikosR d79830c4ee Regenerate package-lock.json (#30352) 2020-03-06 18:02:26 +02:00
dependabot-preview[bot] b982d76ba3 Bump hugo-bin from 0.53.3 to 0.54.0 (#30351)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.53.3 to 0.54.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.53.3...v0.54.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-06 17:26:56 +02:00
dependabot-preview[bot] 50a4b83a96 Bump terser from 4.6.4 to 4.6.6 (#30350)
Bumps [terser](https://github.com/terser/terser) from 4.6.4 to 4.6.6.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v4.6.4...v4.6.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-06 17:16:56 +02:00
dependabot-preview[bot] bcb6bc30e6 Bump cross-env from 7.0.0 to 7.0.2 (#30349)
Bumps [cross-env](https://github.com/kentcdodds/cross-env) from 7.0.0 to 7.0.2.
- [Release notes](https://github.com/kentcdodds/cross-env/releases)
- [Changelog](https://github.com/kentcdodds/cross-env/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kentcdodds/cross-env/compare/v7.0.0...v7.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-06 15:28:57 +02:00
dependabot-preview[bot] 9a06b8d888 Bump @babel/preset-env from 7.8.6 to 7.8.7 (#30348)
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.6 to 7.8.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.6...v7.8.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-06 15:25:06 +02:00
dependabot-preview[bot] b5b5d8f461 Bump @babel/core from 7.8.6 to 7.8.7 (#30347)
Bumps [@babel/core](https://github.com/babel/babel) from 7.8.6 to 7.8.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.6...v7.8.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-06 15:19:42 +02:00
dependabot-preview[bot] 43246bff41 Bump rollup from 1.32.0 to 1.32.1 (#30346)
Bumps [rollup](https://github.com/rollup/rollup) from 1.32.0 to 1.32.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.32.0...v1.32.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-06 15:12:29 +02:00
XhmikosR 163e1934c2 Update clipboard.js to v2.0.6 (#30341) 2020-03-06 09:26:19 +02:00
XhmikosR 8abccff7b3 build/ship.sh: shellcheck fixes. (#30197)
Also add `set -e` so that if a command fails the whole script fails too.
2020-03-05 17:06:18 +02:00
Martijn Cuppens d9215ebd5a $link-decoration: underline affects some components (#30262)
Co-authored-by: Shohei Yoshida <fellows3@gmail.com>
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-03-05 15:22:52 +01:00
Shohei Yoshida 59c5d7599d reboot file: adds some grouping and comments standardizations (#30340)
* style: groups sections

- adds two nl before any section
- extract elements from wrong section ex: `mark` from `form`

* style: format comments

* style: sticks all `see`s with the description

- sticks
- renames

* style: removes not needed spaces

* style: removes not needed number like other cases

* style: stick credits with description

* style: adds missing number
2020-03-05 22:51:14 +09:00
XhmikosR 7eaf7528fc Add loading="lazy" in images (#30199) 2020-03-05 10:12:59 +02:00
XhmikosR 414314f3cb Switch versions & docs search (#30336) 2020-03-05 10:01:15 +02:00
Martijn Cuppens 0cfd8dfddf CSS & alignment tweaks 2020-03-04 16:17:01 +02:00
Minobi a99c531aa7 Example dashboard: fix menu disappearing on small viewport 2020-03-04 16:17:01 +02:00
Mark Otto 50c95d9b5d Embedded examples cleanup (#30330)
* Thin out embedded examples borders, rounded their corners
* Fix busted class
* Adjust nesting of .bd-example styles, tweak padding while I'm at it
* combine selectors
* cleanup some margins that always cancel each other out
* Remove redundant universal selector

Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-03-04 21:32:45 +09:00
Martijn Cuppens 481540800d Fix th alignment for Safari (#30323) 2020-03-02 08:36:17 +02:00
dependabot-preview[bot] 9bf33e4c80 Bump linkinator from 2.0.2 to 2.0.3 (#30319)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v2.0.2...v2.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-29 14:06:14 +02:00
Shohei Yoshida 40ac139bbe Fix centered modal scrolling issue (#30244)
Use the `min-content` property.
2020-02-29 09:59:36 +02:00
dependabot-preview[bot] ad8fd9e208 Bump hugo-bin from 0.52.2 to 0.53.3 (#30284)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.52.2 to 0.53.3.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.52.2...v0.53.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-02-29 09:52:40 +02:00
dependabot-preview[bot] af4e37631c Bump rollup from 1.31.1 to 1.32.0 (#30315)
Bumps [rollup](https://github.com/rollup/rollup) from 1.31.1 to 1.32.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.31.1...v1.32.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-02-28 22:54:13 +02:00
dependabot-preview[bot] 5e3857fafb Bump babel-eslint from 10.0.3 to 10.1.0 (#30314)
Bumps [babel-eslint](https://github.com/babel/babel-eslint) from 10.0.3 to 10.1.0.
- [Release notes](https://github.com/babel/babel-eslint/releases)
- [Commits](https://github.com/babel/babel-eslint/compare/v10.0.3...v10.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-02-28 22:49:59 +02:00
dependabot-preview[bot] 178a990cb3 Bump @babel/preset-env from 7.8.4 to 7.8.6 (#30311)
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.4 to 7.8.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.4...v7.8.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-02-28 22:44:51 +02:00
dependabot-preview[bot] b5dcb84112 Bump @babel/core from 7.8.4 to 7.8.6 (#30316)
Bumps [@babel/core](https://github.com/babel/babel) from 7.8.4 to 7.8.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.4...v7.8.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-02-28 22:39:19 +02:00
dependabot-preview[bot] 43b10cbee4 Bump linkinator from 2.0.1 to 2.0.2 (#30313)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v2.0.1...v2.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-28 22:33:09 +02:00
dependabot-preview[bot] 6e8dd76373 Bump vnu-jar from 20.2.25 to 20.2.28 (#30312)
Bumps [vnu-jar](https://github.com/validator/validator) from 20.2.25 to 20.2.28.
- [Release notes](https://github.com/validator/validator/releases)
- [Changelog](https://github.com/validator/validator/blob/master/CHANGELOG.md)
- [Commits](https://github.com/validator/validator/compare/v20.2.25...v20.2.28)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-28 22:26:12 +02:00
dependabot-preview[bot] d438f3fc79 Bump vnu-jar from 20.1.2 to 20.2.25 (#30282)
Bumps [vnu-jar](https://github.com/validator/validator) from 20.1.2 to 20.2.25.
- [Release notes](https://github.com/validator/validator/releases)
- [Changelog](https://github.com/validator/validator/blob/master/CHANGELOG.md)
- [Commits](https://github.com/validator/validator/compare/v20.1.2...v20.2.25)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-25 15:27:42 +02:00
dependabot-preview[bot] 96fbd4951a Bump terser from 4.6.3 to 4.6.4 (#30283)
Bumps [terser](https://github.com/terser/terser) from 4.6.3 to 4.6.4.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v4.6.3...v4.6.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-25 15:18:18 +02:00
Martijn Cuppens 648bceadd8 Add pointer event utilities (#30185) 2020-02-23 01:07:33 +01:00
XhmikosR 90f5dbae1d Netlify: set Hugo's baseURL to the DEPLOY_PRIME_URL variable (#30214)
This will allow each branch/preview to have its own base URL instead of the default one of the main site (getbootstrap.com).
2020-02-22 09:15:19 +02:00
XhmikosR b8ffcdf9a4 Use hugo.Environment instead of getenv (#29240)
This is set automatically to "development" when the local server is running, and to "production" when Hugo builds the site.
2020-02-22 08:54:43 +02:00
XhmikosR 9d50c6a18f Update lockfile-lint to v4.0.0. (#30260) 2020-02-20 11:34:01 +02:00
XhmikosR 557e9cfb3c ToC: specify ToC levels (#30216) 2020-02-17 21:46:18 +02:00
XhmikosR d191d57445 Update devDependencies (#30198)
* eslint-config-xo 0.29.1
* eslint-plugin-unicorn 16.1.1
* rollup 1.31.1
* stylelint 13.2.0
2020-02-17 21:24:34 +02:00
XhmikosR 9c57f79d6b .gitattributes: add .sh and remove .rb files. (#30196) 2020-02-17 21:18:57 +02:00
XhmikosR f1e47e24c3 scripts.html: don't load docsearch JS when it's not needed (#30205) 2020-02-17 20:52:28 +02:00
Gaël Poupard 48c8697fed docs(theming): improve headings hierarchy under Sass → Functions (#30207) 2020-02-17 20:40:08 +02:00
XhmikosR b9f6c29459 homepage: reduce margin and padding for small devices (#30195) 2020-02-17 20:35:11 +02:00
Christian Oliff cc44b4479a Add Microsoft Edge for MacOS to supported browsers (#29956)
The new Chromium-based Edge has been available as a beta for sometime and general availability of the final version is expected to ship from Jan 15. I think it makes sense to add it as a supported browser once it's out of beta.
REF: https://blogs.windows.com/windowsexperience/2019/11/04/introducing-the-new-microsoft-edge-and-bing/
2020-02-17 09:55:32 +02:00
Michael Lehenbauer f3e3c4976b Docs: Rephrase 'img-fluid' explanation for clarity (and avoid passive voice). (#30190) 2020-02-17 09:50:27 +02:00
Shohei Yoshida 8087272f06 Remove unnecessary reduce motion when $enable-transition: false (#30183) 2020-02-17 09:46:53 +02:00
XhmikosR 737308ae47 Update docs-versions.html (#29971)
Remove old versions
2020-02-16 21:55:21 +02:00
Martijn Cuppens 2e581510dc Add transparent background color to versions switcher (#30192) 2020-02-16 21:49:54 +02:00
XhmikosR 90375b5433 tables.md: make vertical table responsive (#30191)
Fixes page overflow on mobile.

Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-02-16 16:55:19 +01:00
Michael Lehenbauer 1dcd4967cc Remove confusing "Equal-width multi-line" section from docs (#30189) 2020-02-16 15:47:55 +01:00
Martijn Cuppens 148421be12 Remove map merges (#28508) 2020-02-15 14:41:59 +01:00
XhmikosR d7088cf048 interactions.md: remove trailing space (#30184) 2020-02-15 15:07:57 +02:00
Martijn Cuppens 3e8ab644ea Remove color shades callout (#30181)
Not applicable anymore since https://github.com/twbs/bootstrap/pull/29348
2020-02-15 13:52:27 +01:00
Martijn Cuppens 139b480b6d Update copy sizing utilities (#30182)
The `$sizes` Sass map doesn't exist anymore in `v5`.
2020-02-15 14:35:35 +02:00
XhmikosR 8d791f2800 Revert "Placeholder for transitions reset to prevent code duplication #29862"
This reverts commit cd7e5d1111.

Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-02-15 12:41:33 +01:00
Giovanni Mendoza daf0c438f1 Added new variable for padding on dropdown header (#29946)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-02-15 12:06:02 +01:00
Martijn Cuppens 1d8a3a9597 Add RFS to utility API (#30050) 2020-02-15 12:01:32 +01:00
Mark Otto 22062ed9d7 Docs table of contents list style fix (#30176)
* Fix missing bullets from table of contents top level

* Add .text-muted to toc for lighter bullets
2020-02-15 09:40:27 +02:00
Gaël Poupard cd7e5d1111 Placeholder for transitions reset to prevent code duplication… (#29870)
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-02-14 20:50:50 +01:00
Mike Rogers 6933bd4a1d Adding version number to documentation <title> (#30090)
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-02-14 20:35:08 +01:00
Martijn Cuppens 9aee71776d Fix logo alignment for IE (#29955) 2020-02-14 14:09:46 +01:00
Jens Luyten 7a694396c1 Add utility class for the user-select property (#30035)
* Add utility class for the user-select property

* Docs: Add new page for behavior utility classes - includes user select utility

* Update and rename behaviors.md to interactions.md

* Update sidebar.yml

Co-authored-by: Mark Otto <otto@github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-02-14 09:24:16 +02:00
Shohei Yoshida a9263e38fd Avoid border-radius functions return negative values (#30166)
* Avoid border-radius functions return negative values

* Update _border-radius.scss

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-02-14 08:40:07 +02:00
Christopher Morrissey 7fd6dd9d58 v5 docs: added wrapping class for rounded utils (#29379)
* Added wrapping class for rounded utils

Tweak /utilities/borders/#border-radius #29343

* Remove the extra div.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-02-13 22:22:10 -08:00
XhmikosR f2aeea6927 Update dependeabot config (#30153) 2020-02-13 14:50:33 +02:00
Martijn Cuppens 6f4784c8bb Docs navbar tweaks (#29948) 2020-02-13 13:45:33 +01:00
XhmikosR e7bedac3db change-version.js: Remove nuspec files (#30161)
The version in the nuspec files is updated automatically from package.json through MyGet.ps1
2020-02-13 14:37:25 +02:00
tu4mo ba72645eaf Remove IE10 mention, since it's not supported (#30167) 2020-02-12 21:58:28 +02:00
Martijn Cuppens f54b83073d Shorten if notations so that property order can be applied 2020-02-12 19:45:54 +02:00
Martijn Cuppens dc64ff3314 Convert background shorthands to separate properties 2020-02-12 19:45:54 +02:00
Martijn Cuppens 980c5fd728 Remove redundant properties & nullify redundant percentages 2020-02-12 19:45:54 +02:00
Martijn Cuppens 1bc2d65b29 Remove unrelated properties from gradient-bg mixin 2020-02-12 19:45:54 +02:00
XhmikosR c32209eb8a Update bs-custom-file-input to v1.3.4 (#30162) 2020-02-11 18:41:49 +02:00
GeoSot 1238734922 Make spinners speed adjustable (#30154) 2020-02-11 15:59:59 +02:00
dependabot-preview[bot] e0b4882703 Bump hugo-bin from 0.51.2 to 0.52.2 (#30160)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.51.2 to 0.52.2.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.51.2...v0.52.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-11 14:38:17 +02:00
dependabot-preview[bot] f9f7f11bfe Bump lockfile-lint from 3.0.12 to 3.0.18 (#30159)
Bumps [lockfile-lint](https://github.com/lirantal/lockfile-lint) from 3.0.12 to 3.0.18.
- [Release notes](https://github.com/lirantal/lockfile-lint/releases)
- [Commits](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.12...lockfile-lint@3.0.18)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-11 14:29:59 +02:00
dependabot-preview[bot] 4361f4ab63 Bump linkinator from 1.8.2 to 2.0.1 (#30158)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 1.8.2 to 2.0.1.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v1.8.2...v2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-11 14:22:16 +02:00
dependabot-preview[bot] 666b82fdd1 Bump karma-jasmine from 3.1.0 to 3.1.1 (#30157)
Bumps [karma-jasmine](https://github.com/karma-runner/karma-jasmine) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/karma-runner/karma-jasmine/releases)
- [Changelog](https://github.com/karma-runner/karma-jasmine/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-jasmine/compare/v3.1.0...v3.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-11 14:16:16 +02:00
dependabot-preview[bot] bfd83c0a47 Bump stylelint from 13.0.0 to 13.1.0 (#30155)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.0.0 to 13.1.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.0.0...13.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-11 14:08:49 +02:00
dependabot-preview[bot] 0b9cf29f5a Bump stylelint-config-twbs-bootstrap from 2.0.0 to 2.0.1 (#30156)
Bumps [stylelint-config-twbs-bootstrap](https://github.com/twbs/stylelint-config-twbs-bootstrap) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/twbs/stylelint-config-twbs-bootstrap/releases)
- [Commits](https://github.com/twbs/stylelint-config-twbs-bootstrap/compare/v2.0.0...v2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-11 14:01:28 +02:00
Martijn Cuppens 6e8ea2722d Introduce posibility to disable !important suffix for utility classes (#29625) 2020-02-10 16:05:07 +02:00
Jesse Mandel a0811af216 Updated nuspec content files and icon (#30148)
* #30045 - Update nuspec for updated content type

* Update iconUrl (deprecated) to icon

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-02-10 11:20:28 +02:00
yonikohen 7a60dcf9b0 Corrected grammatical error in test descriptions (#30150)
"without instantiate it" should be "without instantiating it"
2020-02-10 09:35:13 +02:00
Martijn Cuppens a880a582b7 Add ysds to the team page (#30145) 2020-02-09 13:12:28 +01:00
Gaël Poupard 96ac6068b3 Use aria-current where appropriate (#30079) 2020-02-07 13:18:30 +02:00
Gaël Poupard 8f94ed8e30 docs(SVG placeholder): add focusable=false to placeholder SVGs (#30075)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-02-06 09:01:02 +02:00
XhmikosR cef9b4e2ee Change file permissions to 644. (#30106) 2020-02-05 10:24:09 +02:00
XhmikosR b493b11c17 Regenerate package-lock.json. (#30135) 2020-02-05 10:16:17 +02:00
dependabot-preview[bot] 1c5613857c Bump lockfile-lint from 3.0.9 to 3.0.12 (#30137)
Bumps [lockfile-lint](https://github.com/lirantal/lockfile-lint) from 3.0.9 to 3.0.12.
- [Release notes](https://github.com/lirantal/lockfile-lint/releases)
- [Commits](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.9...lockfile-lint@3.0.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-04 14:30:50 +02:00
Mark Otto 3b2aadf2a1 Update migration guide for removal of .form-text (#30134)
Closes #29630
2020-02-04 11:14:55 +02:00
dependabot-preview[bot] f887fc5cec Bump karma-jasmine-html-reporter from 1.5.1 to 1.5.2 (#30132)
Bumps [karma-jasmine-html-reporter](https://github.com/dfederm/karma-jasmine-html-reporter) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/dfederm/karma-jasmine-html-reporter/releases)
- [Commits](https://github.com/dfederm/karma-jasmine-html-reporter/compare/v1.5.1...v1.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 23:47:14 +02:00
dependabot-preview[bot] 67d70aa03c Bump @rollup/plugin-node-resolve from 7.0.0 to 7.1.1 (#30133)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 7.0.0 to 7.1.1.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v7.0.0...node-resolve-v7.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 23:37:10 +02:00
eliasswns 807d67fe7e Added extra information about flex-alignment on vertical-alignment (#30047)
* change sentence

* Update vertical-align.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <otto@github.com>
2020-02-03 23:28:29 +02:00
Martijn Cuppens 532feab38b Split grid & containers (#29146) 2020-02-03 21:02:53 +01:00
dependabot-preview[bot] aa95f6d618 Bump eslint-plugin-unicorn from 15.0.1 to 16.0.0 (#30124)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 15.0.1 to 16.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v15.0.1...v16.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 13:00:03 +02:00
dependabot-preview[bot] 3df79f0c4b Bump eslint-plugin-import from 2.20.0 to 2.20.1 (#30125)
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.20.0 to 2.20.1.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.20.0...v2.20.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 12:52:25 +02:00
dependabot-preview[bot] d947ccd515 Bump @rollup/plugin-commonjs from 11.0.1 to 11.0.2 (#30128)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 11.0.1 to 11.0.2.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v11.0.1...commonjs-v11.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 12:47:12 +02:00
dependabot-preview[bot] 69b2d6538f Bump rollup from 1.30.1 to 1.31.0 (#30123)
Bumps [rollup](https://github.com/rollup/rollup) from 1.30.1 to 1.31.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.30.1...v1.31.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 12:35:25 +02:00
XhmikosR 25ad8dd55f Remove the unused babel-plugin-istanbul devDependency. (#30066) 2020-02-03 12:29:19 +02:00
dependabot-preview[bot] 16068edfc3 Bump @babel/core from 7.8.3 to 7.8.4 (#30129)
Bumps [@babel/core](https://github.com/babel/babel) from 7.8.3 to 7.8.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.3...v7.8.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 12:23:27 +02:00
dependabot-preview[bot] 874fa88870 Bump @babel/cli from 7.8.3 to 7.8.4 (#30126)
Bumps [@babel/cli](https://github.com/babel/babel) from 7.8.3 to 7.8.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.3...v7.8.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 12:00:28 +02:00
dependabot-preview[bot] f7a55a9763 Bump @babel/preset-env from 7.8.3 to 7.8.4 (#30122)
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.3 to 7.8.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.3...v7.8.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 11:53:26 +02:00
Martijn Cuppens fb91ee4d84 Cleanup content (#30120) 2020-02-03 11:34:20 +02:00
Martijn Cuppens ef6c13c534 tests: Remove button hrefs (#30119) 2020-02-01 20:39:18 +02:00
dependabot-preview[bot] 05fb3f219b Bump stylelint from 12.0.1 to 13.0.0 (#30100)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 12.0.1 to 13.0.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/12.0.1...13.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-28 15:09:25 +02:00
dependabot-preview[bot] 0fcd32889a Bump stylelint-config-twbs-bootstrap from 1.1.0 to 2.0.0 (#30099)
Bumps [stylelint-config-twbs-bootstrap](https://github.com/twbs/stylelint-config-twbs-bootstrap) from 1.1.0 to 2.0.0.
- [Release notes](https://github.com/twbs/stylelint-config-twbs-bootstrap/releases)
- [Commits](https://github.com/twbs/stylelint-config-twbs-bootstrap/compare/v1.1.0...v2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-28 14:59:26 +02:00
Cinnead 770d95ed02 Add transition and add box-shadow for navbar-toggler (#30038)
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-01-28 13:28:44 +01:00
dependabot-preview[bot] 07b726b27e Bump hugo-bin from 0.51.0 to 0.51.2 (#30096)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.51.0 to 0.51.2.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.51.0...v0.51.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-28 13:21:05 +02:00
dependabot-preview[bot] 1a4ff0903e Bump rollup from 1.29.1 to 1.30.1 (#30095)
Bumps [rollup](https://github.com/rollup/rollup) from 1.29.1 to 1.30.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.29.1...v1.30.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-28 13:15:16 +02:00
dependabot-preview[bot] d182ad1e62 Bump cross-env from 6.0.3 to 7.0.0 (#30094)
Bumps [cross-env](https://github.com/kentcdodds/cross-env) from 6.0.3 to 7.0.0.
- [Release notes](https://github.com/kentcdodds/cross-env/releases)
- [Changelog](https://github.com/kentcdodds/cross-env/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kentcdodds/cross-env/compare/v6.0.3...v7.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-28 13:09:36 +02:00
dependabot-preview[bot] 5ef829bd15 Bump lockfile-lint from 3.0.8 to 3.0.9 (#30097)
Bumps [lockfile-lint](https://github.com/lirantal/lockfile-lint) from 3.0.8 to 3.0.9.
- [Release notes](https://github.com/lirantal/lockfile-lint/releases)
- [Commits](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.8...lockfile-lint@3.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-28 12:58:37 +02:00
Martijn Cuppens 3350931585 Fix file input (#30086) 2020-01-25 15:58:32 +02:00
Jens Luyten 2e6c9f32bd Prevent grid with default cols from breaking when large pre was present (#30049) 2020-01-25 11:15:06 +02:00
Gaël Poupard 9a5a60676c docs(licence): fix headings hierarchy (#30080) 2020-01-25 11:10:07 +02:00
jorimvanhove 58f2e8309c IE auto-size input-group to column (#30043) 2020-01-23 17:30:31 +02:00
dependabot-preview[bot] b1b8b53f3d Bump hugo-bin from 0.50.2 to 0.51.0 (#30069)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.50.2 to 0.51.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.50.2...v0.51.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-23 15:36:55 +02:00
Gaël Poupard 5b896b526e docs(styles): drop .booticon styles (#30071) 2020-01-23 15:29:34 +02:00
dependabot-preview[bot] ada2011dfa Bump find-unused-sass-variables from 1.0.4 to 1.0.5 (#30059)
Bumps [find-unused-sass-variables](https://github.com/XhmikosR/find-unused-sass-variables) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/XhmikosR/find-unused-sass-variables/releases)
- [Commits](https://github.com/XhmikosR/find-unused-sass-variables/compare/v1.0.4...v1.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-21 13:36:00 +02:00
dependabot-preview[bot] 71c8578395 Bump rollup from 1.29.0 to 1.29.1 (#30058)
Bumps [rollup](https://github.com/rollup/rollup) from 1.29.0 to 1.29.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.29.0...v1.29.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-21 13:30:02 +02:00
dependabot-preview[bot] 071d278934 Bump lockfile-lint from 3.0.5 to 3.0.8 (#30057)
Bumps [lockfile-lint](https://github.com/lirantal/lockfile-lint) from 3.0.5 to 3.0.8.
- [Release notes](https://github.com/lirantal/lockfile-lint/releases)
- [Commits](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@3.0.5...lockfile-lint@3.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-21 13:25:05 +02:00
dependabot-preview[bot] 322ced1565 Bump karma-rollup-preprocessor from 7.0.2 to 7.0.3 (#30056)
Bumps [karma-rollup-preprocessor](https://github.com/jlmakes/karma-rollup-preprocessor) from 7.0.2 to 7.0.3.
- [Release notes](https://github.com/jlmakes/karma-rollup-preprocessor/releases)
- [Changelog](https://github.com/jlmakes/karma-rollup-preprocessor/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jlmakes/karma-rollup-preprocessor/compare/7.0.2...7.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-21 13:20:03 +02:00
jorimvanhove af78de3cdd Navbar link color contrast (#30034) 2020-01-17 13:38:05 +01:00
dependabot-preview[bot] dfc1149597 Bump node-sass from 4.13.0 to 4.13.1 (#30029)
Bumps [node-sass](https://github.com/sass/node-sass) from 4.13.0 to 4.13.1.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.13.0...v4.13.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-16 17:11:48 +02:00
dependabot-preview[bot] 67bc5cf4d1 Bump autoprefixer from 9.7.3 to 9.7.4 (#30030)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.7.3 to 9.7.4.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.7.3...9.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-16 17:05:16 +02:00
Ty Mick 430c16dfac Remove unnecessary comma in 'All colors' (#30010)
* Remove unnecessary comma in 'All colors'

(Using a comma between a subject and predicate)[https://en.wikipedia.org/wiki/Comma#Between_the_subject_and_predicate] is nonstandard.

* Update theming.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-01-16 09:46:42 +02:00
XhmikosR a79a83e7c4 Regenerate package-lock.json (#30024)
-178 packages
2020-01-14 15:47:24 +02:00
dependabot-preview[bot] fbb907acc4 Bump @babel/core from 7.7.7 to 7.8.3 (#30022)
Bumps [@babel/core](https://github.com/babel/babel) from 7.7.7 to 7.8.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.7...v7.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-14 15:22:43 +02:00
dependabot-preview[bot] 5b044604c5 Bump @babel/preset-env from 7.7.7 to 7.8.3 (#30021)
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.7 to 7.8.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.7...v7.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-14 15:15:31 +02:00
dependabot-preview[bot] 7faca149a3 Bump @babel/plugin-proposal-object-rest-spread from 7.7.7 to 7.8.3 (#30020)
Bumps [@babel/plugin-proposal-object-rest-spread](https://github.com/babel/babel) from 7.7.7 to 7.8.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.7...v7.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-14 15:08:51 +02:00
dependabot-preview[bot] 7a21544a62 Bump @babel/cli from 7.7.7 to 7.8.3 (#30019)
Bumps [@babel/cli](https://github.com/babel/babel) from 7.7.7 to 7.8.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.7...v7.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-14 14:57:18 +02:00
dependabot-preview[bot] 4a7b901124 Bump terser from 4.6.2 to 4.6.3 (#30023)
Bumps [terser](https://github.com/terser/terser) from 4.6.2 to 4.6.3.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v4.6.2...v4.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-14 14:44:43 +02:00
XhmikosR 7f999ff588 Blog example: add display=swap for the Google Font (#30013) 2020-01-13 22:48:23 +02:00
XhmikosR e7ed63a693 Dashboard example: update Chart.js to v2.9.3. (#30014) 2020-01-13 22:43:18 +02:00
XhmikosR 45c2a0c3c5 javascript.md: Add srcset in sanitizer docs (#30007) 2020-01-13 17:49:36 +02:00
dependabot-preview[bot] c13ec3ea93 Bump eslint-plugin-import from 2.19.1 to 2.20.0 (#30001)
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.19.1 to 2.20.0.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.19.1...v2.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-11 16:35:47 +02:00
dependabot-preview[bot] 030d120d6d Bump karma-jasmine from 3.0.3 to 3.1.0 (#30002)
Bumps [karma-jasmine](https://github.com/karma-runner/karma-jasmine) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/karma-runner/karma-jasmine/releases)
- [Changelog](https://github.com/karma-runner/karma-jasmine/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-jasmine/compare/v3.0.3...v3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-11 16:30:38 +02:00
Giovanni Mendoza 954a0b1e6a Close modal with keyboard=true & backdrop=static (#29986)
* Close modal with keyboard=true & backdrop=static
2020-01-10 11:06:12 +02:00
dependabot-preview[bot] 4e1fb4fe1a Bump postcss-cli from 7.0.0 to 7.1.0 (#29993)
Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/postcss/postcss-cli/releases)
- [Changelog](https://github.com/postcss/postcss-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-cli/compare/7.0.0...7.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-09 16:45:10 +02:00
dependabot-preview[bot] 5d132671ca Bump rollup from 1.28.0 to 1.29.0 (#29991)
Bumps [rollup](https://github.com/rollup/rollup) from 1.28.0 to 1.29.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.28.0...v1.29.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-09 12:03:35 +02:00
dependabot-preview[bot] 3c0a3fc0d6 Bump terser from 4.6.1 to 4.6.2 (#29992)
Bumps [terser](https://github.com/terser/terser) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v4.6.1...v4.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-09 11:54:50 +02:00
dependabot-preview[bot] b78e0a62ff Bump karma-jasmine from 3.0.1 to 3.0.3 (#29990)
Bumps [karma-jasmine](https://github.com/karma-runner/karma-jasmine) from 3.0.1 to 3.0.3.
- [Release notes](https://github.com/karma-runner/karma-jasmine/releases)
- [Changelog](https://github.com/karma-runner/karma-jasmine/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-jasmine/compare/v3.0.1...v3.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-09 11:50:48 +02:00
XhmikosR 1a07feacf5 README.md: restore Slack badge (#29984) 2020-01-09 09:31:43 +02:00
XhmikosR 71daf2ae61 Regenerate package-lock.json (#29977) 2020-01-08 10:01:25 +02:00
dependabot-preview[bot] e301ebd3c0 Bump karma-firefox-launcher from 1.2.0 to 1.3.0 (#29980)
Bumps [karma-firefox-launcher](https://github.com/karma-runner/karma-firefox-launcher) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/karma-runner/karma-firefox-launcher/releases)
- [Changelog](https://github.com/karma-runner/karma-firefox-launcher/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-firefox-launcher/compare/v1.2.0...v1.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-08 09:27:53 +02:00
XhmikosR 46f086ccc0 package.json: remove engines property (#29908)
This property doesn't, or shouldn't, affect consumers of the npm package since we distribute the built files
2020-01-07 23:11:45 +02:00
dependabot-preview[bot] 25c53c4ec4 Bump postcss-cli from 6.1.3 to 7.0.0 (#29976)
Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 6.1.3 to 7.0.0.
- [Release notes](https://github.com/postcss/postcss-cli/releases)
- [Changelog](https://github.com/postcss/postcss-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-cli/compare/6.1.3...7.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-07 22:51:05 +02:00
XhmikosR 5638499aba sanitizer.js: Add srcset in the allowed attributes (#29968) 2020-01-07 22:46:28 +02:00
dependabot-preview[bot] 44776c38fe Bump @rollup/plugin-node-resolve from 6.1.0 to 7.0.0 (#29975)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 6.1.0 to 7.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-07 22:40:37 +02:00
Martijn Cuppens 6904afe36b Inherit flex-wrap to decrease generated css (#29951) 2020-01-07 22:32:46 +02:00
XhmikosR 5d1da6377d Fix the new lint errors. 2020-01-07 22:25:50 +02:00
dependabot-preview[bot] 9ab79ac1fc Bump eslint-plugin-unicorn from 13.0.0 to 15.0.1
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 13.0.0 to 15.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v13.0.0...v15.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-07 22:25:50 +02:00
XhmikosR 01ba56303b Remove the jasmine-core devDependency. (#29967)
karma-jasmine already depends on jasmine-core.
2020-01-07 22:18:24 +02:00
XhmikosR 9c2b9ac74d Use regex.test() when we want to check for a Boolean. (#29969) 2020-01-07 22:07:51 +02:00
dependabot-preview[bot] a7945d4501 Bump hugo-bin from 0.50.0 to 0.50.2 (#29966)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.50.0 to 0.50.2.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.50.0...v0.50.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-07 13:40:09 +02:00
dependabot-preview[bot] 6dc6813ef5 Bump terser from 4.4.3 to 4.6.1 (#29964)
Bumps [terser](https://github.com/terser/terser) from 4.4.3 to 4.6.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v4.4.3...v4.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-07 13:32:46 +02:00
dependabot-preview[bot] 733ab04bfc Bump karma-jasmine from 2.0.1 to 3.0.1 (#29961)
Bumps [karma-jasmine](https://github.com/karma-runner/karma-jasmine) from 2.0.1 to 3.0.1.
- [Release notes](https://github.com/karma-runner/karma-jasmine/releases)
- [Changelog](https://github.com/karma-runner/karma-jasmine/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-jasmine/compare/v2.0.1...v3.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-07 13:25:43 +02:00
dependabot-preview[bot] 0160c5e701 Bump rollup from 1.27.14 to 1.28.0 (#29960)
Bumps [rollup](https://github.com/rollup/rollup) from 1.27.14 to 1.28.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.27.14...v1.28.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-07 13:10:33 +02:00
dependabot-preview[bot] c8dab8ed9f Bump @rollup/plugin-node-resolve from 6.0.0 to 6.1.0 (#29963)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-07 13:02:43 +02:00
dependabot-preview[bot] 9fc4438314 Bump @rollup/plugin-commonjs from 11.0.0 to 11.0.1 (#29962)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 11.0.0 to 11.0.1.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-07 12:54:07 +02:00
dependabot-preview[bot] 9822f9f3e8 Bump vnu-jar from 19.9.4 to 20.1.2 (#29965)
Bumps [vnu-jar](https://github.com/validator/validator) from 19.9.4 to 20.1.2.
- [Release notes](https://github.com/validator/validator/releases)
- [Changelog](https://github.com/validator/validator/blob/master/CHANGELOG.md)
- [Commits](https://github.com/validator/validator/commits/v20.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-07 12:45:16 +02:00
XhmikosR 5d9dd3b25e Delete icons.md (#29939)
This is unused
2020-01-06 10:14:15 +02:00
Martijn Cuppens c7ce627ca8 Remove redundant overflow-wrap property
While `overflow-wrap` is the more recommanded option, `word-wrap` alone has a wider support.
2020-01-04 18:26:24 +01:00
Florian Lacreuse d5270cb811 Use word-wrap in .text-break for IE and Edge compatibility. 2020-01-04 18:26:24 +01:00
XhmikosR 27cc792615 reboot.md: Fix rendering for the recent Hugo versions (#29938) 2020-01-02 12:40:57 +02:00
XhmikosR e2530d38aa reboot.md: Add missing Noto Sans font (#29937)
* reboot.md: Add missing Noto Sans font

* Sans serif order fix

Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-01-02 12:02:57 +02:00
XhmikosR 7b990eb2f4 Bump copyright year to 2020. (#29944) 2020-01-02 11:34:48 +02:00
XhmikosR 8295ad7629 package.json: move funding property higher. (#29936) 2020-01-02 09:20:57 +01:00
dependabot-preview[bot] 4ba7248308 Bump stylelint-config-twbs-bootstrap from 1.0.0 to 1.1.0 (#29933)
Bumps [stylelint-config-twbs-bootstrap](https://github.com/twbs/stylelint-config-twbs-bootstrap) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/twbs/stylelint-config-twbs-bootstrap/releases)
- [Commits](https://github.com/twbs/stylelint-config-twbs-bootstrap/compare/v1.0.0...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2019-12-31 15:10:58 +02:00
dependabot-preview[bot] 082d5ef087 Bump serve from 11.2.0 to 11.3.0 (#29932)
Bumps [serve](https://github.com/zeit/serve) from 11.2.0 to 11.3.0.
- [Release notes](https://github.com/zeit/serve/releases)
- [Commits](https://github.com/zeit/serve/compare/11.2.0...11.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-31 15:06:16 +02:00
Martijn Cuppens bd27834198 Drop .text-justify class (#29793)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2019-12-30 22:33:34 +02:00
Martijn Cuppens c30abbe112 README.md: show sponsors first (#29931) 2019-12-30 22:21:59 +02:00
Martijn Cuppens 4387038421 Simplify disabled styles (#29296)
* Simplify disabled styles

* Mention pointer-events usage
2019-12-27 18:40:06 +02:00
XhmikosR 167a93a0f3 Add lockfile-lint (#29920) 2019-12-27 14:29:48 +02:00
Martijn Cuppens 5c37724d49 Escape brackets (#29857)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2019-12-25 21:43:22 +01:00
XhmikosR 036a40c3dd Regenerate package-lock.json (#29917) 2019-12-25 22:24:27 +02:00
Martijn Cuppens 538f4f10c9 Allow percentages in container widths (#29819) 2019-12-25 21:16:58 +01:00
Martijn Cuppens b39f704954 Cleanup algolia theming (#29888) 2019-12-25 21:08:15 +01:00
dependabot-preview[bot] 31e69475d8 Bump rollup from 1.26.5 to 1.27.14 (#29896)
Bumps [rollup](https://github.com/rollup/rollup) from 1.26.5 to 1.27.14.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.26.5...v1.27.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-25 22:01:04 +02:00
Martijn Cuppens 4b021dc666 Remove redundant top margin (#29883) 2019-12-25 20:54:43 +01:00
XhmikosR 8f1c4b9a03 Switch to @rollup/plugin-commonjs (#29907) 2019-12-25 21:43:56 +02:00
XhmikosR f153748f52 Switch to @rollup/plugin-node-resolve (#29851) 2019-12-25 21:36:22 +02:00
Martijn Cuppens e2f7fe6cf1 Remove redundant classes 2019-12-25 21:00:21 +02:00
XhmikosR 3ac97a1e85 Update index.html 2019-12-25 21:00:21 +02:00
XhmikosR 1f7cbc2212 Examples: adapt after the container requirement. 2019-12-25 21:00:21 +02:00
Martijn Cuppens 74e45ebc07 Navbar optimizations (#29864)
- Remove redundant `display: inline-block` from flex children
- Remove `line-height: inherit;` which is the default value of `line-height`
- Use flex shorthand
- Improve background shorthand
- Fix removed brand margin caused by requiring containers in navbars
2019-12-25 18:38:41 +02:00
dependabot-preview[bot] 7b78456be8 Bump karma-jasmine-html-reporter from 1.4.2 to 1.5.1 (#29915)
Bumps [karma-jasmine-html-reporter](https://github.com/dfederm/karma-jasmine-html-reporter) from 1.4.2 to 1.5.1.
- [Release notes](https://github.com/dfederm/karma-jasmine-html-reporter/releases)
- [Commits](https://github.com/dfederm/karma-jasmine-html-reporter/compare/v1.4.2...v1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2019-12-25 18:25:11 +02:00
dependabot-preview[bot] 3a90a851ce Bump stylelint from 12.0.0 to 12.0.1 (#29914)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 12.0.0 to 12.0.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/12.0.0...12.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-25 18:07:21 +02:00
XhmikosR 94e20317d0 Fix offcanvas example. (#29909) 2019-12-25 14:28:26 +02:00
Allen Guo eb183caec1 Fix typo in alt text (#29911) 2019-12-25 13:20:27 +01:00
Martijn Cuppens c6cfc23239 Documentation fix: move width after make-container() mixin (#29820)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2019-12-25 12:28:02 +01:00
XhmikosR fa4dd7e9af Update test.yml (#29863)
Fix cache name
2019-12-24 18:12:13 +02:00
dependabot-preview[bot] df74efe053 Bump hugo-bin from 0.49.0 to 0.50.0 (#29898)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.49.0 to 0.50.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.49.0...v0.50.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2019-12-24 17:55:19 +02:00
dependabot-preview[bot] a6125b29d4 Bump babel-plugin-istanbul from 5.2.0 to 6.0.0 (#29901)
Bumps [babel-plugin-istanbul](https://github.com/istanbuljs/babel-plugin-istanbul) from 5.2.0 to 6.0.0.
- [Release notes](https://github.com/istanbuljs/babel-plugin-istanbul/releases)
- [Changelog](https://github.com/istanbuljs/babel-plugin-istanbul/blob/master/CHANGELOG.md)
- [Commits](https://github.com/istanbuljs/babel-plugin-istanbul/compare/v5.2.0...v6.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2019-12-24 17:46:36 +02:00
dependabot-preview[bot] 96c41589d0 Bump @babel/preset-env from 7.7.6 to 7.7.7 (#29904)
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.6 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.6...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-24 17:39:02 +02:00
dependabot-preview[bot] 16954d67dc Bump @babel/cli from 7.7.5 to 7.7.7 (#29903)
Bumps [@babel/cli](https://github.com/babel/babel) from 7.7.5 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.5...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-24 14:50:49 +02:00
dependabot-preview[bot] eb0ccdd5ec Bump @babel/core from 7.7.5 to 7.7.7 (#29900)
Bumps [@babel/core](https://github.com/babel/babel) from 7.7.5 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.5...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2019-12-24 14:39:20 +02:00
dependabot-preview[bot] 75f6b1ef11 Bump linkinator from 1.8.0 to 1.8.2 (#29902)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 1.8.0 to 1.8.2.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v1.8.0...v1.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2019-12-24 14:33:08 +02:00
dependabot-preview[bot] 25cbe7dd88 Bump eslint from 6.7.2 to 6.8.0 (#29899)
Bumps [eslint](https://github.com/eslint/eslint) from 6.7.2 to 6.8.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.7.2...v6.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2019-12-24 14:16:37 +02:00
dependabot-preview[bot] 486668726a Bump @babel/plugin-proposal-object-rest-spread from 7.7.4 to 7.7.7 (#29897)
Bumps [@babel/plugin-proposal-object-rest-spread](https://github.com/babel/babel) from 7.7.4 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-24 14:05:59 +02:00
Martijn Cuppens 31038b03ba examples: Fix checkout page (#29886) 2019-12-20 09:00:49 +02:00
Christian Oliff 7d2f24ed02 Fix broken team link on icons page (#29871)
Change: https://github.com/twbs/members to: https://github.com/orgs/twbs/people
2019-12-18 09:40:45 +02:00
dependabot-preview[bot] fb9ed574ab Bump terser from 4.4.2 to 4.4.3 (#29867)
Bumps [terser](https://github.com/terser/terser) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v4.4.2...v4.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 12:48:44 +02:00
XhmikosR 44ca196534 Work around invalid generated HTML 2019-12-16 01:54:47 +02:00
XhmikosR ef03833b69 Update hugo-bin to v0.49.0 (Hugo v0.61.0) 2019-12-16 01:54:47 +02:00
XhmikosR c340897955 Regenerate package-lock.json. (#29829)
Flattens deps tree.
2019-12-14 17:13:10 +02:00
XhmikosR 4dfcb035cf Add v4.4.1 in versions (#29747) 2019-12-14 17:07:28 +02:00
Martijn Cuppens 665e1e56b9 Add form-control-focus() deprecation to migration guide 2019-12-14 15:47:39 +02:00
XhmikosR b1b7f8ee76 Remove the deprecated form-control-focus mixin 2019-12-14 15:47:39 +02:00
Brendan dcc2ce3587 Adjust card spacing variables (#29813) 2019-12-14 14:35:17 +01:00
dependabot-preview[bot] 4e59997d06 Bump nodemon from 2.0.1 to 2.0.2 (#29850)
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.1...v2.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-13 17:23:46 +02:00
XhmikosR 9c784e45f1 Actions: add npm cache (#29765) 2019-12-13 17:12:03 +02:00
XhmikosR c26636d56b CI: update to actions/checkout@v2 (#29847) 2019-12-13 15:59:37 +02:00
Martijn Cuppens 346be3e7ea Typo fix (#29832) 2019-12-11 13:25:54 +02:00
wojtask9 043b054480 Remove .form-group leftovers (#29449) 2019-12-09 19:22:12 +01:00
dependabot-preview[bot] dde55d16a2 Bump @babel/core from 7.7.4 to 7.7.5 (#29827)
Bumps [@babel/core](https://github.com/babel/babel) from 7.7.4 to 7.7.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.7.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 12:53:53 +02:00
dependabot-preview[bot] 815048db24 Bump @babel/cli from 7.7.4 to 7.7.5 (#29828)
Bumps [@babel/cli](https://github.com/babel/babel) from 7.7.4 to 7.7.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.7.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 12:42:24 +02:00
dependabot-preview[bot] a4340638f4 Bump eslint-plugin-import from 2.18.2 to 2.19.1 (#29824)
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.18.2 to 2.19.1.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.18.2...v2.19.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 12:34:38 +02:00
dependabot-preview[bot] 2e7dfe1db0 Bump @babel/preset-env from 7.7.4 to 7.7.6 (#29826)
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.4 to 7.7.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.7.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 12:21:24 +02:00
dependabot-preview[bot] 5d1efcb4fe Bump terser from 4.4.1 to 4.4.2 (#29823)
Bumps [terser](https://github.com/terser/terser) from 4.4.1 to 4.4.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v4.4.1...v4.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 12:14:48 +02:00
dependabot-preview[bot] b6a4fdbd49 Bump find-unused-sass-variables from 1.0.3 to 1.0.4 (#29825)
Bumps [find-unused-sass-variables](https://github.com/XhmikosR/find-unused-sass-variables) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/XhmikosR/find-unused-sass-variables/releases)
- [Commits](https://github.com/XhmikosR/find-unused-sass-variables/compare/v1.0.3...v1.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 11:59:38 +02:00
Martijn Cuppens ac704a57ac Update states (#29792) 2019-12-08 15:54:27 +02:00
Matthieu Vignolle 1a5b7f4a8e Add font style normal (#29744) 2019-12-06 02:34:10 +02:00
jeromelebleu 2a6ba75388 Use pseudo-class too for disabled check/radio (#29740) 2019-12-06 02:28:34 +02:00
XhmikosR 9894000b42 Remove the now unused docs-search.html partial (#29799) 2019-12-04 13:24:55 +02:00
dependabot-preview[bot] 76fd85be80 Bump terser from 4.4.0 to 4.4.1 (#29786)
Bumps [terser](https://github.com/terser/terser) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v4.4.0...v4.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 11:44:08 +02:00
dependabot-preview[bot] 159aac7afe Bump autoprefixer from 9.7.2 to 9.7.3 (#29787)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.7.2 to 9.7.3.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.7.2...9.7.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 11:35:54 +02:00
dependabot-preview[bot] 9a78dd385c Bump eslint from 6.7.1 to 6.7.2 (#29784)
Bumps [eslint](https://github.com/eslint/eslint) from 6.7.1 to 6.7.2.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.7.1...v6.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 11:20:36 +02:00
Shohei Yoshida e1833cec72 Improve wrapping and hit area of accordion example titles (#29782) 2019-12-01 17:41:15 +01:00
719media d7203bac3b Fix breadcrumb spacing with whitespace (#29745) 2019-11-28 18:54:34 +01:00
cccabinet 1dc3901979 docs: $enable-rfs is true by default (#29766) 2019-11-28 15:19:27 +02:00
Shohei Yoshida 37d97c973f Fix dart Sass compatibility for subtract (#29763) 2019-11-28 14:33:31 +02:00
Martijn Cuppens 0964a88ac8 Fix dart Sass compatibility (#29755) 2019-11-28 09:48:33 +02:00
Matthieu Vignolle 4de4874e72 Change deprecated html tags to text decoration classes (#29604) 2019-11-27 08:43:49 +02:00
cccabinet 1977a661e6 justify-content:between ⇒ justify-content:space-between (#29734) 2019-11-26 09:11:07 +02:00
XhmikosR 82d8dae7e7 Update change-version.js (#29736)
Add `.nuspec` to the extensions list
2019-11-26 09:00:21 +02:00
XhmikosR a84f7233ea Regenerate package-lock.json (#29730) 2019-11-25 16:30:53 +02:00
Mark Otto 2180daa6f5 Some minor text tweaks 2019-11-25 13:05:57 +02:00
Martijn Cuppens d5c212bbcb Link to versioned docs 2019-11-25 13:05:57 +02:00
Mark Otto ff256ca23c Copywriting edits 2019-11-25 13:05:57 +02:00
Martijn Cuppens cd077cd599 Enable RFS for font resizing
- Enable RFS
- Add documentation
- Disable doc font size overrides
2019-11-25 13:05:57 +02:00
dependabot-preview[bot] 4787347c85 Bump @babel/cli from 7.7.0 to 7.7.4 (#29726)
Bumps [@babel/cli](https://github.com/babel/babel) from 7.7.0 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.0...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 12:43:15 +02:00
dependabot-preview[bot] a02f771e4b Bump @babel/preset-env from 7.7.1 to 7.7.4 (#29727)
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.1 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.1...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 12:29:46 +02:00
dependabot-preview[bot] 519d299eea Bump @babel/core from 7.7.2 to 7.7.4 (#29725)
Bumps [@babel/core](https://github.com/babel/babel) from 7.7.2 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.2...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 12:23:20 +02:00
dependabot-preview[bot] 0160e56397 Bump @babel/plugin-proposal-object-rest-spread from 7.6.2 to 7.7.4 (#29724)
Bumps [@babel/plugin-proposal-object-rest-spread](https://github.com/babel/babel) from 7.6.2 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.2...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 12:02:38 +02:00
dependabot-preview[bot] cd51c2a52d Bump eslint from 6.6.0 to 6.7.1 (#29728)
Bumps [eslint](https://github.com/eslint/eslint) from 6.6.0 to 6.7.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.6.0...v6.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 11:51:26 +02:00
Martijn Cuppens 787256cae4 Compressed Sass output support (#29702) 2019-11-24 20:20:03 +01:00
Jonathan Hefner 0caed940a5 Set vertical-align on .form-check-input (#29521)
This is a follow-up to #29322, specifically "allowing easy placement of
the `.form-check-input` in more places."  In my testing in Firefox and
Chrome, setting `vertical-align: top` removes the need to add
`float-left` to vertically align the checkbox and label text.  And doing
so does not visually affect examples which do apply `float: left` via
nesting in a `.form-check`.
2019-11-24 20:15:35 +01:00
Martijn Cuppens 460ba061cb Keep themed appearance for print (#29714) 2019-11-24 20:01:02 +01:00
dependabot-preview[bot] e8eed52271 Bump nodemon from 2.0.0 to 2.0.1 (#29713)
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.0...v2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-22 15:48:47 +02:00
dependabot-preview[bot] 24b88226eb Bump karma-coverage-istanbul-reporter from 2.1.0 to 2.1.1 (#29711)
Bumps [karma-coverage-istanbul-reporter](https://github.com/mattlewis92/karma-coverage-istanbul-reporter) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/releases)
- [Changelog](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/compare/v2.1.0...v2.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-22 11:20:25 +02:00
Martijn Cuppens a65d066530 Use double quotes in .stylelintrc (#29709) 2019-11-22 11:00:25 +02:00
XhmikosR db87297afb Regenerate package-lock.json (#29695) 2019-11-21 16:35:21 +02:00
dependabot-preview[bot] 0b98e6e6db Bump stylelint from 11.1.1 to 12.0.0 (#29705)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 11.1.1 to 12.0.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/11.1.1...12.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-21 15:07:57 +02:00
dependabot-preview[bot] 24809f7be7 Bump stylelint-config-twbs-bootstrap from 0.9.0 to 1.0.0 (#29704)
Bumps [stylelint-config-twbs-bootstrap](https://github.com/twbs/stylelint-config-twbs-bootstrap) from 0.9.0 to 1.0.0.
- [Release notes](https://github.com/twbs/stylelint-config-twbs-bootstrap/releases)
- [Commits](https://github.com/twbs/stylelint-config-twbs-bootstrap/compare/v0.9.0...v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-21 14:49:00 +02:00
dependabot-preview[bot] f1f3204610 Bump linkinator from 1.7.5 to 1.8.0 (#29700)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 1.7.5 to 1.8.0.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v1.7.5...v1.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-21 09:51:47 +02:00
dependabot-preview[bot] 7b323ffed9 Bump nodemon from 1.19.4 to 2.0.0 (#29699)
Bumps [nodemon](https://github.com/remy/nodemon) from 1.19.4 to 2.0.0.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v1.19.4...v2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-21 09:35:29 +02:00
dependabot-preview[bot] 733895ba49 Bump linkinator from 1.7.3 to 1.7.5 (#29693)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 1.7.3 to 1.7.5.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v1.7.3...v1.7.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-20 11:37:43 +02:00
dependabot-preview[bot] d5dfd5f9a4 Bump autoprefixer from 9.7.1 to 9.7.2 (#29692)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.7.1 to 9.7.2.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.7.1...9.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-20 11:29:42 +02:00
XhmikosR 099860d727 Switch to the Coveralls Action (#29478)
This is the official way of using Coveralls with Actions. Also this brings back Coveralls for PRs.
2019-11-18 21:03:43 +02:00
dependabot-preview[bot] eedf568b00 Bump linkinator from 1.7.2 to 1.7.3 (#29687)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v1.7.2...v1.7.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-18 11:30:41 +02:00
dependabot-preview[bot] 741b08eb65 Bump linkinator from 1.7.1 to 1.7.2 (#29682)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v1.7.1...v1.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-16 08:50:27 +02:00
XhmikosR 47b1bc71af Fix npm audit vulnerability (#29677) 2019-11-15 15:52:50 +02:00
dependabot-preview[bot] 54d1b6bef3 Bump eslint-plugin-unicorn from 12.1.0 to 13.0.0 (#29676)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 12.1.0 to 13.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v12.1.0...v13.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-15 10:00:40 +02:00
dependabot-preview[bot] 36aee3dd49 Bump find-unused-sass-variables from 1.0.2 to 1.0.3 (#29678)
Bumps [find-unused-sass-variables](https://github.com/XhmikosR/find-unused-sass-variables) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/XhmikosR/find-unused-sass-variables/releases)
- [Commits](https://github.com/XhmikosR/find-unused-sass-variables/compare/v1.0.2...v1.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-15 09:42:44 +02:00
dependabot-preview[bot] a7e920baff Bump linkinator from 1.6.4 to 1.7.1 (#29666)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 1.6.4 to 1.7.1.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v1.6.4...v1.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-13 09:05:56 +02:00
XhmikosR bca5b6ab9c config.yml: update popper.js to v1.16.0 (#29624) 2019-11-12 09:40:29 +02:00
XhmikosR 2a4d526ce8 Update anchor.js to v4.2.1 (#29662) 2019-11-12 09:34:16 +02:00
dependabot-preview[bot] 52a7f19d72 Bump terser from 4.3.9 to 4.4.0 (#29660)
Bumps [terser](https://github.com/terser/terser) from 4.3.9 to 4.4.0.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v4.3.9...v4.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 14:47:20 +02:00
dependabot-preview[bot] 03ab5a4407 Bump rollup from 1.26.3 to 1.26.5 (#29661)
Bumps [rollup](https://github.com/rollup/rollup) from 1.26.3 to 1.26.5.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.26.3...v1.26.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 13:01:05 +02:00
dependabot-preview[bot] bba97a9324 Bump linkinator from 1.6.3 to 1.6.4 (#29657)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 1.6.3 to 1.6.4.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v1.6.3...v1.6.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-09 12:09:52 +02:00
XhmikosR cc6f66f72a Dist (#29638) 2019-11-08 10:11:23 +02:00
Martijn Cuppens eb849d73cd Make check label cursor customizable (#29654) 2019-11-07 21:03:52 +02:00
Sam Duvall dbeb85cb08 Fixed input-height-sm and input-height-lg calculations (#29653) 2019-11-07 20:34:54 +02:00
Martijn Cuppens 67015b4aa2 package.json: Add funding property (#29646) 2019-11-07 20:28:51 +02:00
XhmikosR c9ae98ee38 Remove shx. (#29636)
* the `release-zip` script is using `zip` which means chances are one is on msys2 or *nix
* we don't run the `coveralls` script locally at all
2019-11-07 11:33:10 +02:00
XhmikosR c3fa502d32 dashboard/index.html: update feather-icons to v4.24.1 (#29651) 2019-11-07 11:20:12 +02:00
XhmikosR 1d30e05caf Regenerate package-lock.json. 2019-11-07 10:53:57 +02:00
dependabot-preview[bot] 35f9d3cd6c Bump @babel/preset-env from 7.6.3 to 7.7.1
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.6.3 to 7.7.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.3...v7.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-07 10:53:57 +02:00
dependabot-preview[bot] cc8ac09d97 Bump @babel/cli from 7.6.4 to 7.7.0 (#29642)
Bumps [@babel/cli](https://github.com/babel/babel) from 7.6.4 to 7.7.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.4...v7.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-07 09:16:54 +02:00
dependabot-preview[bot] 8ac5672ac4 Bump glob from 7.1.5 to 7.1.6 (#29649)
Bumps [glob](https://github.com/isaacs/node-glob) from 7.1.5 to 7.1.6.
- [Release notes](https://github.com/isaacs/node-glob/releases)
- [Changelog](https://github.com/isaacs/node-glob/blob/master/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v7.1.5...v7.1.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-07 08:20:27 +02:00
dependabot-preview[bot] 54b2f34fd9 Bump @babel/core from 7.6.4 to 7.7.2 (#29648)
Bumps [@babel/core](https://github.com/babel/babel) from 7.6.4 to 7.7.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.4...v7.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-07 08:04:05 +02:00
XhmikosR 258a56b473 site/assets/js/search.js: ignore the LGTM alert (#29634) 2019-11-04 15:42:09 +02:00
XhmikosR 972369c997 Tighten regex a bit.
If we need to make this more robust in the future, we can revert this as needed.
2019-11-04 15:32:29 +02:00
XhmikosR e40b3355f0 example.html: use double quotes 2019-11-04 15:32:29 +02:00
Christopher Morrissey 04acb679ab Example shortcode: use a regex and simplify logic. 2019-11-04 15:32:29 +02:00
XhmikosR a28adc7666 Move docs JS one folder up. (#29632) 2019-11-04 14:44:07 +02:00
Martijn Cuppens 504098d664 progress: Fix IE overflow (#29629) 2019-11-04 14:37:13 +02:00
Johann-S 6b3ee0e5fd removing last occurences of _fixTitle in our docs (#29631) 2019-11-04 11:50:07 +02:00
dependabot-preview[bot] 81541b955f Bump linkinator from 1.6.0 to 1.6.3 (#29628)
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 1.6.0 to 1.6.3.
- [Release notes](https://github.com/JustinBeckwith/linkinator/releases)
- [Commits](https://github.com/JustinBeckwith/linkinator/compare/v1.6.0...v1.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-03 17:03:58 +02:00
dependabot-preview[bot] 5ed567f217 Bump rollup from 1.26.2 to 1.26.3 (#29627)
Bumps [rollup](https://github.com/rollup/rollup) from 1.26.2 to 1.26.3.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.26.2...v1.26.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-03 16:48:02 +02:00
XhmikosR 8805122f73 Update modal.md (#29621)
Fix typo
2019-11-01 13:18:28 +02:00
dependabot-preview[bot] bfb27a4dce Bump autoprefixer from 9.7.0 to 9.7.1 (#29619)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.7.0 to 9.7.1.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.7.0...9.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-01 12:45:18 +02:00
dependabot-preview[bot] 9451648041 Bump hugo-bin from 0.47.0 to 0.47.1 (#29618)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.47.0 to 0.47.1.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.47.0...v0.47.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-01 12:32:50 +02:00
dependabot-preview[bot] 9e9e2ed81f Bump rollup from 1.26.0 to 1.26.2 (#29617)
Bumps [rollup](https://github.com/rollup/rollup) from 1.26.0 to 1.26.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.26.0...v1.26.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-01 12:20:03 +02:00
Martijn Cuppens f2483febb6 Update stylelint-config-twbs-bootstrap to 0.9.0 (#29612)
* Update stylelint-config-twbs-bootstrap to 0.9.0

* Add `scss/dollar-variable-default` rule

This rule was removed from `stylelint-config-twbs-bootstrap` (https://github.com/twbs/stylelint-config-twbs-bootstrap/pull/27) in favour to add it here.
2019-10-31 10:56:10 +02:00
Martijn Cuppens 08ba61e276 Remove calc function from docs 2019-10-31 08:30:53 +02:00
Martijn Cuppens ca9731692e Add calc() to function blacklist 2019-10-31 08:30:53 +02:00
Mark Otto 9e54d8e120 Doc tweaks. 2019-10-31 08:30:53 +02:00
Martijn Cuppens 32b932c959 Revert complex calculation 2019-10-31 08:30:53 +02:00
ysds d6ebc60d3d Add add and subtract function 2019-10-31 08:30:53 +02:00
Steffen Roßkamp c62efc3ef6 Update normalizeDataKey to match the spec (#29609) 2019-10-31 07:58:09 +02:00
Matias Puhakka 639c405c65 Remove redundant "Navbar divider" from "Contents" (#29601) 2019-10-28 15:19:03 +01:00
dependabot-preview[bot] 4d661120f3 Bump rollup from 1.25.2 to 1.26.0 (#29600)
Bumps [rollup](https://github.com/rollup/rollup) from 1.25.2 to 1.26.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.25.2...v1.26.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-28 11:21:43 +02:00
Mark Otto b81a23a60d Update .form-check to properly support gradients when enabled (#29338) 2019-10-28 08:12:07 +01:00
Mark Otto 9c7bc1a111 v5: Simplify navbars by requiring containers (#29339)
* v5: Simplify navbars by requiring containers

* Update migration docs for navbar
2019-10-27 20:26:52 -07:00
XhmikosR 23c3cdbd43 Remove unneeded ESLint suppression and regenerate lock file (#29593)
* Remove unneeded ESLint suppression

* Regenerate package-lock.json
2019-10-27 16:39:54 +02:00
midzer 819f922276 remove superflous transition parameter (#29595) 2019-10-26 18:47:55 +02:00
dependabot-preview[bot] 2de0cf8479 Bump eslint from 6.5.1 to 6.6.0 (#29592)
Bumps [eslint](https://github.com/eslint/eslint) from 6.5.1 to 6.6.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.5.1...v6.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-26 09:02:39 +03:00
Higor Araújo dos Anjos 46912797b2 Added animation when modal backdrop is static (#29516) 2019-10-25 21:12:09 +03:00
Martijn Cuppens 9ee9b8a1e8 Add configurable button text wrapping (#29554) 2019-10-25 12:37:52 +03:00
Pawel Wolak b3dfcdc7ed Enable eslint no-console rule except for build directory (#29585) 2019-10-25 12:25:30 +03:00
dependabot-preview[bot] 9f4e72d8c1 Bump autoprefixer from 9.6.5 to 9.7.0 (#29587)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.6.5 to 9.7.0.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.6.5...9.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-25 12:13:56 +03:00
dependabot-preview[bot] 08e03e37f9 Bump stylelint-config-twbs-bootstrap from 0.7.0 to 0.8.0 (#29579)
Bumps [stylelint-config-twbs-bootstrap](https://github.com/twbs/stylelint-config-twbs-bootstrap) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/twbs/stylelint-config-twbs-bootstrap/releases)
- [Commits](https://github.com/twbs/stylelint-config-twbs-bootstrap/compare/v0.7.0...v0.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-24 11:21:47 +03:00
dependabot-preview[bot] 5d58cd13ce Bump node-sass from 4.12.0 to 4.13.0 (#29577)
Bumps [node-sass](https://github.com/sass/node-sass) from 4.12.0 to 4.13.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.12.0...v4.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-24 11:06:52 +03:00
dependabot-preview[bot] da9abd4d76 Bump rollup from 1.25.1 to 1.25.2 (#29578)
Bumps [rollup](https://github.com/rollup/rollup) from 1.25.1 to 1.25.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.25.1...v1.25.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-24 10:45:30 +03:00
XhmikosR e298e42e29 Regenerate package-lock.json (#29571) 2019-10-22 20:56:19 +03:00
XhmikosR 6c0e75d6cf Fix one dev npm vulnerability. (#29568)
linkinator > gaxios > https-proxy-agent

https://npmjs.com/advisories/1184
2019-10-22 12:22:27 +03:00
dependabot-preview[bot] 5f41a9a280 Bump find-unused-sass-variables from 0.6.0 to 1.0.2 (#29566)
Bumps [find-unused-sass-variables](https://github.com/XhmikosR/find-unused-sass-variables) from 0.6.0 to 1.0.2.
- [Release notes](https://github.com/XhmikosR/find-unused-sass-variables/releases)
- [Commits](https://github.com/XhmikosR/find-unused-sass-variables/compare/v0.6.0...v1.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-22 11:58:59 +03:00
dependabot-preview[bot] 7bfcd83b97 Bump glob from 7.1.4 to 7.1.5 (#29567)
Bumps [glob](https://github.com/isaacs/node-glob) from 7.1.4 to 7.1.5.
- [Release notes](https://github.com/isaacs/node-glob/releases)
- [Changelog](https://github.com/isaacs/node-glob/blob/master/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v7.1.4...v7.1.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-22 11:46:11 +03:00
dependabot-preview[bot] e0579584c6 Bump rollup from 1.23.1 to 1.25.1 (#29559)
Bumps [rollup](https://github.com/rollup/rollup) from 1.23.1 to 1.25.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.23.1...v1.25.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-22 11:33:08 +03:00
dependabot-preview[bot] 874515f2b3 Bump karma from 4.3.0 to 4.4.1 (#29557)
Bumps [karma](https://github.com/karma-runner/karma) from 4.3.0 to 4.4.1.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v4.3.0...v4.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-22 11:21:42 +03:00
dependabot-preview[bot] 39997874ac Bump stylelint-config-twbs-bootstrap from 0.6.0 to 0.7.0 (#29558)
Bumps [stylelint-config-twbs-bootstrap](https://github.com/twbs/stylelint-config-twbs-bootstrap) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/twbs/stylelint-config-twbs-bootstrap/releases)
- [Commits](https://github.com/twbs/stylelint-config-twbs-bootstrap/compare/v0.6.0...v0.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-22 11:00:14 +03:00
XhmikosR c8b09f6f42 Update dependabot config (#29560)
* Partially revert "Update dependabot config (#29536)"

This partially reverts commit b483f80b9e.

* dependabot: switch to `increase_versions`
2019-10-22 10:40:03 +03:00
XhmikosR b91ce09405 Update hugo-bin to v0.47.0 (Hugo 0.59.0) (#29562) 2019-10-22 07:49:06 +03:00
Shohei Yoshida 3b876be652 Rename close icon to close button (#29387) 2019-10-21 19:27:43 -07:00
XhmikosR 3251de8d57 Get rid of unneeded divs. (#29563)
Use our example shortcode's `class` parameter instead.
2019-10-21 19:11:22 -07:00
dependabot-preview[bot] 6e214b0241 Bump eslint-config-xo from 0.27.1 to 0.27.2 (#29556)
Bumps [eslint-config-xo](https://github.com/xojs/eslint-config-xo) from 0.27.1 to 0.27.2.
- [Release notes](https://github.com/xojs/eslint-config-xo/releases)
- [Commits](https://github.com/xojs/eslint-config-xo/compare/v0.27.1...v0.27.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-21 11:44:26 +03:00
XhmikosR f3e84e0268 Update popper.js to v1.16.0. (#29537) 2019-10-20 18:57:15 +03:00
Mark Otto 8d56c19b55 v5: Icons docs cleanup (#29450)
* Remove mention of icons from migration since they're not part of the core project

* Cleanup icons page to mention Bootstrap Icons
2019-10-18 11:06:12 -07:00
Mark Otto 943bef258d v5: Update colors to add shades and tints (#29348)
* Add variables for shades and tints of each major color

* getting-started/theming.md: use a `range`.
2019-10-18 11:04:27 -07:00
Mark Otto 1fa337cc20 Add link to Icons site in our docs (#29544) 2019-10-18 10:28:16 +03:00
Jeremy Jackson c1ee395f80 Skip hidden dropdowns while focusing (#29523) 2019-10-17 18:01:44 +03:00
Mark Otto 104385c508 Add make-col-auto mixin (#29367) 2019-10-17 09:46:34 +03:00
XhmikosR b483f80b9e Update dependabot config (#29536)
Now it should properly ignore the current published karma-browserstack-launcher versions
2019-10-16 18:06:26 +03:00
dependabot-preview[bot] 680efa6a81 Bump terser from 4.3.8 to 4.3.9 (#29535)
Bumps [terser](https://github.com/terser/terser) from 4.3.8 to 4.3.9.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v4.3.8...v4.3.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-16 15:42:58 +03:00
dependabot-preview[bot] 78f0e85f22 Bump nodemon from 1.19.3 to 1.19.4 (#29534)
Bumps [nodemon](https://github.com/remy/nodemon) from 1.19.3 to 1.19.4.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v1.19.3...v1.19.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-16 15:32:54 +03:00
dependabot-preview[bot] 03063bc64e Bump autoprefixer from 9.6.4 to 9.6.5 (#29532)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.6.4 to 9.6.5.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.6.4...9.6.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-16 15:10:01 +03:00
XhmikosR 2a8486962e Add dependabot config (#29526) 2019-10-16 14:48:28 +03:00
XhmikosR b4e957d360 Update devDependencies. (#29508) 2019-10-14 10:54:39 +03:00
Martijn Cuppens 7327e38b1c Fix top level ampersand (#29518)
Fixes dart sass compatibility.
2019-10-12 16:07:22 +03:00
leshasmp 64e22b4284 Carousel variables (#29493) 2019-10-12 14:09:04 +02:00
astrahov 09e6af48d7 Group line-height variables (#29466) 2019-10-12 13:56:29 +02:00
Jeremy Jackson 4e37fc3ab4 Add color argument to button mixins (#29444)
Add optional `$color` argument to `button-variant()` and
`button-outline-variant()` for additional flexibility.
2019-10-12 11:21:22 +03:00
Mark Otto b3451ff258 Add new .bg-body utility class (#29511) 2019-10-10 21:18:19 +03:00
XhmikosR 133e0c8c9a Drop support for Node.js 8. (#29496)
By the time v5 stable will be out, 8 will be EOL (December 2019).
2019-10-09 11:11:37 +03:00
XhmikosR 577bf8b14d Rename "js/tests/units" to "js/tests/unit". (#29503) 2019-10-09 01:27:43 +03:00
XhmikosR 1770691b33 Dist (#29484) 2019-10-08 09:39:10 +03:00
XhmikosR 9c54d35797 CI: move CI env variable to the root of the workflow. (#29499)
This way we match the Travis CI behavior, and it's inherited by all steps.
2019-10-08 08:47:40 +03:00
XhmikosR 622c914a3a Update devDependencies. (#29447) 2019-10-07 09:31:12 +03:00
astrahov 60559d44a2 Add variable for $breadcrumb-font-size (#29467) 2019-10-03 18:54:34 +03:00
Johann-S e1b82f51e2 add modularity integration test 2019-10-03 09:55:57 +02:00
Johann-S 3d12b541c4 return to the original file structure to avoid breaking modularity 2019-10-03 09:55:57 +02:00
Martijn Cuppens 393ddae09b Fix border for single card in accordion (#29453) 2019-10-03 09:43:45 +02:00
Martijn Cuppens 03c9788f7a Variable card height (#29462) 2019-10-03 09:21:40 +02:00
Paweł Kuna f6a1e2fc89 Better radio input (#29441) 2019-10-03 09:52:25 +03:00
Martijn Cuppens 494713b55a Trim trailing whitespace from markdown files (#29460) 2019-10-02 22:48:15 +03:00
Martijn Cuppens de8c65158b Remove appearance from textarea (#29455) 2019-10-02 22:37:24 +03:00
Mark Otto 707973ebdd v5: .form-check layout changes (#29322)
* Scope .form-check-input layout to the .form-check parent

* Remove margin-bottom from list-group-items in case they are label elements

* document .form-check in input groups and list groups, and cleanup the no-label examples in the main .form-check docs
2019-10-02 22:19:45 +03:00
Andreas Schroth c306e963e8 Remove "extra" section from composer.json (#29420)
This section is meaningless and doesn't serve any purpose.
2019-10-02 22:10:31 +03:00
XhmikosR e41342b4c1 coveralls: Add COVERALLS_GIT_BRANCH (#29458)
Without this, coveralls didn't receive the branch info thus leading to failures when we switched branches.
2019-10-02 22:05:15 +03:00
XhmikosR b1a4b0ecc4 workflows/test.yml: specify CI=true (#29440) 2019-10-02 21:56:39 +03:00
XhmikosR adfd3fbd46 README.md: link to the Actions page for Tests (#29480) 2019-10-02 21:49:34 +03:00
astrahov 46e8f1a34f Variable carousel indicator opacity (#29468) 2019-10-01 15:14:43 +02:00
Paweł Kuna 0a3aa08b89 Remove outline from select box in FF (#29445)
* Remove outline from select box in FF

* Use $form-select-color
2019-09-27 18:58:53 +03:00
wojtask9 f2dff864aa Remove duplicated td selector (#29454) 2019-09-27 13:22:31 +01:00
XhmikosR 6b150855df Change blue and pink colors to be accessible. (#29198) 2019-09-27 09:01:36 +03:00
XhmikosR de3a3731bd Sass: remove redundant stylelint inline suppressions. (#29427) 2019-09-26 21:50:14 +03:00
XhmikosR 7e09017790 update-deps: remove moot cross-env call. (#29419) 2019-09-24 21:32:49 +03:00
Shohei Yoshida d2a24e09ec Grid card example tweaks (#29409)
Stack in cards in one column when < md
2019-09-24 13:48:45 +03:00
XhmikosR 04796b8f3a Update devDependencies. 2019-09-24 13:09:25 +03:00
XhmikosR 84861ceadb .eslintrc.json: Remove a couple of default rules. 2019-09-24 13:09:25 +03:00
XhmikosR 90c5de151b GH Actions updates. (#29429) 2019-09-24 12:53:50 +03:00
XhmikosR 129bb08fc4 Use Hugo for our docs Sass and JS. (#29280)
Now there's only one command needed to run the docs: `npm run docs-serve`.

Also, simplify the npm scripts.
2019-09-17 00:22:49 +03:00
XhmikosR a9c05ab798 examples: darken gray a little bit. 2019-09-16 23:41:57 +03:00
XhmikosR 758ee5f0f8 card.md: use text-dark for warning card. 2019-09-16 23:41:57 +03:00
XhmikosR 1edba8072d badge.md: use text-dark for warning. 2019-09-16 23:41:57 +03:00
XhmikosR fbeed6f1d9 Darken footer color. 2019-09-16 23:41:57 +03:00
XhmikosR 943a074a2b Tweak syntax highlighting colors to be WCAG2AA valid. 2019-09-16 23:41:57 +03:00
XhmikosR 0126d9832b workflows/test.yml: switch to setup-node@v1. (#29410) 2019-09-16 15:28:25 +03:00
ysds e2a93ec094 Fix incorrect aspect ratio on IE11 2019-09-15 13:38:04 +02:00
Martijn Cuppens 6e63868500 Remove redundant properties 2019-09-15 13:38:04 +02:00
jahanzaibsuleman07 d99ff902f8 Responsive sticky top (#29158) 2019-09-13 21:15:20 +03:00
XhmikosR 49469ca0dc Update devDependencies. (#29381) 2019-09-13 12:13:08 +03:00
Martijn Cuppens 2f549ecda8 Typo fix (#29382) 2019-09-07 22:16:48 +03:00
ysds 713dd82403 Remove unnecessary z-index 2019-09-06 18:06:13 +03:00
Martijn Cuppens 9066f9495c Make sure the content doesn't cover the navbar dropdown
See https://github.com/twbs/bootstrap/pull/29368#issuecomment-528725686
2019-09-06 18:06:13 +03:00
XhmikosR c5e80ff2af about/brand.md: Remove unused class. 2019-09-06 18:06:13 +03:00
XhmikosR c6ac6365e5 Use the $white variable. 2019-09-06 18:06:13 +03:00
Martijn Cuppens b6b96c174b Docs tweaks
- Simplify display headings example markup
- Simplify footer styles
- Remove z-indices hacks in the docs
- Remove redundant modal styling in docs
- Use `escape-svg()` to escape docs sidebar chevron
- Simplify sidebar chevron code
- Cleanup masthead css & fix column width between `md` & `lg`
- Easier to download logo's with the `download` attribute.
- Changed some color codes into variables
- Cleanup brands css
2019-09-06 18:06:13 +03:00
XhmikosR d6945d5e8f Move shortcodes used only once where they are needed. 2019-09-06 11:57:50 +03:00
XhmikosR 2c9e22ef88 getting-started/theming.md: throw an error if the regex doesn't succeed. 2019-09-06 11:57:50 +03:00
XhmikosR cf4ae75eff Break a couple of long lines. 2019-09-06 11:57:50 +03:00
XhmikosR f7fe5d5bca homepage: remove redundant class (#29357)
This broke IE11.
2019-09-06 08:51:46 +03:00
Mark Otto eb49bd11c9 Update subnav to remove breadcrumb and just keep versions and search (#29368) 2019-09-05 21:43:31 +03:00
XhmikosR c6a82fcc6f Update devDependencies. (#29349) 2019-09-05 11:23:34 +03:00
XhmikosR db002902da Tweak form validation snippet. (#29359)
* remove load event
* use `forEach` and `querySelectorAll`
* simplify check
2019-09-03 18:04:11 +03:00
XhmikosR d0affaa2ec Examples: use our utilities more. (#29358) 2019-09-02 19:19:25 +03:00
XhmikosR 88d7d8b822 Use the example shortcode in more places. (#29346) 2019-09-02 12:52:26 +03:00
XhmikosR 6cb4ebc048 ESLint: specify --report-unused-disable-directives (#29350) 2019-09-02 12:44:19 +03:00
XhmikosR 6f1eb110e7 Docs: simplify a few Hugo ranges. (#29333) 2019-09-02 12:31:02 +03:00
XhmikosR edf7923c8f Fix a few redirected links. (#29352) 2019-09-02 12:21:42 +03:00
XhmikosR 919b526f17 Fix shortcodes/example.html class bug. (#29344)
It always used the first placeholder's class before.
2019-08-31 08:11:16 +03:00
ysds b1f4909287 Add responsive example 2019-08-30 13:07:27 -07:00
ysds ebfeaa4ad1 Allow override default col width 2019-08-30 13:07:27 -07:00
Mark Otto cc248791b0 Cleanup
- Rename and move the variable to variables file
- Move code to the grid file
- Use the mixin to generate our own classes
- Wrap in a grid classes enabled conditional
- Document the mixin
2019-08-30 13:07:27 -07:00
Mark Otto db692d02d5 Move margins, and equal height via utility example 2019-08-30 13:07:27 -07:00
Mark Otto e2252e0230 First pass at .row-cols classes
Trying to find a new way to do responsive card decks while not locking ourselves into the cards themselves. My thinking here is we can easily control the column (.col) width by the parent, but I don't know how many we need (have 0-5 now) across each breakpoint. This works for cards so far, and I think could get us equal height, too.
2019-08-30 13:07:27 -07:00
XhmikosR 4041d70eb5 card.md remove empty class placeholder argument (#29345) 2019-08-30 17:35:12 +03:00
XhmikosR aa3b4c41a4 carousel.md: Remove duplicate bd-example div. (#29341)
The example shortcode already adds this.
2019-08-30 17:21:47 +03:00
XhmikosR a6460d9727 Merge lint scripts (#29329)
* Merge js-lint scripts into one script.

* Merge stylelint scripts into one.
2019-08-30 11:52:22 +03:00
Martijn Cuppens 007ea0d8d0 Clean up line heights & add line height utilities (#29271) 2019-08-30 10:42:41 +03:00
XhmikosR ae249e8f55 docs-sidebar.html: reindent. (#29337) 2019-08-30 08:01:21 +03:00
Mark Otto 8360edc57b Clean up instances of old .form-group (#29321) 2019-08-29 14:07:55 -06:00
XhmikosR d06eec372a Minor lint tweaks. (#29328) 2019-08-29 16:20:49 +03:00
XhmikosR e99625c088 docs: remove swatches for theme colors. (#29327)
Use the built-in utilities instead.
2019-08-29 15:18:47 +03:00
XhmikosR ee01dc2340 theming.md: automate _root.scss. (#29326) 2019-08-29 15:09:24 +03:00
XhmikosR 84cba07246 theming.md: bring :root up to par with Scss. (#29323)
Also, add a warning in _root.scss so that we don't miss it again.
2019-08-29 11:10:06 +03:00
XhmikosR 1d69e6ccfd blog example: remove unused CSS. (#29316) 2019-08-28 17:29:15 +02:00
XhmikosR 4ce8eab10c Homepage: add missing link to the versions page. (#29308) 2019-08-27 23:19:52 +03:00
Martijn Cuppens 12442a68a4 Switch percentage font-sizes to em and change some font sizes for consistency in docs 2019-08-27 23:11:06 +03:00
Martijn Cuppens bed2a5edab Switch percentage font-sizes to em and change some font sizes for consistency 2019-08-27 23:11:06 +03:00
Martijn Cuppens 4db520bedb Don't bind validation to form controls 2019-08-27 19:28:28 +02:00
XhmikosR bf57274fb5 Dist (#29263) 2019-08-27 16:03:21 +03:00
XhmikosR cad3d1098a Update devDependencies. (#29305) 2019-08-27 14:39:53 +03:00
Mark Otto cd4dc92dd8 mention new variable in our docs 2019-08-27 11:10:56 +03:00
Martijn Cuppens 18cfe34585 Allow modification of the value of rem 2019-08-27 11:10:56 +03:00
XhmikosR c463c261ed Remove "Wall of browser bugs" page. (#29297)
While important in the past, it has become obsolete, so removing it seems the best solution.
2019-08-27 08:44:35 +03:00
Martijn Cuppens 2ad135ebb4 Update z-indices (#29292)
- `.carousel-caption` doesn't need a z-index. There are no non-static element in its containing block (`.carousel-item`)
- The `z-index` of `.carousel-indicators` is way higher than it needs to be (`15`), the highest sibling `z-index` is `1`, so it can be set to `2` to be the top layer.
2019-08-26 09:42:44 +03:00
Martijn Cuppens 19ee63ad25 Link helpers & use utility API for all utilities 2019-08-26 08:21:24 +02:00
Johann-S a5cbb5e71a dropdown show method should do the same as toggle 2019-08-25 15:54:22 +02:00
Mark Otto b02bae769e Document example of datalists with form controls (#29058)
- Add example to the new form control docs
- Reset the [list] selector in Reboot to hide the random dropdown arrow in Chrome
2019-08-24 02:59:57 +03:00
XhmikosR 1a9b1206c2 Update devDependencies. (#29281)
Kept `eslint@6.1.0` since the newer versions have a bug that affects us.
2019-08-24 02:47:06 +03:00
XhmikosR 327d32ebad Actions CI tweaks (#29276)
* Allow bundlesize to run for forks too.
* Add name for clone step.
* Add` fail-fast: false`
2019-08-24 02:32:29 +03:00
Martijn Cuppens d9abb8e20d Documentation tweak 2019-08-24 02:26:28 +03:00
Martijn Cuppens 0603522199 Remove padding around color swatches 2019-08-24 02:26:28 +03:00
Martijn Cuppens 68d67c8f16 Add rounded corners to color swatches 2019-08-24 02:26:28 +03:00
Mark Otto 57e17706a9 Add support and docs for color input 2019-08-24 02:26:28 +03:00
Markus Hatvan 4d101491da Remaining JS linting TODO (#29289)
* Enable and fix all occurrences with no-mixed-operators rule
* Take care of the max-depth warning in button.js

Signed-off-by: mhatvan <markus_hatvan@aon.at>
2019-08-22 22:17:34 +03:00
Johann-S 6885d65578 dropdown - destroy old popper.js references 2019-08-22 20:30:16 +02:00
tracyjordan a5e725fa2e fixed minor typo (#29291) 2019-08-22 10:58:08 +03:00
Martijn Cuppens bfd4c1921d Remove position: relative from .collapsing 2019-08-22 08:57:05 +02:00
Martijn Cuppens 4437248459 Drop $nav-divider-* variables (not used) 2019-08-22 08:10:44 +02:00
Martijn Cuppens 0aabaa209d Drop nav divider mixin 2019-08-22 08:10:44 +02:00
XhmikosR 66e9ab3e4d change-version.js: Add _gh_pages folder in ignores. (#29270) 2019-08-19 09:37:40 +03:00
Martijn Cuppens 94521206e5 Split up .form-control & .form-select selectors 2019-08-18 16:33:10 +02:00
Martijn Cuppens 329448ecb7 Fix date heights 2019-08-18 16:33:10 +02:00
m5o 7b3ec256d5 set min-height for form-control textarea
* set `min-height` for `.form-control` textarea
  * prevent user from shrink textarea to minimum height
2019-08-18 16:33:10 +02:00
Johann-S a9c35b3ca8 Remove useless check for null object with spread operator 2019-08-18 17:19:36 +03:00
XhmikosR 9cee3c2808 Minor wording tweaks 2019-08-18 17:19:36 +03:00
Johann-S f03c10a189 allow to pass popper.js configuration for tooltip/popover and dropdown 2019-08-18 17:19:36 +03:00
tu4mo b3cf60018c Add possibility to define custom border color for disabled form controls (#29257) 2019-08-18 17:08:59 +03:00
XhmikosR 294fcddeac docs css: minor cleanup (#29266) 2019-08-18 16:57:25 +03:00
Martijn Cuppens 8e26010d06 docs: fix tap targets (#29272) 2019-08-18 16:29:23 +03:00
XhmikosR dd383ff27b Move favicon.ico and apple-touch-icon.png in hugo mounts. 2019-08-17 13:17:59 +03:00
XhmikosR fad5002912 Clean up mounts. 2019-08-17 13:17:59 +03:00
Bjørn Erik Pedersen 0d15b2bd7e Fix mounts 2019-08-17 13:17:59 +03:00
XhmikosR 1a9356424c Make use of Hugo's 0.56+ module feature. 2019-08-17 13:17:59 +03:00
XhmikosR 6335fbe224 Use US locale consistently. (#29255) 2019-08-16 13:20:26 +03:00
Martijn Cuppens bbbda681cc Enable wrapping for elements in .modal-footer (#25103) 2019-08-16 12:49:06 +03:00
Martijn Cuppens ceddca71a2 Restore cursor: pointer for checkbox/radio buttons (#29239) 2019-08-16 11:36:13 +03:00
Martijn Cuppens 361ab8063d Clarify order documentation (#29252) 2019-08-16 11:23:51 +03:00
XhmikosR a92d29a25f Update devDependencies. (#29221) 2019-08-16 11:10:07 +03:00
XhmikosR 4b243de2c0 Fix redirects. (#29254) 2019-08-14 22:40:46 +03:00
XhmikosR 9a72d5c29e Update config.yml (#29253)
Add missing trailing slash after #29144
2019-08-14 21:47:41 +03:00
Thomas Schaller 7149b6f0eb Function map-get-multiple now returns the correct variable (#29247) 2019-08-14 01:03:55 +03:00
XhmikosR 3130288ba6 CI: run bundlesize only for pushes. 2019-08-12 22:00:56 +03:00
XhmikosR cd20ef09f4 Reindent workflows/test.yml. 2019-08-12 22:00:56 +03:00
Martijn Cuppens b749e12c2c Fix Firefox rendering issue (#29234) 2019-08-09 08:45:26 +03:00
XhmikosR e0b5b832d1 Limit coveralls to our repo. 2019-08-08 11:53:30 -07:00
XhmikosR fda35d1499 Run bundlesize separately. 2019-08-08 11:53:30 -07:00
Mark Otto a12466aeff Prep for migration to GitHub Actions CI/CD 2019-08-08 11:53:30 -07:00
XhmikosR 34afe84424 Use absURL so that we get consistent URLs. (#29226) 2019-08-08 18:30:43 +03:00
XhmikosR 3d8c5b9640 docs: minor simplification. (#29227) 2019-08-08 17:54:59 +03:00
XhmikosR ecaefed920 Remove unneeded Stylelint suppressions. (#29222) 2019-08-07 17:26:04 +03:00
XhmikosR 6fc9108a86 browser-devices.md: Fix Android version (#29224) 2019-08-07 17:13:14 +03:00
Shohei Yoshida 2e0a16f461 Fix min-width of input-group flex items (#29209) 2019-08-06 10:54:53 +03:00
Mark Otto d94148bf50 Responsive containers (follow-up to #29095) (#29118)
* Follow-up to #29095

This PR fixes the responsive containers that were added in #29095, originally stubbed out in #25631. Apologies to @browner12 for getting that wrong.

Fixes #25631.

* update navbar as well because we cannot reset all containers uniformly

* Update navbars example to include container-xl example to ensure containers match

* rewrite responsive containers docs, add table of max-widths

* Update container docs
- Move table up to the intro
- Remove the container example because it's actually hella confusing
- Update and link to grid example as a demo instead
2019-08-05 12:12:16 -07:00
XhmikosR 8c362f0a0a Simplify css-prefix scripts. (#29205) 2019-08-04 20:28:50 +03:00
XhmikosR 9c75a63bfc Update form-control.md (#29203)
Fix Readonly plain text form alignment
2019-08-04 20:20:00 +03:00
XhmikosR d2b79d97e7 Update javascript.md 2019-08-04 13:22:47 +02:00
Johann-S 83058fb34c explain how to use bootstrap 5 with jQuery 2019-08-04 13:22:47 +02:00
Johann-S 8468f4a37e remove jquery references from list group 2019-08-04 13:22:47 +02:00
joseigor 2be5f03bfc v5: Docs Utilities API updates (#29126)
Improvement to better understand how utilities class name are generated by the (_api.scss) base in the line of code below:
`$property-class: if($property-class, $property-class, nth($properties, 1));`

https://github.com/twbs/bootstrap/blob/fc02932946424e986a72bb7b47044eab815851cb/scss/mixins/_utilities.scss#L21
2019-08-04 08:42:23 +03:00
XhmikosR b316235e63 docs: Fix badges after #28458. (#29199) 2019-08-04 08:23:25 +03:00
Mark Otto 7bce809a63 Mention pagination margin change in migration docs (#29196)
From #28948.
2019-08-03 17:27:33 +03:00
GeoSot 4ae6a29b12 Allow .page-links to get left margin. (#28948)
* Allow .page-links to get left margin.

* Add border-radius to page-links in case they have left margin

* Apply MartijnCuppens suggestion to _pagination.scss

Co-Authored-By: Martijn Cuppens <martijn.cuppens@gmail.com>

* Plus if/else Rules

* Formatting fixes

* Fix border-radius for pagination-size

* Use mixin for default pagination sizing
2019-08-03 07:11:57 -07:00
Martijn Cuppens 81af1bf9cc Change SVG dimensions to px values (#29195) 2019-08-03 16:58:25 +03:00
XhmikosR a0f3fd2342 Update javascript.md 2019-08-02 16:50:05 +02:00
Johann-S 8b2b490f9b add a way to disable jQuery detection 2019-08-02 16:50:05 +02:00
XhmikosR 1ebb8e7d9b robots.txt: adapt for Netlify. (#29192)
Since we build with `HUGO_ENV` set to `production` on Netlify, use another variable to prevent crawling.
2019-08-02 17:26:25 +03:00
XhmikosR ca408b176b Update devDependencies. (#29189) 2019-08-02 12:52:26 +03:00
XhmikosR 96ed9f7bf0 Update javascript.md 2019-08-01 10:37:27 +02:00
XhmikosR 09c3a8f893 Update javascript.md 2019-08-01 10:37:27 +02:00
Johann-S b7a079d808 add callout about jquery events 2019-08-01 10:37:27 +02:00
Johann-S 291bbac519 remove jquery in scrollspy docs 2019-08-01 10:37:27 +02:00
Johann-S cd21ca074e remove jquery in tab docs 2019-08-01 10:37:27 +02:00
XhmikosR eecd75db00 Fix typos. (#29178) 2019-07-31 16:14:21 +03:00
Herst 3100dd3dab Add missing role="document" (#29172) 2019-07-31 09:52:52 +03:00
XhmikosR b016825edd carousel: fix transition properties order. (#29173) 2019-07-30 18:30:23 +03:00
Patrick H. Lauke 749622f43d Fix minor typo (#29168) 2019-07-30 09:42:55 +03:00
Shohei Yoshida fb475e90a1 Remove comment about tabindex (#29165) 2019-07-29 18:49:07 +03:00
XhmikosR 6cdfcdf658 Update migration.md 2019-07-29 11:34:12 +02:00
Johann-S dcba526775 remove underscore for static methods 2019-07-29 11:34:12 +02:00
Patrick H. Lauke 144220f0c5 Minor: fix sentence (#29160)
"Popovers whose both title..."
2019-07-29 11:23:44 +03:00
XhmikosR 8570d86d79 Rename site/data/nav.yml to sidebar.yml. 2019-07-29 10:59:56 +03:00
XhmikosR 9131e3e401 docs: Move trailing URL slashes to the variables. 2019-07-29 10:59:56 +03:00
Shohei Yoshida 13b7416544 Fix reboot for placeholder links (#29140) 2019-07-29 10:32:09 +03:00
XhmikosR 472e5fcb36 Update devDependencies. (#29141) 2019-07-29 09:59:09 +03:00
Chandan Deep b433a05cbd Change property from background to background-image (#29149)
For Gradient, We have to use the background-image instead of only background.
2019-07-29 08:12:44 +03:00
Mark Otto e5beea5973 Remove Slack badge link for now 2019-07-28 15:01:15 -07:00
Brian Juul Andersen 420efb0bac Update scrollspy.md (#29156)
Fixed minor grammatical error:

"... the best method get scroll ..."

=>

"... the best method to get scroll ..."
2019-07-28 14:02:23 +03:00
Johann-S 2ea71a9e78 allow dynamic modal body for scrollable modals 2019-07-28 12:11:10 +02:00
Martijn Cuppens f4e297c878 Haha, floats. It's 2019 (#29147) 2019-07-27 09:30:39 +03:00
Martijn Cuppens d95d08249c Remove $enable-hover-media-query 2019-07-26 22:37:10 +02:00
XhmikosR 756d4ec91e config.yml: add OpenCollective. (#29143)
This was missing since the Hugo switch (d95d300).
2019-07-26 19:05:51 +03:00
XhmikosR d39aa6f676 Update docs vendor libs (#29134)
* Update bs-custom-file-input.min.js to v1.3.2.
* Update anchor.min.js to v4.2.0.
2019-07-26 10:17:51 +03:00
XhmikosR 21f3375f21 Update _variables.scss 2019-07-25 10:58:06 -07:00
ysds c0a64e989a Remove outdated documentation
* Remove about generated button of file form
* Remove and merge layout examples of custom forms
* Clarify id/for
* Change some spacing classes for consistency
2019-07-25 10:58:06 -07:00
ysds b4bf0ab371 Remove leftover CSS for custom control 2019-07-25 10:58:06 -07:00
ysds 18d75e3243 Fix variable name 2019-07-25 10:58:06 -07:00
Martijn Cuppens ea34b6c5be Merge code page with reboot 2019-07-25 19:26:27 +02:00
Shohei Yoshida 97edf94c11 Remove duplicate 2019-07-25 19:26:27 +02:00
Martijn Cuppens 855d763ae5 Reboot updates
- Remove unsupported browsers fixes
- More consistent comment blocks
- Reorganise order of some blocks
- Add height fix for date/month/week/time inputs (#18842)
- Remove redundant type selectors
- Additional resets and theming options for `legend`
- Add date & color inputs to reboot page
- Use the same borders for text search, text inputs, textareas and date inputs
- Move code styling to reboot
2019-07-25 19:26:27 +02:00
Martijn Cuppens 39b88d4293 Mention dropped .pre-scrollable class in migration guide. 2019-07-25 18:42:45 +02:00
Martijn Cuppens 97e9214edd Drop .pre-scrollable class 2019-07-25 18:42:45 +02:00
Martijn Cuppens 1c05c1dbf1 Drop color(), theme-color() & gray() functions (#29083)
Drop `color()`, `theme-color()` & `gray()` functions  in favor of variables. The functions just called a `map-get()` of a map where just the variables were defined. 

Also the `theme-color-level()` now accepts any color you want instead of only `$theme-colors` colors. The first value now is a variable instead of the `$theme-colors` key.
2019-07-25 10:41:13 +03:00
Mark Otto 172d580db3 Fix busted hover/focus on sidebar 2019-07-25 10:25:39 +03:00
Mark Otto 3adcf3a954 Restore 7rem so that the sidebar is balanced on top and bottom 2019-07-25 10:25:39 +03:00
Martijn Cuppens 2f4f15c018 Sidebar theming tweaks 2019-07-25 10:25:39 +03:00
Mark Otto 0d1e259ecf Increase navbar link brightness for slightly better color contrast 2019-07-25 10:25:39 +03:00
Mark Otto 94693f899c Split up docs _nav.scss
- _navbar.scss for all main navbar code
- new _subnav.scss to move all subnav styles into
2019-07-25 10:25:39 +03:00
Mark Otto 2494140689 Restore height and overflow on docs sidebar 2019-07-25 10:25:39 +03:00
Johann-S fc02932946 use get selector from element only when needed 2019-07-24 11:27:35 +02:00
Ben Boyter f4dbffe93a Remove https://glyph.smarticons.co/ from list of suggestions as the (#29121)
domain is now for sale and is triggers warnings in Firefox and Chrome
2019-07-24 11:12:44 +03:00
Johann-S e48e498bf4 fix arrow popover (#29115) 2019-07-24 10:53:58 +03:00
Martijn Cuppens b2ae6a6a94 Apply at-mixin-argumentless-call-parentheses: always stylelint rule 2019-07-24 10:31:49 +03:00
XhmikosR f4cc5d3e41 Update devDependencies. 2019-07-24 10:31:49 +03:00
XhmikosR b8aa040aee Add --continue-on-error in the css-lint script. (#29119) 2019-07-24 09:47:37 +03:00
Mark Otto 114a0ee193 Rebuild the dist to pickup new utilities file (#29105)
Dist after adding new utils file
2019-07-24 09:13:50 +03:00
Johann-S e101ba4989 add polyfill.js in visual tests (#29116) 2019-07-24 08:19:47 +03:00
XhmikosR d7a62b505c Don't add the crossorigin attribute unless we pass integrity. (#29112) 2019-07-23 17:47:33 +03:00
Shohei Yoshida ebb1eea520 Force reflow for fade-in animation (#29113) 2019-07-23 17:21:23 +03:00
Johann-S a76c13589d fix docs bad use of private methods to change title of our tooltips (#29111) 2019-07-23 16:18:41 +03:00
Johann-S 201d338dbf run js-test in parallel 2019-07-23 14:23:50 +02:00
XhmikosR 93c3be3e0e package.json: ignore spec files. 2019-07-23 14:23:50 +02:00
Johann-S 233f3fb1ce rewrite tab unit tests 2019-07-23 14:23:50 +02:00
Johann-S e1b5d8471a use qunit css for our fixture 2019-07-23 14:23:50 +02:00
Johann-S b7b56cb10a rewrite scrollspy unit tests 2019-07-23 14:23:50 +02:00
Johann-S 85b70cef3c rewrite tooltip unit tests 2019-07-23 14:23:50 +02:00
Johann-S c9e650a56f rewrite popover unit tests 2019-07-23 14:23:50 +02:00
Johann-S 1ac07a66ce rewrite modal unit tests 2019-07-23 14:23:50 +02:00
Anton Bershanskiy e916a9bc03 rewrite toast unit tests 2019-07-23 14:23:50 +02:00
Johann-S 6a59c58480 rewrite dropdown unit tests 2019-07-23 14:23:50 +02:00
Johann-S 0ed1618c06 rewrite collapse unit tests 2019-07-23 14:23:50 +02:00
Johann-S 62730d9afd rewrite carousel unit tests 2019-07-23 14:23:50 +02:00
Johann-S 747f0f4c7b test jquery interface for our alert plugin 2019-07-23 14:23:50 +02:00
Johann-S 891a187059 rewrite button unit tests 2019-07-23 14:23:50 +02:00
Johann-S c834895fa0 rewrite unit tests for selector engine 2019-07-23 14:23:50 +02:00
Anton Bershanskiy fe6ba2384a rewrite manipulator unit tests 2019-07-23 14:23:50 +02:00
Johann-S c8c2074650 Switch from QUnit to Jasmine. 2019-07-23 14:23:50 +02:00
XhmikosR 08d81c8437 Update devDependencies. (#29099) 2019-07-23 12:53:01 +03:00
XhmikosR 8db74682e4 Replace http-server with zeit/serve. (#29101) 2019-07-23 12:35:37 +03:00
XhmikosR 21f19d0fce Downgrade karma-browserstack-launcher to v1.4.0. (#29109)
This might fix the build failures we are getting.
2019-07-23 12:14:29 +03:00
Martijn Cuppens c3ea8db2f6 Extend .container-fluid (#29106) 2019-07-23 09:50:24 +03:00
XhmikosR b65a5cb2c9 Move Icons in data. (#29087) 2019-07-23 09:41:14 +03:00
Mark Otto cd4768aa81 fix broken classes 2019-07-22 10:38:28 -07:00
XhmikosR 025f69cb20 Fix subnavbar active style. 2019-07-22 17:13:44 +03:00
XhmikosR 3521947611 Disable the !default rule for our docs variables. 2019-07-22 17:13:44 +03:00
XhmikosR 8780d9360a Use the background shorthand. 2019-07-22 17:13:44 +03:00
XhmikosR 3f27053c44 docs: use the escape_svg function. 2019-07-22 17:13:44 +03:00
Christian Oliff 6bebd2938a Simplify code for 'cover' example by using utility classes. (#28986) 2019-07-22 17:02:03 +03:00
XhmikosR deac34d7df Add bootstrap-utilities in bundlesize.config.json. 2019-07-22 16:51:45 +03:00
XhmikosR 1cfe18571f Fix license header. 2019-07-22 16:51:45 +03:00
Martijn Cuppens 2f08484be9 Add utilities documentation 2019-07-22 16:51:45 +03:00
Martijn Cuppens 3b06769c2f Add bootstrap-utilities in the css-minify-main script. 2019-07-22 16:51:45 +03:00
julian-hecker c69326dd6b Add bootstrap-utilities.scss 2019-07-22 16:51:45 +03:00
Martijn Cuppens 65446dc7de Simplify css-compile-main script (#29102) 2019-07-22 16:31:25 +03:00
XhmikosR 4ba4cc2e79 Simplify code. 2019-07-22 16:08:58 +03:00
XhmikosR 967f1ab37a Use sha384. 2019-07-22 16:08:58 +03:00
XhmikosR 262a24b627 Manually escape script. 2019-07-22 16:08:58 +03:00
XhmikosR 8b59b73a2b Remove useless script. 2019-07-22 16:08:58 +03:00
Mark Otto 88065dfe71 Use .html like every other example, change the layout, simplify some things for now 2019-07-22 16:08:58 +03:00
Martijn Cuppens b4c4223409 Remove card columns in favor of masonry grid 2019-07-22 16:08:58 +03:00
Martijn Cuppens 3b73dfc44b Allow to pass integrity & async attribute to extra js 2019-07-22 16:08:58 +03:00
XhmikosR ae0baff087 Update svgo.yml. (#29089) 2019-07-22 11:00:09 +03:00
Mark Otto e7890d1562 Move search styles, prep for responsive containers in docs 2019-07-21 21:44:32 -07:00
Mark Otto 0fcb0af131 no need for checks or conditions 2019-07-21 21:44:32 -07:00
Mark Otto 39e4615763 remove subnav from home and examples 2019-07-21 21:44:32 -07:00
Mark Otto 5a0be01e3e Make subnav and sidebar work on mobile too 2019-07-21 21:44:32 -07:00
Mark Otto 956cbbc6b7 make docs navbar more usable on mobile 2019-07-21 21:44:32 -07:00
Mark Otto 5027a8086a Move subnav to partial, take first pass at conditionalizing breadcrumb links 2019-07-21 21:44:32 -07:00
Mark Otto b08d2b6adc Add :focus to all new :hover selectors 2019-07-21 21:44:32 -07:00
Mark Otto af9d6c3dd3 Update remaining tables to Bootstrap tables in docs by adding .table class 2019-07-21 21:44:32 -07:00
Mark Otto 14e0ef57db Document changes to tables 2019-07-21 21:44:32 -07:00
Mark Otto 5912fdc916 Clarify form control visual updates in migration guide 2019-07-21 21:44:32 -07:00
Mark Otto fe71808494 Update Migration docs to mention new icons 2019-07-21 21:44:32 -07:00
Mark Otto 1cdba95c50 Revert padding-right on ol and ul in Reboot, update migration doc 2019-07-21 21:44:32 -07:00
Mark Otto 634344c003 v4/v5: Add responsive containers (#29095)
* create responsive containers

provide more flexibility and allow the user to determine when containers switch from fluid to fixed width.

* fix the base container code

this commit fixes the non-media portion of the generated CSS. I learned about the `@extends` directive and was able to put it to good use.

I create a new temporary map that contains all the main `$container-max-widths` and join it to our 2 special cases of 'xs' and 'fluid'.  Then we loop through that and, with the appropriate infixes, extend our placeholder

* formatting for style

forgot to run my tests before the last push, i think these are better.

* finish incomplete comment

* fix the responsive containers

using the `@extend` directive I was able to clean up this code

* fix responsive containers in the navbar

mostly we just look through all of our breakpoints so we can include all of the responsive container classes in the tweaks we have to do for the navbar (redeclaring flex properties, don't double up on padding, etc)

* Simplify container extends

* Simplify navbar containers

* Rearrange, add comments, ensure everything is nested in $enable-grid-classes

* Reduce new CSS by using attribute selector

We avoid using `@extend` whenever possible, and this is more readable

* Update _grid.scss

* Update _navbar.scss

* Add docs for responsive containers, redesign the container layout page

* Add to the Grid example
2019-07-21 17:38:36 -07:00
XhmikosR 57154a6562 Optimize the embedded SVGs. (#29075) 2019-07-22 00:23:54 +03:00
Kitten King 37703a6fc9 Fix Typos across Bootstrap repository (#29082) 2019-07-20 12:53:02 +03:00
Martijn Cuppens f6694b7440 Use escape-svg() function (#29077)
* Use escape-svg() function

* Update theming.md
2019-07-19 18:57:12 -07:00
XhmikosR 28dfa54083 Remove iconic and add feather icons. (#29079) 2019-07-19 18:25:03 +03:00
XhmikosR 2c5e41a95b Optimize a few SVGs. 2019-07-19 09:19:56 +03:00
XhmikosR c0a1cfa075 SVGs: lowercase hex values. 2019-07-19 09:19:56 +03:00
XhmikosR fc38f25287 Remove trailing spaces. 2019-07-19 09:19:56 +03:00
XhmikosR 73c2bfc7a0 docs-navbar.html: reindent and use our classes. 2019-07-19 09:19:56 +03:00
XhmikosR 38557b2fa1 Remove unneeded div.
This is a link.
2019-07-19 09:19:56 +03:00
Martijn Cuppens 62b8e84970 Make it possible to change default alignment & allow to inherit alignment from table (#29039) 2019-07-18 08:49:39 +03:00
Mark Otto 99676c7809 Use :focus-within for .form-file focus state (#29036)
Fixes #26563, closes #26576, closes #29021.
2019-07-17 16:56:54 +03:00
Martijn Cuppens 4634fd7c1a Fix ads alignment 2019-07-17 16:21:47 +03:00
XhmikosR e09f306b6b Use has-children. 2019-07-17 16:21:47 +03:00
XhmikosR 67bea95df5 It's viewBox. 2019-07-17 16:21:47 +03:00
XhmikosR cc2d55b8f2 Fix inline SVG. 2019-07-17 16:21:47 +03:00
Mark Otto ebcc3ff9af Move sidebar icon to CSS 2019-07-17 16:21:47 +03:00
XhmikosR 8bc6692082 Move the icon to a partial and optimize it. 2019-07-17 16:21:47 +03:00
XhmikosR 3898df1f5a Add width/height in the SVG arrow.
Fixes IE.
2019-07-17 16:21:47 +03:00
XhmikosR 5e6f5d8f38 Remove display none code. 2019-07-17 16:21:47 +03:00
XhmikosR 506282fb9e Use the responsive themes image. 2019-07-17 16:21:47 +03:00
XhmikosR e864f65789 Fix docs search. (#29067) 2019-07-17 16:05:56 +03:00
XhmikosR b81a3e8b3c Add redirect for /forms/. 2019-07-17 15:27:01 +03:00
XhmikosR 9745790514 Use the direct link to migrations page. 2019-07-17 15:27:01 +03:00
Martijn Cuppens 57edecbfb8 Remove redundant fill-rule 2019-07-17 15:10:44 +03:00
XhmikosR 18cf5c02c9 Move xmlns after svg for consistency. 2019-07-17 15:10:44 +03:00
XhmikosR 294752ed9e Escape the newly added SVGs.
Also use `viewBox` instead of `viewbox`.
2019-07-17 15:10:44 +03:00
Johann-S 18077460aa updated babel 2019-07-17 15:03:32 +03:00
XhmikosR 34e9c5ee0c Update devDependencies.
Held babel back due to issues with `objectSpread`.
2019-07-17 15:03:32 +03:00
XhmikosR e4dc6b84b1 Move inline JS to application.js. 2019-07-17 14:52:11 +03:00
XhmikosR 9be99c9b34 Ignore sw.js. 2019-07-17 14:52:11 +03:00
XhmikosR fe09d106dc site/.eslintrc.json: specify ecmaVersion. 2019-07-17 14:52:11 +03:00
XhmikosR ef98fbdb84 Fix application.js after aaf03bd 2019-07-17 14:52:11 +03:00
XhmikosR d39977271c Fix bootstrap-themes.png. (#29061)
For some reason the old image was bad quality.
2019-07-17 14:36:14 +03:00
M. Wacker 78c9c8bdd4 Fix breaking layout breaking error in code (#28328)
Change `word-break: break-word;` to `word-wrap: break-word;`
2019-07-16 10:54:36 +03:00
XhmikosR bce2b5e7ed Move the linkinator test in npm t. (#29003) 2019-07-15 16:26:36 +03:00
Martijn Cuppens 88e87ca7c9 Make text align configurable (#28989)
This was causing issues for RTL, see https://github.com/twbs/bootstrap/issues/28238
2019-07-15 14:34:01 +03:00
Martijn Cuppens d2f4e2bf97 Revert incorrect change (#29044) 2019-07-15 14:24:32 +03:00
Mark Otto df1c3c0ce8 v5: Reuse box-shadow variables (#29023)
* Remove default kbd element shadow, simplify selector while here

* Add new -shadow-inset variable so our shadows match on .form-control's, .form-select's, and .progress's

* Reuse box-shadow variables for .dropdown's, .popover's, .toast's, .modal's, and .img-thumbnail's
2019-07-15 10:29:13 +03:00
Manuel Alcaraz b4f99cb968 #29034 Fix broken links (#29035) 2019-07-14 12:41:34 +03:00
Patrick H. Lauke cc49977038 Fix dropdown unit test (#29037)
swap jQuery's `trigger(...)` with the more verbose native `dispatchEvent(...)`, as the former may not always behave/bubble correctly (observed while trying to write unit tests for keyboard handling of ARIA tab navigation), which may lead to this test passing even though it fails in real usage.
2019-07-14 12:24:27 +03:00
Mark Otto cef69b9a65 v5: Fix disabled styling on .form-file (#29022)
While #28450 overhauled a ton of forms work, the  support for this custom file input was ineffective. This updates the selector to target the custom field and gray out the entire field.

Fixes #28176.
2019-07-14 12:00:57 +03:00
Sunny Dhoke 6a9fd74a83 Added link to creative commons license (#29032)
The previous link is dead one.
2019-07-14 11:52:33 +03:00
Mark Otto cdb6504e48 Drop breakpoint CSS custom properties (#29020)
Media queries do not support CSS custom properties (CSS variables), so we've had some useless variables lying around since shipping v4. This finally removes them and the associated documentation content that explained the situation.

Fixes #29012.
2019-07-14 11:44:49 +03:00
Brian Juul Andersen 37ec7f6928 Update collapse.md (#29025)
Corrected minor spelling error.
2019-07-13 10:04:49 +03:00
Mark Otto 39c4ca3970 dist v5 2019-07-12 16:56:26 -05:00
Mark Otto aaf03bdc9e v5: Forms update (#28450)
* Initial spike of consolidated form checks

* Stub out forms rearrangement

- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS

* Move input group Sass file to forms subdir

* Start to split and move the docs around

* Simpler imports

* Copyediting

* delete overview file

* Remove commented out code

* remove the custom-forms import

* rewrite flex-check as form-check, replace all custom properties

* Remove old forms doc

* stub out new subpage link section

* update migration guide

* Update nav, forms overview in page nav, and descriptions

* fix check bg position

* fix margin-top calculation

* rename .custom-select to .form-select

* Update validation styles for new checks

* add some vertical margin, fix inline checks

* fix docs examples

* better way to do this contents stuff, redo the toc while i'm at it

* page restyle for docs while here

* un-callout that, edit text

* redo padding on toc

* fix toc

* start to cleanup checks docs

* Rewrite Markdown tables into HTML

* Redesign tables, redo their docs

* Replace Open Iconic icons with custom Bootstrap icons

* Redesign the docs navbar, add a subheader, redo the sidebar

* Redesign docs homepage a bit

* Simplify table style overrides for docs tables

* Simplify docs typography for page titles and reading line length

* Stub out icons page

* Part of sidebar update, remove migration from nav.yml

* Move toc CSS to separate partial

* Change appearance of overview page

* fix sidebar arrow direction

* Add footer to docs layout

* Update descriptions

* Drop the .form-group class for margin utilities

* Remove lingering form-group-margin-bottom var

* improve footer spacing

* add headings to range page

* uncomment form range css

* Rename .custom-range to .form-range

* Drop unused docs var

* Uncomment the comment

* Remove unused variable

* Fix radio image sizing

* Reboot update: reset horizontal ul and ol padding

* de-dupe IDs

* tweak toc styles

* nvm, fix dropdown versions stuff

* remove sidebar nav toggle for now

* broken html

* fix more broken html, move css

* scss linting

* comment out broken helper docs

* scope styles

* scope styles

* Fixes #25540 and fixes #26407 for v5 only

* Update sidebar once more

* Match new sidenav order

* fix syntax error

* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696

* rename back

* fix size and alignment

* rename that back too
2019-07-12 16:52:33 -05:00
Shohei Yoshida 50f97710eb Drop support for .form-control-plaintext inside .input-group (#28972)
* Revert "Fix readonly-plain-text with button addon (#25871)"

This reverts commit ff40e00323.

* Add migration comment
2019-07-12 13:23:43 +03:00
Martijn Cuppens d479fd89d0 Remove attribute selectors (#28988) 2019-07-12 13:15:50 +03:00
Johann-S 92c45a19a5 separate file for our polyfills to have lighter plugins 2019-07-10 10:40:52 +02:00
XhmikosR fdbc63fb3f Fix typo. (#29008) 2019-07-10 10:45:27 +03:00
Mark Otto 9badcf6c41 Fixes #28994 2019-07-09 14:30:07 -05:00
XhmikosR c7a847b6a1 Move bundlesize config to a separate file. (#29002) 2019-07-09 17:18:14 +03:00
Patrick H. Lauke 53a3d449fd Add prefers-reduced-motion callout to toast documentation (#28993)
x-ref #28987
2019-07-08 21:05:53 +03:00
Bardi Harborow 08bddb8743 Add ARIA search landmark to documentation. (#28983) 2019-07-02 21:17:42 +03:00
Martijn Cuppens f5f09d8b0b Remove redundant border radius on pagination (#28980)
Pagination used to have box shadow back in the days which required this property, but nowadays it's redundant. (see https://github.com/twbs/bootstrap/blame/0cd186183c5e18f0517d6037d53f29c56adbac72/less/pagination.less#L17)
2019-07-02 08:08:12 +02:00
Martijn Cuppens 4b3d2635f3 Remove redundant radius properties (#28956) 2019-06-26 15:11:37 +02:00
Martijn Cuppens 65f21bbef1 Fix pre color (#28966) 2019-06-26 13:18:59 +03:00
Martijn Cuppens 27824ec586 Stretched link updates (#28958)
- Remove IE10 background hack
- Ability to change the pseudo element
- Ability to change the z-index
- Remove pointer events, just inherit this
2019-06-26 07:54:51 +03:00
Patrick H. Lauke f2c63ac729 Port new unit test for dropdown from v4 (#28913)
Add unit test from #28912 to v5
2019-06-25 14:57:41 +03:00
Sergey Kovalenko ad62301a5b Remove negative margins for group list items (#28940)
To fix RGBA borders overlapping issue.
2019-06-25 09:23:36 +03:00
XhmikosR 2fb6ccf951 Minor wording changes. 2019-06-24 09:15:52 +03:00
Jonathan Hawkins 39fc46fb71 Combine duplicate documentation examples into one to fix the confusing text.
fixes issue #28892
2019-06-24 09:15:52 +03:00
Martijn Cuppens ac6eefd227 Change invalid icon from cross to exclamation mark (#28944)
The cross icon was confusing since some browsers use it as a reset button.
2019-06-22 16:21:11 +02:00
Robin D'Arcy cbabd8ff0d Docs – update extend/approach.md (#28941) 2019-06-22 16:21:20 +03:00
Patrick H. Lauke f0f75379f6 Closing dropdown with ESC correctly sets focus to toggle (#28928)
Just firing the focus event isn't enough ... need to actually call the proper `focus()` method for it to actually do it...
2019-06-19 12:23:41 +03:00
XhmikosR ceffc3a5fd Update devDependencies. (#28924) 2019-06-18 15:34:43 +03:00
Martijn Cuppens 1efcf7a5dc Typo fix (#28920) 2019-06-18 10:43:15 +03:00
Martijn Cuppens 83fc5a3239 Decrease number of order utilities (#28874) 2019-06-18 07:02:14 +02:00
Ashfahan Khan c5b1919dea Add Error checking to prevent invalid breakpoint (#28889)
* Add Error checking to prevent invalid breakpoint

Error checking to prevent invalid breakpoint name

* check type rather than value

* Revert "check type rather than value"

This reverts commit 04ab1e652f.

* use of not rather than null
2019-06-17 08:00:36 +02:00
david-lallement 0829decce0 tooltip dispose:removing only own event handler (#28896) 2019-06-13 10:42:54 +02:00
Martijn Cuppens 2ac2a5a91e Removal of one of the most iconic components of Bootstrap: the jumbotron (#28876) 2019-06-07 14:44:25 +03:00
XhmikosR cafbbdc3b6 Update site/content/docs/4.3/examples/sticky-footer-navbar/index.html
Co-Authored-By: Shohei Yoshida <fellows3@gmail.com>
2019-06-06 19:15:18 +03:00
XhmikosR 1835004b96 Update site/content/docs/4.3/examples/sticky-footer-navbar/index.html
Co-Authored-By: Shohei Yoshida <fellows3@gmail.com>
2019-06-06 19:15:18 +03:00
XhmikosR 8c61254919 Examples: make use of core utils in more places. 2019-06-06 19:15:18 +03:00
Shohei Yoshida 543ff4e3e5 Clean component examples CSS (#28872)
* Remove unused classes/styles and use utilities instead of specific styles
* Use `getElementById` instead of `querySelector`
2019-06-06 09:04:48 +03:00
Shohei Yoshida 1c510ddaec Make generating form row styles dependent on $enable-grid-classes (#28870) 2019-06-05 18:15:27 +03:00
Shohei Yoshida 8437be2f33 Rename the text helper page (#28869) 2019-06-04 20:46:52 +02:00
Shohei Yoshida 3283fe1b52 Rename .text-monospace to .font-monospace (#28867) 2019-06-05 00:51:36 +09:00
Patrick H. Lauke 87030c98ac Docs: add accessibility/keyboard callout to popovers, tweak tooltips callout (#28851)
- Add same advice about keyboard/AT handling to popovers as a callout; also add information about not adding excessive content or interactive controls (and the suggestion to opt for a modal)
- Tweak the tooltips callout for consistency
2019-06-04 10:36:57 +03:00
Shohei Yoshida d6e0552efe Workaround for the image size bug in IE (#28855) 2019-06-04 10:25:19 +03:00
XhmikosR cb4cdbf2bb Add initial FUNDING.yml (#28824) 2019-06-04 10:03:09 +03:00
XhmikosR 8f97e2dc52 Update devDependencies. (#28798)
Notably:

* bundlesize 0.15.3 → ^0.17.2
* eslint-plugin-unicorn ^8.0.2 → ^9.0.0
* terser ^3.17.0 → ^4.0.0
2019-06-03 14:26:52 +03:00
XhmikosR 8a79cf894d event-handler.js: use a plain for loop. (#28853) 2019-06-03 13:08:17 +02:00
Christian Oliff 319de5b309 HTTPS link to codeguide.co (#28860) 2019-06-03 10:36:49 +03:00
Ashfahan Khan 41fcd13d3e Utility API improvement: use $key/$value instead of nth (#28828)
Co-Authored-By: Martijn Cuppens <martijn.cuppens@gmail.com>
2019-05-30 17:22:06 +02:00
XhmikosR fd21354de2 Use npm-run-all in the netlify script. (#28846) 2019-05-30 10:52:50 +03:00
Martijn Cuppens 14cb65f702 Remove redundant properties from .embed-responsive (#28062) 2019-05-29 19:42:32 +02:00
Shane Parsons 4c70e96b97 Modify .card-header-tabs .nav-link.active colors (#28833)
Co-Authored-By: Mark Otto <otto@github.com>
2019-05-29 18:38:36 +02:00
Jay Pinho 91d07fb26c Make example description more accurate (#28842) 2019-05-29 18:17:40 +03:00
Shohei Yoshida 072622d959 Clean input group flex basis (#28785) 2019-05-28 22:28:39 +03:00
Shohei Yoshida b28322469e Calc modal header/footer border radius according to the border width (#28775) 2019-05-28 14:21:45 +02:00
Aditya Shankar 111024695a Correct grammar in modal.scss (#28829) 2019-05-27 08:19:50 +02:00
Sezer Esen de1a6e3201 Fix background position (#28814) 2019-05-26 11:13:55 +02:00
Ashfahan Khan c215dc83f0 Fix Typo Mistake in SCSS comment (#28821) 2019-05-24 22:09:09 +01:00
XhmikosR 1ce7960c6c vnu.jar: Update ignores. (#28817)
Pass the `--no-langdetect` flag instead of ignoring the warning manually.
2019-05-24 13:19:13 +03:00
Martijn Cuppens 769c8d8246 Helpers & utilities split (#28445) 2019-05-23 11:56:03 +02:00
Martijn Cuppens a4a04cd9ec .sr-only & .sr-only-focusable tweaks (#28720)
* Prevent .sr-only-focusable overriding properties when being focused

* Typo
2019-05-20 10:03:51 +02:00
Shohei Yoshida 1a41b0ffa6 Fix z-index according to our z-index rule (#28784)
https://getbootstrap.com/docs/4.3/extend/approach/#z-index-scales
2019-05-18 16:30:57 +02:00
Christian Oliff 2d6e086342 Update Yarn package link to link to the Bootstrap package (#28781)
I think it makes more sense to link to the Bootstrap package on Yarn here (like the package link for NPM above)
2019-05-16 21:47:26 +03:00
XhmikosR 552e11a1ab linkinator: add silent flag.
This should reduce its output.
2019-05-16 16:01:07 +03:00
XhmikosR 6269d05670 Update devDependencies. 2019-05-16 16:01:07 +03:00
Johann-S 02f80c1616 remove util references from our docs 2019-05-16 14:44:11 +02:00
Johann-S 803088c526 remove jquery references from tooltip docs 2019-05-16 14:44:11 +02:00
Johann-S 976e825d26 remove jquery references in browsers-devices docs 2019-05-16 14:44:11 +02:00
Johann-S 759fe25567 remove jquery references in toast docs 2019-05-16 14:44:11 +02:00
Johann-S d5752a18ab toast should allow prevent default for hide and show events 2019-05-16 13:24:29 +02:00
Johann-S 4ea7e11233 add notes about arrow selector changes 2019-05-14 15:28:43 +02:00
Johann-S c805aec770 fix popover arrow by selecting the first element child 2019-05-14 15:28:43 +02:00
Johann-S 7694a5a70a remove jquery references from popover docs 2019-05-14 14:32:45 +02:00
Johann-S df3277f14d remove jquery references from javascript.md docs 2019-05-14 14:32:45 +02:00
Johann-S 104308b276 rewrite modal docs without jquery 2019-05-14 14:32:45 +02:00
Johann-S 19e86a34af remove jquery references in dropdown docs 2019-05-14 14:32:45 +02:00
Johann-S fd8a651521 remove some jquery references in collapse docs 2019-05-14 14:32:45 +02:00
Johann-S 99b2a80db8 remove some jquery references in carousel docs 2019-05-14 14:32:45 +02:00
Shohei Yoshida b7040ad9b4 Remove non-existing .custom-file-label::after (#28757) 2019-05-10 21:29:05 +02:00
Martijn Cuppens 5db281d7c4 Move close icon to components in docs (#28512)
* Move close icon to components

* Remove redundant float from close
2019-05-10 20:27:22 +02:00
Shohei Yoshida 06635be7bd Reset input padding for cross browser consistency (#28208) 2019-05-09 20:40:40 +03:00
Katherine Shaw a5d7dff164 Docs unordered lists dropdowns (#28591)
Replace snippets and examples in dropdown docs to use semantic `ul` and `li` elements.
2019-05-09 11:19:32 +03:00
XhmikosR bc012957b5 Remove Base64 for SVGs. (#28749)
It results in bigger files.
2019-05-09 09:34:13 +03:00
zhangbao 6b177cc409 Consistency modification (#28750) 2019-05-09 08:14:50 +02:00
Mark Otto 473689ce5d v5: Drop all print styles and classes (#28339) 2019-05-09 07:57:58 +02:00
Mark Otto d806e874b4 v5: Drop .media (#28265) 2019-05-08 21:45:24 +03:00
Martijn Cuppens f1e6e6e4a1 Remove hover mixin documentation 2019-05-08 20:58:07 +03:00
Mark Otto 1d4d9f8d89 Drop all hover mixins
Previously deprecated in v4.x, this clears out the now unused Sass option and removes some unused mixins. Arguably we could remove more, but I like the hover-focus mixin and we make extensive use of it across the project.
2019-05-08 20:58:07 +03:00
Martijn Cuppens a827934f13 Documentation tweaks (#28679)
* Documentation tweaks

* Remove redundant col-12 classes
2019-05-08 19:58:29 +03:00
Ashfahan Khan 292cb46cb9 add icofont to icon options (#28738)
30 Categories , 2100+ SVG and icons from icofont
2019-05-08 19:51:25 +03:00
XhmikosR 438e01b61c Rename eventHandler and selectorEngine files. 2019-05-08 17:26:37 +03:00
Johann-S dda31bbee6 improve build plugin script to keep file name 2019-05-08 17:26:37 +03:00
XhmikosR e7657c8bc0 Remove the unicorn/filename-case rule suppression. 2019-05-08 17:26:37 +03:00
Patrick H. Lauke d102363c9f Album example: remove misleading jumbotron-heading classname (#28741) 2019-05-08 15:53:08 +03:00
Shohei Yoshida dfab49aab7 Fix incorrect variable for popover border radius (#28733)
* Use $popover-border-radius

* Move and rename the local $offset-border-width to the global variable
2019-05-07 12:01:30 +02:00
Johann-S 45a1954740 fix progress bar animation, remove forEach not needed currently 2019-05-05 17:45:39 +02:00
Martijn Cuppens f5599d0a04 Configurable container padding (#28554) 2019-05-05 10:49:23 +03:00
Martijn Cuppens a776cc473d Switch from list to map for responsive embeds (#28678) 2019-05-05 10:41:27 +03:00
Christian Oliff be2ad67786 Fix broken link to css-discuss.incutio.com/wiki/Printing_Tables (#28637)
Instead now pointing to the most recent Wayback Machine archive copy.
2019-05-04 10:30:17 +03:00
Martijn Cuppens 4f85850945 Scrollbar fix (#28417) 2019-05-03 21:32:25 +03:00
Martijn Cuppens acf7ca9a68 More compact color-yiq function (#28514) 2019-05-03 21:18:41 +03:00
Mark Otto a2594e1d6e [WIP] Bump supported browsers for v5 (#28317)
* Bump supported browsers for v5

- Chrome history: https://en.wikipedia.org/wiki/Google_Chrome_version_history
- Firefox latest ESR (v60): https://www.mozilla.org/en-US/firefox/organizations/
- Edge history: https://en.wikipedia.org/wiki/Microsoft_Edge#Release_history
- Desktop Safari history: https://en.wikipedia.org/wiki/Safari_version_history
- Opera history: https://help.opera.com/en/opera-version-history/

* Update .browserslistrc

* Roll back Chrome several versions for now

Still WIP, but wanting to get this merged, so finding a slightly wider baseline
2019-05-03 10:54:29 -07:00
Mark Otto 57a09376b1 [WIP] v5: Prep migration docs page (#28472)
* Migration docs page for v5

* Add JS section, tweak some copy

* Update migration.md
2019-05-03 10:52:58 -07:00
Martijn Cuppens 91230dbdf1 Headings font style (#28544) 2019-05-02 21:35:58 +02:00
Martijn Cuppens 0321fbf036 Remove floats from dropdown (#28690) 2019-05-02 20:37:10 +02:00
XhmikosR ccfd575dfc Update devDependencies. (#28716) 2019-05-02 16:59:37 +03:00
Martijn Cuppens b327c34ce3 Improve progress-bar-stripes animation (#28697)
- `background-position: 0 0;` is the default background position, so redundant
- The background position should only be animated in the x direction
- `0%` is a little shorter than `from`
2019-05-02 11:03:28 +03:00
XhmikosR 336778f463 Examples: include favicons. (#28504) 2019-05-02 10:47:48 +03:00
Martijn Cuppens 09c99fe6e7 Reboot & Type cleanup (#28698)
- Line height & font family from html were directly overridden by body, so they were redundant thus removed
- The remaining properties are moved to body
- Shim for IE10 tags removed
- hr cleanup
  - Combined styles from reboot & type
  - Changed from borders to background
    - This allows us to keep the color inherited.
    - Opacity can be used to change the intensity
    - Size attribute will not change the height instead of making the hr look like an input field
  - Better variable names
- headings cleanup
  - Moved all element styling to reboot
  - Type will now extend the element styling. This way we will save some redundant code
- small & mark are also moved to reboot. type does not contain any element styling anymore
- font weight removed from small, this did not really made sense
2019-04-30 11:00:33 +03:00
Martijn Cuppens f36890d1cd Add truncated example of custom file browser 2019-04-30 10:45:05 +03:00
ysds a454ea7cf7 Change custom file markup 2019-04-30 10:45:05 +03:00
Martijn Cuppens 99eff2f58f Remove top margin 2019-04-30 10:31:37 +03:00
XhmikosR 312f54fa66 Show the other navbar items on small screens too. 2019-04-30 10:31:37 +03:00
Martijn Cuppens 0ed44cab2d Remove IE leftover (#28699)
Removed leftover from #27789
2019-04-30 08:52:04 +02:00
XhmikosR 344dfbb302 Travis CI: add Node.js 12 and use cache: npm. (#28705) 2019-04-29 18:03:25 +03:00
XhmikosR 280f45c55e Update devDependencies. (#28655) 2019-04-29 17:47:53 +03:00
XhmikosR 952c3d3677 docs SVGs: Allow passing a custom title. (#28660) 2019-04-29 17:11:40 +03:00
XhmikosR 38a4e4bb10 README.md: remove unneeded query params from badges. (#28704) 2019-04-29 16:47:22 +03:00
Mark Otto 60d826a305 Prevent form validation mixin from generating invalid CSS (#28447)
Extrapolates the previously used selector into a new mixin that only generates valid CSS by creating psuedo-classes for `valid` and `invalid`, and nothing else.

Fixes #28380.
2019-04-25 17:01:50 +03:00
Shohei Yoshida 2d0f2feb10 Sync plain text font-size with $input-font-size (#28464) 2019-04-25 16:45:59 +03:00
GeoSot 275cd7f91e Separate $btn-link colors from $link-color (#28681) 2019-04-23 16:12:51 +03:00
Martijn Cuppens 4ee2ae4ce0 Remove redundant slashes (#28677) 2019-04-21 18:45:53 +03:00
XhmikosR 091aa1e9fd v5 dist (#28657) 2019-04-18 14:47:52 +03:00
XhmikosR 5c5b15a077 update-deps: remove jquery exclude. (#28659) 2019-04-15 17:48:18 +03:00
Johann-S 07e21dbf31 add esm files in our readme (#28654) 2019-04-15 15:01:44 +03:00
Johann-S 14f53d9baa fix unit tests for chrome mobile 2019-04-15 13:48:27 +02:00
XhmikosR 80dfee9dc1 Update hugo-bin to v0.43.1 (Hugo 0.55.1). (#28631) 2019-04-15 11:49:24 +03:00
Johann-S 09a70e3717 remove custom browserlist for our esm build (#28642) 2019-04-15 11:40:48 +03:00
Johann-S bff1c3a53d change how bootstrap can be imported in bundlers 2019-04-15 10:09:21 +02:00
Shohei Yoshida b1b5e87d65 Add $custom-control-label-color variable (#28633) 2019-04-13 15:06:32 +03:00
XhmikosR a86598e4ff clean-css: the option is named breakWith 2019-04-10 15:18:57 +03:00
XhmikosR afc63ec887 Fix xo error: use for...of. 2019-04-10 15:18:57 +03:00
XhmikosR 105687ac4a Update eslint config for the new xo rules. 2019-04-10 15:18:57 +03:00
XhmikosR 0b12f61e3c Update devDependencies. 2019-04-10 15:18:57 +03:00
ysds f4877dbf03 Remove _close() and marge with _hide() 2019-04-09 13:59:41 +02:00
ysds 91ebb4b3b2 Call hide() after delay time 2019-04-09 13:59:41 +02:00
Ted Kesgar 51b0c42778 Change toast border radius to use $border-radius (#28621)
Currently, `$toast-border-radius` uses the value of `.25rem`. This is inconsistent with other variables such as `$btn-border-radius` and `$input-border-radius`, which uses the "global" `$border-radius` variable.
2019-04-08 15:06:48 +03:00
Matěj Kříž e0738f8207 Fix buttons :focus state styles (#27890)
* Fix buttons :focus state styles

Buttons :hover and :focus state shares styles.
Buttons :focus text color on 'a.btn' is now consistent with others '.btn'.

* `:focus` styles should be in sync with `.focus`.

So shared styles with hover were copy to focus definition. Rather then using
`hover-focus` mixin which do not contain `.focus`.
2019-04-05 11:51:20 +03:00
XhmikosR c6c9e322f7 _sidebar.scss: change ID to a class and type selector. (#28610) 2019-04-04 11:56:06 +03:00
XhmikosR efb9a7749f karma.conf.js: switch to CI === true. (#28588) 2019-04-01 17:26:43 +03:00
Loïc Goyet f2d33cd86b Remove scss variable defined twice (#28567) 2019-03-29 21:31:23 +02:00
Johann-S 1752addadf Reset carousel touch delta x to prevent click transformation in swipe (#28558) 2019-03-27 14:37:04 +02:00
XhmikosR 3c3ed3ff05 Add a netlify npm script. (#28552) 2019-03-26 15:20:33 +02:00
XhmikosR 6672aea5a9 Remove http from docs search. (#28557)
We use only `https` for a few months now.
2019-03-26 12:49:45 +02:00
XhmikosR d7ecff24d1 Simplify npm docs script a bit. 2019-03-24 10:34:41 +02:00
XhmikosR 940b8da7a9 Add the css-copy and js-copy tasks before the build script. 2019-03-24 10:34:41 +02:00
XhmikosR aa3b4d33f8 Update devDependencies. (#28538) 2019-03-23 12:52:32 +02:00
Patrick H. Lauke b4a2beb3c2 Check prefers-reduced-motion variable before adding reduced motion media query for animated progress bars (#28530) 2019-03-21 15:59:02 +02:00
XhmikosR 1f7f876810 Fix css-prefix-docs script to be more restrictive. (#28525) 2019-03-19 14:29:52 +02:00
XhmikosR b0f918982f Revert back to the old snippet and just add anonymize IP.
We don't need the extra bloat of gtag.
2019-03-18 12:26:50 +02:00
Mark Otto 2017eb9aed Update GA to latest script & anonymize IPs 2019-03-18 12:26:50 +02:00
Shohei Yoshida 5e459e9b52 Workaround for MS edge bug (#28275) 2019-03-18 01:27:59 +02:00
Johann-S ad0f5f153c fix remove files in our visual tests 2019-03-18 01:11:05 +02:00
XhmikosR c2fa74b652 Revert "Remove Internet Explorer leftovers."
This reverts commit 089e3334a7.
2019-03-18 01:11:05 +02:00
XhmikosR 8060528281 .browserslistrc: add IE 11. 2019-03-18 01:11:05 +02:00
XhmikosR 42c21e50fc Revert "remove IE from our browserlist"
This reverts commit 5e068eeda9.
2019-03-18 01:11:05 +02:00
XhmikosR dd75ac6c25 Revert "remove --compress typeofs=false from terser."
This reverts commit 25bba7bd68.
2019-03-18 01:11:05 +02:00
XhmikosR bcf76ef5f0 Revert "Add information about IE 11 compatibility."
This reverts commit 1da5b9f76a.
2019-03-18 01:11:05 +02:00
XhmikosR 15d242d21a Revert "Remove IE-specific breadcrumb CSS hack"
This reverts commit 9fda96e197.
2019-03-18 01:11:05 +02:00
Johann-S 08679ac0b5 Add back support for IE 11 2019-03-18 01:11:05 +02:00
XhmikosR f7c1b1e683 Update .gitignore (#28519)
Add back ruby/bundler folders so that they don't show up when we switch branches.

This can be removed when v4 hits EOL, along with the old Jekyll docs dist folder.
2019-03-18 00:58:47 +02:00
Martijn Cuppens a88d58605a Remove hover states on background utilities (#28457) 2019-03-14 19:36:02 +02:00
Mark Otto 837ff0cc11 v5: Drop remaining deprecated mixins (#28461)
- Deletes mixin mentions from float docs
- Deletes mixin mention from visibility docs
- Deletes the image-replacement page for text-hide
2019-03-14 19:23:54 +02:00
Mark Otto c16532c724 v5: Update badges (#28458)
- Drop hover and focus states
- Drop .badge-* variants and associated mixin for .bg-* utilities
- Drop .badge-pill for .rounded-pill utliity and adjust horizontal padding to find middle ground of .badge and old .badge-pill
- Remove unused variables
- Add default color value to .badge base class
- Update docs to reflect changes
2019-03-14 19:15:26 +02:00
XhmikosR 1add6341a7 Update .gitignore (#28493)
Add the old Jekyll docs dist folder so that when we switch branches, it doesn't show up.
2019-03-14 18:03:01 +02:00
Mark Otto 43eb6b1703 Revert "Don't run Google Analytics locally. (#28384)" (#28489) 2019-03-13 19:07:54 -07:00
XhmikosR 6a3433da9a browsers-devices.md: escape what we read. 2019-03-13 18:33:51 -07:00
Christian Oliff 02e0aa3b60 Don't run Google Analytics locally. (#28384) 2019-03-13 19:22:59 +02:00
Martijn Cuppens 28ad7a901e Push footer to the bottom of the page 2019-03-13 19:22:59 +02:00
XhmikosR 913f290e3d Fix 404 layout. 2019-03-13 19:22:59 +02:00
XhmikosR 46e88fb8f3 404: output to 404.html and add meta robots. 2019-03-13 19:22:59 +02:00
Christian Oliff 35c6b2b12b Create 404.md 2019-03-13 19:22:59 +02:00
XhmikosR 6a82a2ebe8 Fix the chroma fix and use Sass more. 2019-03-13 19:22:59 +02:00
Bardi Harborow 6e16720b12 Workaround problematic Chroma bash highlighting. 2019-03-13 19:22:59 +02:00
Bardi Harborow 47b4ea084f Disable blackfriday's automatic fraction formatting. 2019-03-13 19:22:59 +02:00
XhmikosR e58b587a72 Add support for meta robots. 2019-03-13 19:22:59 +02:00
XhmikosR 678da2ead9 Remove --renderToDisk. 2019-03-13 19:22:59 +02:00
Bjørn Erik Pedersen b1860eca05 Simplify browser bugs inline shortcode 2019-03-13 19:22:59 +02:00
XhmikosR 142af24018 Add a docs-build script and make it the default. 2019-03-13 19:22:59 +02:00
Bjørn Erik Pedersen 69e18b9634 Fix bugify. 2019-03-13 19:22:59 +02:00
XhmikosR 04a58887cd Update syntax highlighting styles to match the Chroma ones. 2019-03-13 19:22:59 +02:00
XhmikosR 5d6e896ebb Add a docsref shortcode.
This allows for the build to fail if a reference isn't found.
2019-03-13 19:22:59 +02:00
XhmikosR 23ddfa99a3 Move this to a partial to work around the stray p issue. 2019-03-13 19:22:59 +02:00
XhmikosR d948a3f9cb Work around the docs/ redirects.
This happens because we have the section kind enabled (needed for examples).
2019-03-13 19:22:59 +02:00
XhmikosR 850817bb09 Remove newlines in raw HTML.
This causes `p` tags which is invalid HTML.
2019-03-13 19:22:59 +02:00
XhmikosR 89a6380032 Copy the dist files before the docs-serve script. 2019-03-13 19:22:59 +02:00
XhmikosR 1afa67fca8 Remove HTML comment; it breaks rendering. 2019-03-13 19:22:59 +02:00
XhmikosR e2fd847032 browsers-devices.md: Read .browserslistrc instead of duplicating the content. 2019-03-13 19:22:59 +02:00
XhmikosR d95d30029f Switch to Hugo.
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!
2019-03-13 19:22:59 +02:00
XhmikosR 6aa475c82e Use one-line imports when possible. (#28467) 2019-03-13 14:55:53 +02:00
Jim Jiang ff1788666f Remove redundant placeholders in forms docs (#28406)
* Change state field to select
* Include "Choose..." placeholder for select
* Change validated select to .custom-select
2019-03-12 15:22:39 +02:00
Patrick H. Lauke 3e05d016cf Remove indiscriminate outline suppression for tabindex="-1" elements (#28437)
instead, only apply outline suppression if the browser wouldn't normally apply the focus outline, using the (currently experimental) `:focus-visible` pseudo-class
2019-03-12 15:16:18 +02:00
Mark Otto e8827874ad v5: Don't automatically adjust all hr elements in alert variants (#28462) 2019-03-12 15:04:08 +02:00
Mark Otto d6501970ad v5: Drop deprecated size mixin (#28460) 2019-03-12 10:02:17 +02:00
Mark Otto 89d7384944 Drop deprecated img-retina mixin (#28459) 2019-03-12 09:47:36 +02:00
XhmikosR ac67e04ce0 Dist. 2019-03-11 17:59:08 +02:00
Johann-S c2b05dd7b5 use specific browserlist for esm build 2019-03-11 17:59:08 +02:00
Johann-S ba9caacaa5 add docs about how to use the esm version 2019-03-11 17:59:08 +02:00
XhmikosR e8684b55b8 Tweak rollup.config.js 2019-03-11 17:59:08 +02:00
XhmikosR 41f72d3d5f Add the new ESM builds in bundlesize. 2019-03-11 17:59:08 +02:00
XhmikosR faba7e3f64 package.json: tweak js scripts. 2019-03-11 17:59:08 +02:00
Johann-S 2fd50f98a5 build bootstrap in esm 2019-03-11 17:59:08 +02:00
XhmikosR 3ffe3a5d82 collapse.js: minor refactoring. 2019-03-11 17:01:28 +02:00
XhmikosR 1393678f0b Remove obsolete comments. 2019-03-11 17:01:28 +02:00
XhmikosR dd0239d169 Remove more unused properties. 2019-03-11 17:01:28 +02:00
Johann-S dce47b5451 scrollspy.js: remove unused properties 2019-03-11 17:01:28 +02:00
XhmikosR 5ac1a12625 Remove assignment from return. 2019-03-11 17:01:28 +02:00
XhmikosR 5bcd6a29cd Disable a few rules for now. 2019-03-11 17:01:28 +02:00
XhmikosR 46c037410b Comply to the new rules. 2019-03-11 17:01:28 +02:00
XhmikosR 44e6abcba5 Switch to eslint-config-xo and eslint-plugin-unicorn. 2019-03-11 17:01:28 +02:00
Shohei Yoshida 8896827bd0 Add <ol> to nav's comment (#28426) 2019-03-07 13:38:33 +01:00
Martijn Cuppens 8770b84e84 Update RFS to v8.0.2 (#28405) 2019-03-06 22:49:06 +02:00
mspae 7626f8b17d disable assert assending check if the previous unit was a percentual value (#28400) 2019-03-05 12:47:48 +02:00
Jonathan c8361e2adf Hyphenate server-side (#28401) 2019-03-04 15:52:13 +02:00
XhmikosR 19aee321a0 Dist (#28392) 2019-03-01 18:31:34 +02:00
XhmikosR d47d29aeaa Update devDependencies. (#28391) 2019-03-01 18:12:54 +02:00
Chris Barr 93f77bc761 Fix issue template links to the contributing guidelines (#28378) 2019-02-28 19:19:43 +02:00
XhmikosR da5f428b35 Update devDependencies and gems. (#28347) 2019-02-28 08:46:24 +02:00
XhmikosR d5f9107abb Remove the now unneeded shrink-to-fit directive. (#28314) 2019-02-27 17:47:41 +02:00
Bardi Harborow 428280574b Use .text-danger for IE not supported cell. (#28371) 2019-02-27 15:23:17 +02:00
Laussel Loïc 427799d075 put secondary navigation in an explicit landmark nav and add a label on each nav (#28361) 2019-02-27 13:37:52 +02:00
Laussel Loïc fdfe1679ba add an explicit aria-label on link with svg on sample pages (#28360) 2019-02-27 13:29:29 +02:00
XhmikosR 9cbd041f6b tests: add tests for plugins version. (#28366) 2019-02-27 13:20:25 +02:00
Martijn Cuppens bc60a22a18 Fix border if only one card (#28365) 2019-02-26 22:06:46 +02:00
XhmikosR f7b55da450 dom/manipulator.js: minor simplification. (#28358)
Combine two checks since we return the same value for both.
2019-02-26 13:13:01 +02:00
XhmikosR 7933ee3282 karma.conf.js: minor simplification. 2019-02-26 13:04:04 +02:00
Johann-S 497518db1a remove tests for old jQuery 1.9.x compatibility 2019-02-26 13:04:04 +02:00
Johann-S 8a37045b79 move util in a util folder with the sanitizer 2019-02-26 13:04:04 +02:00
Bardi Harborow 8affe84c72 Create SECURITY.md (#28288) 2019-02-25 09:29:11 +02:00
XhmikosR 5ad2121819 Remove DOMContentLoaded. (#28337)
There's no reason for us to wait here.
2019-02-24 15:42:18 +02:00
XhmikosR 5328d0db0d Add --continue-on-error in npm run lint. (#28338)
So if one of the two sub-tasks fails, it still completes linting the other one.
2019-02-22 06:35:43 +02:00
XhmikosR 423e4a3811 tests/visual/modal.html: fix close button placement. 2019-02-20 22:05:45 +02:00
XhmikosR 7d964650ee forms.md: remove jQuery from snippet. 2019-02-20 22:05:45 +02:00
Johann-S fee11fd7ae use our selector engine instead of native api 2019-02-20 22:05:45 +02:00
Johann-S 5877306104 download.md: reword import bootstrap section. 2019-02-20 22:05:45 +02:00
XhmikosR 68e6de42ec Use Util.makeArray(). 2019-02-20 22:05:45 +02:00
Mark Otto 9fda96e197 Remove IE-specific breadcrumb CSS hack 2019-02-20 22:05:45 +02:00
XhmikosR 2b8eebb4b8 Remove focusable="false" from SVGs. 2019-02-20 22:05:45 +02:00
XhmikosR 089e3334a7 Remove Internet Explorer leftovers. 2019-02-20 22:05:45 +02:00
XhmikosR 7f7f858cb9 Remove jQuery from docs/repo.
Some of the snippets need to be updated later.
2019-02-20 22:05:45 +02:00
Johann-S 1da5b9f76a Add information about IE 11 compatibility. 2019-02-20 22:05:45 +02:00
XhmikosR 7491b14f03 Bump bundlesize limits 2019-02-20 22:05:45 +02:00
XhmikosR 25bba7bd68 remove --compress typeofs=false from terser.
This was needed for IE
2019-02-20 22:05:45 +02:00
Johann-S e58b47cf74 improve event handler 2019-02-20 22:05:45 +02:00
XhmikosR 30861cbc6d Simplify checks. 2019-02-20 22:05:45 +02:00
XhmikosR 4b7c058a25 Remove unneeded ESLint suppression. 2019-02-20 22:05:45 +02:00
Johann-S 08227506f2 use only dataset to get data attributes 2019-02-20 22:05:45 +02:00
Johann-S 764bab2941 remove polyfills which override browsers default 2019-02-20 22:05:45 +02:00
XhmikosR f0c6b24bd7 4.3.1. 2019-02-20 22:05:45 +02:00
Joshua Wilson fdbb5db919 minor jQuery.hasclass removal (#28158) 2019-02-20 22:05:45 +02:00
astrahov 62277bc58e Change breadcrumb item padding variable name (#28125) 2019-02-20 22:05:45 +02:00
Peter Blazejewicz cbd333185e Use consistent arrow class (#28105) 2019-02-20 22:05:45 +02:00
Emil Müller 049a500d18 Fixed Util.jQuery: window.$ is not reliable. Both Firefox and Chrome implements $ natively. 2019-02-20 22:05:45 +02:00
Johann-S c096e0e0da bump to 4.2.1 2019-02-20 22:05:45 +02:00
XhmikosR 709dcb98dd Convert offcanvas.js to vanilla JS. 2019-02-20 22:05:45 +02:00
XhmikosR e04a5139ab Fix anchors wrapper. 2019-02-20 22:05:45 +02:00
Johann-S 388d16360a use Util.makeArray in our docs 2019-02-20 22:05:45 +02:00
Johann-S 661db08eeb rewrite toast plugin without jquery 2019-02-20 22:05:45 +02:00
Johann-S 5e068eeda9 remove IE from our browserlist 2019-02-20 22:05:45 +02:00
Johann-S 57d50b2134 Improve manipulator coverage 2019-02-20 22:05:45 +02:00
Alessandro Chitolina 6cfc78f2d9 Remove IE support and button bsChecked hack 2019-02-20 22:05:45 +02:00
aTable e866b1ae43 v4 without jquery: updated button, carousel, collapse docs (#27173) 2019-02-20 22:05:45 +02:00
Johann-S a2f1d79045 Refactor util plugin and some tests 2019-02-20 22:05:45 +02:00
Johann-S 19b836c907 update alert documentation without jquery (#27062) 2019-02-20 22:05:45 +02:00
Johann-S c44db783bf chore(update): bump to 4.1.3 2019-02-20 22:05:45 +02:00
Johann-S cf821e1d4d fix(docs): remove jQuery from our docs 2019-02-20 22:05:45 +02:00
Johann-S 467dd113c5 fix(plugins): save instance in constructor 2019-02-20 22:05:45 +02:00
Johann-S 5dcca44fcf fix(visual-test): remove jquery in them 2019-02-20 22:05:45 +02:00
Johann-S 0b726de94e fix(carousel): on load page create a carousel 2019-02-20 22:05:45 +02:00
Johann-S 83cea3bafa fix(build): remove jquery in our build 2019-02-20 22:05:45 +02:00
Johann-S 6b0808354d fix(unit-test): dropdown, collapse and carousel 2019-02-20 22:05:45 +02:00
Johann-S 8010c010e9 fix(event-handler): use Object.key for passing values in an event 2019-02-20 22:05:45 +02:00
Johann-S a1cc9a6e33 fix(util): increase util coverage 2019-02-20 22:05:45 +02:00
Johann-S 096413a994 fix(selector-engine): increase coverage for selector engine 2019-02-20 22:05:45 +02:00
Johann-S 4510e7e61d fix(util): remove extend 2019-02-20 22:05:45 +02:00
Johann-S b4a3b00ac8 fix(event-handler): remove polyfill and move it to index 2019-02-20 22:05:45 +02:00
Johann-S fe580a8e5a fix(polyfill): disable coverage for our polyfills 2019-02-20 22:05:45 +02:00
Johann-S 64591b3722 fix(manipulator): increase coverage for manipulator 2019-02-20 22:05:45 +02:00
Johann-S 4d6e41dea6 refactor(polyfill): a file for polyfills 2019-02-20 22:05:45 +02:00
Johann-S 0b719e065c fix(data): increase coverage for data 2019-02-20 22:05:45 +02:00
Johann-S 9313446274 fix(event-handler): remove the use of our event handler in unit test 2019-02-20 22:05:45 +02:00
Johann-S 2b78078779 fix(data): do not use data object in our unit tests 2019-02-20 22:05:45 +02:00
Johann-S 7eddee286e remove old references to jquery and some fixes 2019-02-20 22:05:45 +02:00
Alessandro Chitolina 0263d1742c rewritten scrollspy without jquery 2019-02-20 22:05:45 +02:00
Johann-S 9744886519 upgrade to v4 stable 2019-02-20 22:05:45 +02:00
Alessandro Chitolina 7f08061eca rewritten tab without jquery 2019-02-20 22:05:45 +02:00
Johann-S 90261b484c Dropdown without jQuery 2019-02-20 22:05:45 +02:00
Johann-S 330a29734f fix chores karma 2019-02-20 22:05:45 +02:00
Johann-S 2ff8ed5cbf Fix new unit test in popover 2019-02-20 22:05:45 +02:00
Alessandro Chitolina ec69de4b7e allow register the same handler for different delegated selectors in eventHandler 2019-02-20 22:05:45 +02:00
Johann-S 99c3119c82 Return a new function with Util.noop 2019-02-20 22:05:45 +02:00
Johann-S b5077a1a81 fix one forgets of using jQuery in Carousel and Tooltip 2019-02-20 22:05:45 +02:00
Johann-S 2929bf9619 fix weird case with jQuery 2019-02-20 22:05:45 +02:00
Alessandro Chitolina cc6e130fc1 tooltip without jquery 2019-02-20 22:05:45 +02:00
Johann-S 7c1d0a1097 Wrap our objects into IIFE 2019-02-20 22:05:45 +02:00
Johann-S bcbea02886 fix unit test modal 2019-02-20 22:05:45 +02:00
Johann-S 69e4d4f3ac Rewrite Collapse without jQuery 2019-02-20 22:05:45 +02:00
Alessandro Chitolina 53ca76ebc0 Workaround for M$ Edge resetting defaultPrevented flag upon dispatchEvent 2019-02-20 22:05:45 +02:00
Alessandro Chitolina 33211eefdf Rewritten modal without jquery (#23955)
* Trigger jquery events if available in event handler

* Rewritten modal without jquery
2019-02-20 22:05:45 +02:00
Johann-S 9f9712b98c Add Manipulator object to add shortcuts for dom manipulations 2019-02-20 22:05:45 +02:00
Johann-S 44f38e4128 Rewrite carousel without jquery 2019-02-20 22:05:45 +02:00
Johann-S c5595e5b67 Add polyfill for focusin and focusout 2019-02-20 22:05:45 +02:00
XhmikosR aba87279fd button without jquery 2019-02-20 22:05:45 +02:00
Johann-S 47242cd0fe Fix delegation events 2019-02-20 22:05:45 +02:00
Johann-S 7d7873b6f2 Check jQuery version only if jQuery is available 2019-02-20 22:05:45 +02:00
Johann-S 6b5850212e Second element of find and findOne should be optional, not the first one 2019-02-20 22:05:45 +02:00
Johann-S b69fa9db95 Fix our data storage 2019-02-20 22:05:45 +02:00
Johann-S f2f69970eb Add findOne to our SelectorEngine 2019-02-20 22:05:45 +02:00
Johann-S 79144adb12 Fix detection of nativeEvents + trigger events with arguments 2019-02-20 22:05:45 +02:00
XhmikosR 3e8bc9d9ec Extend SelectorEngine.find() to include an element first arg.
If not supplied, it'll just use `document`.
2019-02-20 22:05:45 +02:00
Johann-S 3664d14908 fix declaration of alert jquery plugin only if jquery is available 2019-02-20 22:05:45 +02:00
Johann-S 4aef395e49 Disable ESlint on no-return-assign and temporary for arrow-body-style 2019-02-20 22:05:45 +02:00
Johann-S 2970d14dd9 Remove jQuery from alert.js and add .alert only if jQuery is available 2019-02-20 22:05:45 +02:00
Johann-S a3398fffd6 Add event delegation + fix EventHandler.one 2019-02-20 22:05:45 +02:00
Johann-S 00ca781171 Add namespaced events 2019-02-20 22:05:45 +02:00
Johann-S 744071040e Add CustomEvent polyfill and a working preventDefault for IE 2019-02-20 22:05:45 +02:00
Johann-S d6560bbc81 better polyfill for closest and matches functions 2019-02-20 22:05:45 +02:00
Johann-S 0b16c8c6d9 alert without jquery 2019-02-20 22:05:45 +02:00
Johann-S 8d34bc136b Move transition end detection to dom/event.js instead of util.js 2019-02-20 22:05:45 +02:00
Johann-S fb465c4745 Remove jQuery from Util.js
s
2019-02-20 22:05:45 +02:00
XhmikosR ececf644f4 Replace uglify-js with terser. (#27813) 2019-02-19 15:51:50 +02:00
Laussel Loïc 3a61df51d7 add tabindex="-1" and aria-disabled="true" on disabled links (#28305) 2019-02-19 15:42:08 +02:00
XhmikosR e4ec9dfe9c Use npm-run-all for the release script. (#28307)
It's shorter.
2019-02-19 14:35:19 +02:00
XhmikosR 4c87843d2d Update karma to ^4.0.0. 2019-02-19 12:23:37 +02:00
XhmikosR a4f260d0a8 Drop Node.js < 8 support.
Node.js 6 goes EOL on April 2019.
2019-02-19 12:23:37 +02:00
Steve Moser 3731f0d271 Remove --save option from npm i as it isn't required anymore (#28302)
As of npm 5.0.0, installed modules are added as a dependency by default, so the --save option is no longer needed. The other save options still exist and are listed in the documentation for npm install.
2019-02-19 12:05:54 +02:00
XhmikosR be380572fb Replace broken-link-checker with linkinator. (#28291)
Much lighter, more modern and cleaner codebase.
2019-02-19 11:36:34 +02:00
Patrick H. Lauke 4b00aa6c4e Remove incorrect aria-haspopup from dropdown toggles (#28299)
`aria-haspopup` use requires the use of an ARIA `menu`, `listbox`, `tree`, `grid` or `dialog` (see https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup)

in our use (as generic disclosure widgets), it's incorrect and sets up the wrong assumption/behavior from assistive technologies.

in future, we likely want to change our dropdowns to essentially be like a `dialog` - move focus to it when opened, possibly make it modal so focus is maintained inside it and the rest of the page
is hidden/inert.

but for now, removing the incorrect attribute is probably the quickest, most immediate fix.
2019-02-19 11:25:36 +02:00
Patrick H. Lauke 68a8af4a36 Update link to CONTRIBUTING.md in README.md (#28297)
since the former is not contained in the `.github` subdirectory
2019-02-19 11:13:00 +02:00
XhmikosR e04f393237 Update devDependencies. (#28292) 2019-02-19 11:00:11 +02:00
XhmikosR abec77a06b Update CONTRIBUTING.md for the current state of things. (#28283) 2019-02-19 11:00:11 +02:00
Martijn Cuppens 28a7abf0f7 Deprecate form-control-focus mixin (#28262) 2019-02-15 15:50:58 +02:00
XhmikosR 25ce91adc0 Update devDependencies. (#28271) 2019-02-15 15:38:24 +02:00
XhmikosR 974193a8da README.md: use shields.io for the OC badges. (#28280) 2019-02-15 14:34:05 +02:00
XhmikosR f0f846fc00 Replace 4.3.0 with 4.3.1 in nuget files. (#28273) 2019-02-15 12:09:20 +02:00
XhmikosR 9baf8537a7 Replace v4-dev with master after the branch change. (#28272) 2019-02-15 11:58:41 +02:00
XhmikosR ff29c1224c Update docs and meta for 3.4.1. (#28255) 2019-02-13 19:12:01 +02:00
XhmikosR 8fa0d30101 Release v4.3.1. (#28252) 2019-02-13 18:01:40 +02:00
XhmikosR dae20da750 Remove unneeded glob. (#28249)
Typo from 10b97f6.
2019-02-13 15:21:04 +02:00
XhmikosR 10b97f6ed9 Fix npm package contents 2019-02-13 08:32:15 +02:00
Johann-S 7bc4d2e0bc Add sanitize template option for tooltip/popover plugins. 2019-02-13 08:32:15 +02:00
Martijn Cuppens bf2515ae68 Update RFS to v8.0.1 (#28245)
Remove warning if RFS is included more than once.
2019-02-12 22:49:12 +01:00
Martijn Cuppens 45ced606f4 Update font size (#28232) 2019-02-12 09:38:42 +02:00
Mark Otto 1ded0d6a4e Release v4.3.0 (#28228)
* Prep for v4.3.0

* More updates for v4.3.0.

* rerun to build docs source map
2019-02-11 11:15:34 -08:00
XhmikosR 3aa0770b71 docs snippets: a few more minor tweaks (#28225)
* Remove extra comma.

* Use curly braces in snippet.
2019-02-11 11:34:02 +02:00
XhmikosR adf16da25e toasts.md: Remove useless divs.
Instead pass the class to the example include.
2019-02-11 08:54:17 +02:00
XhmikosR 2bfe581eeb Remove stray parameter from capture. 2019-02-11 08:54:17 +02:00
XhmikosR bbf8b768ef Cosmetic changes in snippets. 2019-02-11 08:54:17 +02:00
XhmikosR 7a9a8db7b1 docs: remove -ms-overflow-style: -ms-autohiding-scrollbar (#28220)
Similar to #28153
2019-02-10 22:13:13 +02:00
XhmikosR 24253b18e1 migration.md: use https. (#28221) 2019-02-10 22:05:16 +02:00
Martijn Cuppens 545f3fa921 Prevent text selection in placeholder images (#28218) 2019-02-09 14:21:41 +02:00
XhmikosR 94acdee691 Revert "Silence mkdir. (#28184)" (#28209)
This reverts commit 6ea000d2bc.

Unfortunately, it doesn't seem to work.
2019-02-09 13:20:02 +02:00
XhmikosR 6c7dcc6882 placeholder.svg: Partially revert the changes from c0e42cb. (#28216)
It broke the example include.
2019-02-09 13:10:29 +02:00
XhmikosR 1145365f6d Reword footer text. 2019-02-08 22:51:45 +02:00
XhmikosR bd328bf217 Use the site.repo variable. 2019-02-08 22:51:45 +02:00
XhmikosR a920429089 Change footer link to point to the docs team page 2019-02-08 22:51:45 +02:00
XhmikosR c56b10c147 Offcanvas example: transition the transform (#28203)
This is more efficient than transitioning the `left` property.
2019-02-08 18:08:40 +02:00
XhmikosR 52e6ce4512 Update devDependencies. (#28175) 2019-02-08 09:39:03 +02:00
Shohei Yoshida 93dec4c67c Fix scrollable modal snippet 2019-02-07 21:33:25 -08:00
Martijn Cuppens 51375abca5 Responsive font size implementation (#23816) 2019-02-07 23:32:05 +01:00
Shohei Yoshida d250567ce0 Remove -ms-autohiding-scrollbar to prevent overlapping the table content (#28153) 2019-02-07 19:52:23 +02:00
Martijn Cuppens 8b41cb1368 Optional btn & input font sizes (#28068) 2019-02-07 19:47:24 +02:00
Martijn Cuppens 2ee8ecedf4 Deprecate img-retina() mixin (#28072) 2019-02-07 19:33:57 +02:00
Martijn Cuppens bcfb7ed159 Deprecate invisible() mixin (#28066) 2019-02-07 19:19:00 +02:00
XhmikosR c0e42cb89e Optimize and normalize SVGs. (#28200)
Mostly be consistent with the attributes' order and improve compression when possible.
2019-02-07 15:01:25 +02:00
XhmikosR 00df9177fc Make ToC's entries' color darker.
The previous was too light.
2019-02-07 11:53:47 +02:00
XhmikosR 3473b77527 Remove unused selector. 2019-02-07 11:53:47 +02:00
XhmikosR f663a86810 approach.md: Remove stray comma. 2019-02-07 11:53:47 +02:00
XhmikosR 30ddcafb2d Rename Screenreaders to "Screen readers".
No redirect is added because the next version will be a minor version bump.
2019-02-07 11:53:47 +02:00
XhmikosR f0eb29cd5e Remove ToC from pages when we don't have (m)any headers. 2019-02-07 11:53:47 +02:00
Zachary Welch b647dd0565 Add map-name param to _assert-starts-at-zero (#24986)
* Add map-name param to _assert-starts-at-zero

* Set default value for backwards compatibility
2019-02-07 10:19:38 +01:00
João Lucas eb1313d213 Create border-top-left-radius and border-bottom-right-radius mixins (#28100)
* Create border-top-left-radius mixin
* Create border-bottom-right-radius mixin
2019-02-07 09:02:05 +01:00
Martijn Cuppens 311d6dab68 Deprecate size mixin (#28067) 2019-02-07 08:21:47 +01:00
Martijn Cuppens 8f4f201424 Fix .nav-justified example (#28193) 2019-02-06 23:44:44 +02:00
Bardi Harborow b5fb4f7d6b Add text-decoration to .btn-link. (#28169) 2019-02-06 22:33:03 +01:00
Patrick H. Lauke b4cb48d9f3 Remove outdated reference to not-allowed cursor (#28188)
as this styling was removed back in https://github.com/twbs/bootstrap/commit/7056f702408a97f01cb32bc6075d88ec27cdcf52
2019-02-06 17:12:11 +02:00
Johann-S b54ddfda83 fix modal test to be sure we call getTransitionDurationFromElement 2019-02-06 15:01:13 +01:00
Johann-S 3c49467224 allow to override default toast options (#28186) 2019-02-06 15:19:04 +02:00
Martijn Cuppens 58470c0ac5 Fix text break in Firefox (#28063) 2019-02-06 12:38:13 +02:00
XhmikosR 6ea000d2bc Silence mkdir. (#28184)
This can fail if run in parallel.
2019-02-06 12:22:49 +02:00
Johann-S 11880109fc fix tabs, apply show class only when fade class is present (#28183) 2019-02-06 11:12:02 +01:00
XhmikosR 8217499640 carousel.md: Highlight the whole example for consistency. 2019-02-06 11:47:31 +02:00
XhmikosR c1ea5ac49a docs license header: split sentence in period. 2019-02-06 11:47:31 +02:00
XhmikosR 1131705f14 Add missing trailing slash. 2019-02-06 11:47:31 +02:00
Jason Golieb e44d0475e0 Move dropdown offset function logic into private function. (#28138) 2019-02-05 10:31:18 +02:00
XhmikosR 1139f62ca2 Adjust bundlesize limits. 2019-02-05 10:24:49 +02:00
Jason Golieb 8f6cffde97 Move offset function logic to a private function. 2019-02-05 10:24:49 +02:00
Jason Golieb 88a34aacbe Add support for tooltip offset option to be a function. 2019-02-05 10:24:49 +02:00
XhmikosR 1accd37aa0 examples: remove JS from blog and sticky footer. (#28173)
They don't use it.
2019-02-04 23:42:23 +02:00
Martijn Cuppens d4e782efab Fix dropdown radius if $dropdown-padding-y is not 0 (#28127) 2019-02-03 23:07:16 +02:00
Ryan Worth 1275e35336 Fix negative margin example (#28140)
Negative margin example wasn't displaying correctly due to border and background styling being applied directly to the `.col` element. Made a child element and applied the styling to it
2019-02-03 22:58:54 +02:00
Martijn Cuppens cbaf0c3f7c Change logo size (#28163) 2019-02-03 17:52:36 +02:00
XhmikosR f134d4ba01 components: redirect to the alerts page (#28147) 2019-01-30 21:52:42 +02:00
XhmikosR a60c595dc1 image-replacement.md: use three dots. 2019-01-29 17:21:11 +02:00
XhmikosR be5d3de1d6 Add missing trailing slash. 2019-01-29 17:21:11 +02:00
XhmikosR a93c71832b generate-sri.js: move object. 2019-01-29 17:21:11 +02:00
XhmikosR ffe05d3a9c analytics.html: use double quotes in src attribute. 2019-01-29 17:21:11 +02:00
XhmikosR 2adefeb055 build-tools.md: npm is written lowercase. 2019-01-29 17:21:11 +02:00
XhmikosR 4bec752345 migration.md: remove stray /. 2019-01-29 17:21:11 +02:00
Shohei Yoshida e65dccfc95 Fix custom select caret issue on IE (#28112) 2019-01-25 21:09:21 +01:00
Shohei Yoshida 0f8f84329b Fix validated custom select bg color (#28119) 2019-01-25 20:44:52 +01:00
Martijn Cuppens 6466a0461a Deprecate float mixins (#28104) 2019-01-24 22:51:36 +02:00
Martijn Cuppens 2749bf34de Add !important to .text-monospace utility class (#28064) 2019-01-24 22:42:42 +02:00
XhmikosR 3723613875 Update devDependencies and gems. (#28094) 2019-01-24 21:25:49 +02:00
Martijn Cuppens dfba588d0d Add default value for $ignore-warning (#28103) 2019-01-23 05:59:15 +02:00
Martijn Cuppens 5c56e9adff Add deprecate() mixin (#28092) 2019-01-22 20:55:23 +01:00
XhmikosR f7e8445f72 Add canonical URL. (#28093) 2019-01-21 14:59:51 +02:00
XhmikosR cf25028640 Fix approach redirect. (#28095) 2019-01-21 14:49:55 +02:00
Martijn Cuppens 59d040fcbb Make component colors configurable (#28035) 2019-01-20 23:38:29 +02:00
Shohei Yoshida de0bb1e052 Scrollable modal (#27769) 2019-01-20 23:28:16 +02:00
Martijn Cuppens 41f85b64bf Add ref to reason why min-width: 0; is added (#28061) 2019-01-20 23:23:05 +02:00
Johann-S 842da1ddc3 use absolute path to output lcov file for coveralls (#28075) 2019-01-17 11:06:43 +01:00
XhmikosR 3aeda9942d tests: use jQuery from node_modules. (#28059) 2019-01-15 18:01:40 +02:00
XhmikosR 0828b88563 Fix js-main script. (#28057) 2019-01-15 17:30:21 +02:00
Martijn Cuppens f1f740be09 Make progress animation respect $enable-transitions and prefers-reduced-motion media query
Make progress animation respect `$enable-transitions` and `prefers-reduced-motion` media query
2019-01-15 00:51:11 +00:00
Laussel Loïc 8eb8b8d3da Examples: add tabindex="-1" and aria-disabled="true" on disabled links 2019-01-14 23:29:51 +00:00
XhmikosR e2a6f297c0 Clean up .gitignore. (#28050) 2019-01-14 21:08:24 +02:00
Johann-S d51ee0dcf1 Fix Carousel's touch option to not add touch listeners when set to false (#28046) 2019-01-14 18:53:54 +02:00
Martijn Cuppens 3d350c3b34 Remove map-merge (#28033) 2019-01-13 16:35:00 -08:00
Martijn Cuppens d546cb8374 Cleanup popover arrows (#28008) 2019-01-13 16:29:37 -08:00
Martijn Cuppens 70f50f3079 Sync dropdown font size to base font size 2019-01-13 16:27:40 -08:00
Martijn Cuppens e57cdee6bc Sync dropdown font size with btn font size 2019-01-13 16:27:40 -08:00
Martijn Cuppens fd98e77cac Remove background from nested tables 2019-01-13 16:26:56 -08:00
Martijn Cuppens 93272f45f3 Add some margin below the buttons 2019-01-13 16:24:36 -08:00
Martijn Cuppens d09bd2e629 Fix background size y 2019-01-13 16:24:01 -08:00
Martijn Cuppens e2ac792bc7 Minify background property 2019-01-13 16:24:01 -08:00
Martijn Cuppens 50492b8840 Combine background properties into one 2019-01-13 16:23:32 -08:00
Martijn Cuppens 8db577bd51 Prevent useless property rendering 2019-01-13 16:22:25 -08:00
Martijn Cuppens 4b839b1c87 Don't render a background by default 2019-01-13 16:21:57 -08:00
Martijn Cuppens 5adcfe97f0 Prevent rendering of color property by default 2019-01-13 16:21:16 -08:00
Martijn Cuppens cd4964f345 Change comment heading title to Typography (#28032) 2019-01-14 01:59:51 +02:00
Martijn Cuppens b3226c1ccc Align toast variables (#28041) 2019-01-14 01:51:53 +02:00
Justin 8f5abf0ab0 Add new rounded sizes classes (#28011)
* update border-radius mixins

Add $enable-rounded as a keyword argument to border-raidus mixins

* Update rounded classes

- use border-radius mixins to repleace !important
- use true for $enable-rounded for rounded classes
- Add `.rounded-sm` and `.rounded-sm`  #27934

* update borders docs

* Revert touch of dist files

* Revert change of border-radius mixins

* use !important in border-radius utilies classes

* update border radius classes keep only rounded-lg and rounded-sm
2019-01-13 11:49:25 -08:00
Martijn Cuppens fd4d426e51 Change default custom select styles (#28027) 2019-01-13 09:52:46 +02:00
Martijn Cuppens e077ddbc6c Prevent wrapping if caret is included (#28029) 2019-01-13 09:43:52 +02:00
Mark Otto deea117293 Add form-validation-states Sass map (#27999) 2019-01-11 21:16:50 +02:00
Miha Eržen fd9dc1a0ca Fix input-height-inner wrongly calculated (#28018)
In a scenario where `$input-line-height` or `$input-font-size` are different than `$input-btn-line-height` and `$input-btn-font-size` the final `$input-height-inner` was wrongly calculated.
2019-01-11 14:22:14 +02:00
XhmikosR 746a057f0c Update devDependencies. (#28016) 2019-01-10 15:56:54 +02:00
XhmikosR ff4c35f566 Tighten bundlesize limits. (#28012) 2019-01-10 09:03:16 +02:00
Mark Otto 39b76861a7 npm run test to build dist files 2019-01-08 21:23:50 +02:00
XhmikosR 0e5d387f04 Examples: use {{ site.time | date: "%Y" }}.
Since they are being build, no point in hardcoding the year.
2019-01-08 21:23:50 +02:00
XhmikosR f11f56558b Bump copyright year to 2019. 2019-01-08 21:23:50 +02:00
wojtask9 46f34fd131 remove redundant loop from list-group-horizontal (#28005) 2019-01-08 20:18:36 +02:00
wojtask9 5dcf7cd3b7 box-shadow mixin fix (#28004) 2019-01-08 19:42:28 +02:00
Shohei Yoshida dc436427e9 Move z-index to .list-group-item-action and remove redundant text-decoration: none (#27996) 2019-01-08 06:59:49 +02:00
Martijn Cuppens 48fe2c23d3 Space fixes (#27997) 2019-01-08 06:46:29 +02:00
XhmikosR b23241480a Enable cache for stylelint. 2019-01-07 19:15:06 +02:00
XhmikosR 1213d06b2f Enable cache for ESLint. 2019-01-07 19:15:06 +02:00
XhmikosR cdece35bde Update devDependencies and gems. (#27981) 2019-01-07 18:57:52 +02:00
Martijn Cuppens 68062cfe60 Allow configuration of caret spacing and vertical alignment (#27994) 2019-01-07 18:28:21 +02:00
Martijn Cuppens 2b96e9adf1 remove screen from media query (#27985) 2019-01-07 18:18:43 +02:00
文翼 87cd64e3bf docs: use the twitter Jekyll variable everywhere (#27990) 2019-01-07 18:09:34 +02:00
Martijn Cuppens 8305114ab3 Blog example IE fix & minor tweaks (#27933) 2019-01-07 03:21:53 +02:00
Shohei Yoshida 92cc5a70d3 Fix incorrect responsive alignment of dropdown menu (#27873) 2019-01-07 03:12:51 +02:00
Vishnuprasad Venugopal ea9129c8ae fix border issue for nested card inside accordions (#27881) 2019-01-07 03:06:37 +02:00
Mark Otto e6b1eefc73 Add horizontal list group modifier (#27970)
Alternate take to #27683 that builds the modifier class based on min-width, such that list groups are stacked until the class's breakpoint is reached. This is less verbose, matches our primary responsive approach, and prevents an extra class. Unfortunately, I believe supporting flush list groups is too much code here, so I've skipped that and made a note in the docs.

Also added examples generate from our breakpoints data file with a protip for how to do equal width items.
2019-01-07 03:01:36 +02:00
wojtask9 42bed436e8 take account 'none' for box-shadow (#27972) 2019-01-07 02:52:39 +02:00
Martijn Cuppens cbc8a7273a Sync custom select focus state with custom control focus state 2019-01-07 02:48:04 +02:00
XhmikosR 849067d763 README.md: fix redirect. 2019-01-06 17:22:51 +02:00
XhmikosR d1067d7c35 Switch to our Stylelint config. (#27974) 2019-01-05 20:59:44 +02:00
XhmikosR f21b5f9e98 Remove unneeded stylelint disables. 2019-01-05 20:50:07 +02:00
XhmikosR fcb034828f stylelint: no need to specify syntax.
This speeds things up a bit because we don't spawn a new instance.
2019-01-05 20:02:00 +02:00
Martijn Cuppens 75ec03c2ab Run linters in parallel
This should speed up things a bit
2019-01-05 20:02:00 +02:00
XhmikosR 47610b0f8b Update postcss-cli to v6.1.1. 2019-01-05 00:36:31 +02:00
Mark Otto 1488a83b13 latest changes 2019-01-04 08:29:45 -08:00
Johann-S 89a73f100e carousel should not cycle when there is no data-ride on init (#27968) 2019-01-04 18:15:01 +02:00
XhmikosR d4b5b4b78c Update devDependencies and gems. 2019-01-04 14:22:23 +02:00
Mark Otto b478234cba Add note to the summary of important changes 2019-01-04 11:53:32 +02:00
Martijn Cuppens e1b990fb90 Move hand cursor for buttons to reboot 2019-01-04 11:53:32 +02:00
Martijn Cuppens 83dc45b31b Prevent select word wrap in Safari (#27932) 2019-01-04 11:40:10 +02:00
Florian Lacreuse c71b291cd9 Remove unnecessary brackets for consistency (#27966) 2019-01-03 20:59:18 +02:00
sabruss 6813653bb1 Fix Typo on docs (#27962) 2019-01-02 18:33:52 +02:00
XhmikosR bec34acbbe Add a few more redirects. 2018-12-31 02:20:08 +02:00
Martijn Cuppens e7336e7d7f Remove wrapping paragraph in readme (#27948) 2018-12-29 18:40:56 +02:00
Martijn Cuppens c0dfda964f Configurable display utility classes (#27917) 2018-12-29 04:54:58 +02:00
Martijn Cuppens 952374654c Fix custom select font sizes (#27929) 2018-12-29 04:44:35 +02:00
Martijn Cuppens 8eef162c44 Match input font size for .input-group-text (#27941) 2018-12-28 23:18:10 +02:00
XhmikosR ee09d96628 reboot: Fix comment (#27937) 2018-12-28 00:48:51 +02:00
Martijn Cuppens 8bf823e22d Fix form-feedback-icon-invalid color (#27935) 2018-12-27 23:05:29 +02:00
XhmikosR 501e8c0837 toasts: mention that positioning is manual. (#27931) 2018-12-27 21:41:14 +02:00
XhmikosR dc17c924e8 stretched-link.md: fix typo (#27918) 2018-12-24 16:34:30 +02:00
Martijn Cuppens 4a5217c4c7 Add Open Collective to header (#27916) 2018-12-23 22:24:25 +02:00
Mark Otto e4fe18e426 Add horizontal card example (#27906) 2018-12-23 15:00:51 +02:00
Johann-S 3bd9fb3649 getSelectorFromElement return null on bad selectors (#27912) 2018-12-23 14:30:35 +02:00
XhmikosR 7d5cb2df3a versions: sort from newer to older. (#27898) 2018-12-23 14:12:13 +02:00
XhmikosR 3c88ed7069 Fix 4:3 embed (#27910) 2018-12-23 13:58:58 +02:00
Martijn Cuppens 81e35985b8 Simplify card group css (#27901) 2018-12-23 09:19:07 +02:00
Martijn Cuppens 39b14c9806 Blacklist border-radius property (use mixin instead) (#27900) 2018-12-23 09:11:11 +02:00
Mark Otto 6a5a1b073d move to 4.2 2018-12-22 22:20:26 -08:00
XhmikosR de7a38250b Merge branch 'v4-dev' into stretched-link 2018-12-23 00:30:55 +02:00
XhmikosR 46f86df0bb bootstrap-stack.svg: remove unneeded space. 2018-12-22 23:54:21 +02:00
XhmikosR 3bdb363495 Remove obsolete redirects in examples. (#27897) 2018-12-22 22:07:37 +02:00
XhmikosR 74987d9591 Add two new meta tags for Algolia (#27902) 2018-12-22 21:58:06 +02:00
XhmikosR 74a2d93517 Merge branch 'v4-dev' into stretched-link 2018-12-22 18:32:28 +02:00
Jesse Mandel dee3ab427c Update nuspec and build script (#27894)
Update nuspec and build script to support `<license />` instead of the deprecated `<licenseUrl />`
2018-12-22 17:09:51 +02:00
Mark Otto f0e5cc3f41 Add a notes about multiple links/targets, remove multiple link example 2018-12-21 21:10:40 -08:00
XhmikosR 2dda0a22e4 Update devDependencies and gems. 2018-12-21 21:07:48 -08:00
Mark Otto 15be9d3277 Add variable for dropdown-divider-margin-y (#27857)
* Add variable for dropdown-divider-margin-y

For us to reassign the nav-divider-margin-y variable here, we have to rearrange some of the variables.

Fixes #26660.

* bump bundlesize
2018-12-21 20:59:40 -08:00
Mark Otto a8b0fabf0a Merge branch 'table-dark-colors' into v4-dev 2018-12-21 15:36:09 -08:00
Mark Otto d51b408d0f Merge branch 'text-break-util' into v4-dev 2018-12-21 15:35:55 -08:00
Mark Otto 2162cb1806 dist 2018-12-21 15:35:15 -08:00
Mark Otto fca7531897 Merge branch 'table-dark-colors' into v4-dev 2018-12-21 14:49:11 -08:00
Mark Otto cdcfd3b1e8 Merge branch 'text-break-util' into v4-dev 2018-12-21 14:47:52 -08:00
ysds 27d691c64c Prevent unnecessary css when $emphasized-link-hover-darken-percentage is 0 or 0% 2018-12-21 14:46:20 -08:00
Martijn Cuppens 20f49143fc Sync modal header & footer border colors with $border-color 2018-12-21 13:56:44 -08:00
Martijn Cuppens 8bc118acce Sync $table-border-color with $border-color 2018-12-21 13:56:11 -08:00
Shohei Yoshida cda3301d08 Use border-radius() mixin for toast 2018-12-21 13:55:44 -08:00
Martijn Cuppens fc841b0ceb #27135: themed link focus state & selector improvement (#27136) 2018-12-21 13:55:05 -08:00
Sam Tape 9d3930b6dd Apply arrow styles to direct descendants of bootstrap popover classes
With the current styles, it is not possible to nest a popover inside of
another popover if they have different placements because the arrow
styles of the parent popover will conflict with the arrow styles of the
child popover.
2018-12-21 13:54:29 -08:00
Mark Otto f6abb4976f Prevent checks from shrinking in inline forms (#27870)
Fixes #25336
2018-12-21 13:52:02 -08:00
Mark Otto 2e1d0fed00 Add table-hover-color variables (#27850)
* Add table-hover-color variables
Fixes #26465

* Put $table-color to use outside _variables.scss
2018-12-21 13:51:38 -08:00
Mark Otto 1449d041c8 Merge branch 'validation-support-list' into v4-dev 2018-12-21 13:48:53 -08:00
Mark Otto d9712b7bcd Merge branch 'table-hover-colors' into v4-dev 2018-12-21 13:48:44 -08:00
Mark Otto 3b843c37c1 Merge branch 'grid-vertical-alignment-ie-warning' into v4-dev 2018-12-21 13:48:19 -08:00
Mark Otto 9e4e94747b Bump to v4.2.1 (#27892) 2018-12-21 10:55:28 -08:00
XhmikosR d50ed9a2bd Update README.md 2018-12-21 09:03:29 -08:00
Martijn Cuppens 680f40c7cb Add 4.1 to previous releases 2018-12-21 09:03:29 -08:00
XhmikosR c5bd6a11f6 Update webpack.md 2018-12-21 09:03:29 -08:00
XhmikosR 140abf4c3d Remove unneeded redirects. 2018-12-21 09:03:29 -08:00
XhmikosR 1bded2ffcd Update docs-navbar.html 2018-12-21 09:03:29 -08:00
Mark Otto eda851ee76 Prep for v4.2.0 release
- Move 4.1 docs to 4.2
- Update versions everywhere to 4.1.3 with release script
- Manually bump the shorthand version in package.json
- Add 4.2 to the versions docs page
- Update some redirects
- Fix tests asset URLs
- Bump Nuget and more
2018-12-21 09:03:29 -08:00
Florian Lacreuse 2c0cd7d2ed Remove dead link entry for translations. (#27891) 2018-12-21 17:54:40 +02:00
jess 12c4d3c248 README.md: Add Open Collective (#27864) 2018-12-18 01:23:48 +02:00
Mark Otto f7bf353cdc Add docs for .text-break 2018-12-17 09:58:18 -08:00
Martijn Cuppens 353c8b4376 Update scss/utilities/_text.scss
Co-Authored-By: mdo <otto@github.com>
2018-12-17 09:48:06 -08:00
XhmikosR 901761a34b Merge branch 'v4-dev' into table-dark-colors 2018-12-17 00:20:56 +02:00
Mark Otto 540537c481 Add new .text-break utility for applying word-break: break-word 2018-12-16 13:23:33 -08:00
XhmikosR 1960a52889 List v3.4.0 in versions page. (#27860) 2018-12-16 20:05:29 +02:00
XhmikosR 07b4b5907b Revert "Remove now unnecessary shrink-to-fit viewport directive (#27818)" (#27855)
This reverts commit af484dc12c.
2018-12-16 16:39:48 +02:00
Florian Lacreuse 8ee2065d16 Update grid doc for consistent use of container. (#27776) 2018-12-16 14:55:46 +02:00
Martijn Cuppens dac464a5b8 Use theme-color function for colors (#27848) 2018-12-16 01:59:16 +02:00
Mark Otto ee72e7838d dist 2018-12-16 01:33:05 +02:00
Mark Otto 4ad7ba7b23 List out what's supported in validation styles
Fixes #27169
2018-12-15 14:25:40 -08:00
Mark Otto 3b42a9ec5b Add table-hover-color variables
Fixes #26465
2018-12-15 14:01:09 -08:00
Mark Otto 9d05cc25cb Fixes #26468: Mention min-height issue in IE10/11 for flexbox vertical alignment 2018-12-15 13:51:20 -08:00
Mark Otto 236c7803cb Update site/docs/4.1/utilities/stretched-link.md
Co-Authored-By: MartijnCuppens <martijn.cuppens@gmail.com>
2018-12-15 20:18:55 +01:00
Mark Otto 470145bdca Update site/docs/4.1/utilities/stretched-link.md
Co-Authored-By: MartijnCuppens <martijn.cuppens@gmail.com>
2018-12-15 20:17:45 +01:00
Mark Otto 210d49ec05 Update site/docs/4.1/utilities/stretched-link.md
Co-Authored-By: MartijnCuppens <martijn.cuppens@gmail.com>
2018-12-15 20:15:03 +01:00
Mark Otto abd5a5e4bd Copy change
Co-Authored-By: MartijnCuppens <martijn.cuppens@gmail.com>
2018-12-15 20:14:42 +01:00
Mark Otto 35caac013c Copy change
Co-Authored-By: MartijnCuppens <martijn.cuppens@gmail.com>
2018-12-15 20:14:05 +01:00
Mark Otto f50f6e0355 Match .table-dark background-color to the -dark variable 2018-12-15 10:15:52 -08:00
XhmikosR ffd3402a92 Link to v3.4 docs (#27842) 2018-12-15 08:49:00 +02:00
Patrick H. Lauke af484dc12c Remove now unnecessary shrink-to-fit viewport directive (#27818)
`shrink-to-fit=no` is not needed anymore - Apple removed the need for it from iOS9.3 onwards

See https://www.scottohara.me/blog/2018/12/11/shrink-to-fit.html and https://github.com/h5bp/html5-boilerplate/issues/2102
2018-12-15 01:05:49 +00:00
ChrissBott b5b4f83cdb Fix typo in "Hiding elements" section (#27843) 2018-12-14 17:07:44 +00:00
Martijn Cuppens 502b6c8ed6 Remove redundant brackets (#27768) 2018-12-14 17:54:44 +01:00
Florian Lacreuse 1dc42a3373 Add missing parameter to grid mixins. (#27841) 2018-12-14 18:30:12 +02:00
Gijs Boddeus 26c5595164 Custom switch form control gutter fix (#27837) 2018-12-14 16:22:19 +02:00
Gijs Boddeus c618f67187 Actual gutter definition (#27797) 2018-12-14 03:04:10 +02:00
Johann-S af60644d2f integration test to be sure bootstrap can be bundled 2018-12-14 02:08:18 +02:00
XhmikosR db31ee1ea2 Remove the unused gcp-key.json.enc file. 2018-12-14 00:54:20 +02:00
XhmikosR a074cb66d7 Make use of the package.json version_short property more. 2018-12-14 00:34:38 +02:00
Patrick H. Lauke c031584bcd SVG accessibility fixes (#27826)
* SVG accessibility fixes

- add `focusable="false"` to all SVGs, to stop IE from including the `<svg>` in its default focus cycle
- completely hide decorative SVGs using `aria-hidden="true"`
- add `role="img"` to meaningful/"content" SVGs, ensure they have an appropriate `<title>` and/or `aria-label`
- simplify placeholder default title

* Simplify usage of placeholder.svg in the docs

- in most cases, no need for separate/redundant text and title (now that we make text itself part of the alternative text explicitly)
- no need (expect in rare cirumstances) to describe the placeholder image (unless the look of the image is important/the actual content, as is the case with the image thumbnail class)

* Simplify example.html rewriting of <svg> to <img> code sample

- as the `alt` for the placeholder isn't really important, just add an ellipsis instead (otherwise, to be correct, we'd have to construct the whole "title+text" construct like we do now in the
placeholder.svg itself

* Change svgo configuration to retain role attribute and add/force focusable=false

- regarding `focusable=false`, see https://github.com/svg/svgo/issues/1011 (which would be the "proper" SVGO fix) and the (hacky) solution https://github.com/svg/svgo/pull/817
2018-12-13 13:09:47 +00:00
Patrick H. Lauke 375d137561 Docs: add note about the grays being "cool" (#27824) 2018-12-12 21:55:20 +02:00
Patrick H. Lauke f3fc973dd9 Remove now unnecessary -ms-viewport and -ms-overflow-style directives (#27789)
Edge/Mobile appears to have moved support for `-ms-viewport` behind a flag at some point, instead supporting meta viewport directives.
Removing this altogether also fixes issues in IE11 on high-dpi displays - see https://github.com/twbs/bootstrap/issues/21780
2018-12-12 21:24:47 +02:00
Gijs Boddeus 180a06eeb7 Add switch custom form control (#23004) 2018-12-12 15:28:25 +02:00
Martijn Cuppens dbadf24bb3 Fix margin above toast when previous toast is hidden (#27820) 2018-12-12 14:23:10 +01:00
unaccomplished 0a55c7a8f6 Update Scrollspy doc to include missing method options (#27754) 2018-12-11 10:27:04 +02:00
XhmikosR 3100a3a95e Update bs-custom-file-input to v1.3.1. 2018-12-10 17:19:30 +02:00
XhmikosR 60eeef5ddc Update clipboard.js to v2.0.4. 2018-12-10 17:19:30 +02:00
XhmikosR 10d4e7f43d Update glyphicons URL. 2018-12-10 12:27:27 +02:00
Johann-S 1f4d7903db fix fade animation for toast 2018-12-10 10:38:11 +01:00
Mike Vastola fc15c4c4ce Change button checkbox/radios to ignore hidden input fields (#27802) 2018-12-10 10:40:08 +02:00
XhmikosR 385ce1c961 Update devDependencies. (#27806) 2018-12-10 10:34:30 +02:00
Patrick H. Lauke c70b043a76 Remove nonsensical boolean check (#27787)
...as it always evaluates to true
2018-12-06 13:30:12 +02:00
Johann-S fa03289d13 avoid console call in our unit tests (#27790) 2018-12-06 10:51:35 +02:00
XhmikosR 947f749e23 Update devDependencies. (#27764) 2018-12-06 08:34:35 +02:00
Gijs Rogé 3fbbe1bd35 Replaced fixed 'bolder' font weight value in reboot with variable. (#27782)
The default font weight value for <strong> <br> in reboot was
set by a fixed value we now use the variable $font-weight-bolder
to let users override this value.
2018-12-06 08:21:18 +02:00
Patrick H. Lauke 903e242650 Make disabled link in card examples non-focusable and add aria-disabled (#27788) 2018-12-06 08:16:22 +02:00
Patrick H. Lauke 6c00dd08bc Add aria-modal to modals (#27780)
Dynamically set/remove `aria-modal="true"` when a modal is shown/hidden
2018-12-05 20:58:09 +02:00
Jacob Müller 8fb6e84fa0 Make form grid gutter width configurable (#27766) 2018-12-05 17:15:24 +02:00
Johann-S b16127fc10 Allow Tooltips/Popovers to work in shadow DOM 2018-12-05 16:02:59 +01:00
Shohei Yoshida 850d99bb13 Add quotes according to the stylelint rule (#27771) 2018-12-05 12:40:59 +01:00
Johann-S 37f74c7070 fix regression about using element for tooltip container option 2018-12-05 10:57:02 +01:00
XhmikosR e184c11618 Merge branch 'v4-dev' into stretched-link 2018-12-05 11:38:55 +02:00
Martijn Cuppens 3007d4b435 Stretched link 2018-12-04 21:22:12 +01:00
acidrums4 1a171b80ab Remove double 'the' in comment (#27767) 2018-12-04 20:14:23 +01:00
Shohei Yoshida e9ec5e7392 spinners: use .sr-only instead of text-hide technique (#27736) 2018-12-04 08:02:49 +02:00
XhmikosR a2d0e78b44 Update contents.md 2018-11-29 10:59:06 +02:00
XhmikosR 8d81226a8e Remove no_toc_section. 2018-11-28 21:09:50 +02:00
XhmikosR 24eb9a75e9 Revert "Use h5 for callouts so that they are not included in ToC."
This reverts commit 11da160114.

This is no longer needed with jekyll-toc 0.9.1.
2018-11-28 21:09:50 +02:00
toshimaru 0b96d62fb3 Configure multiple no_toc_section classes 2018-11-28 21:09:50 +02:00
XhmikosR 698ccb4923 Update jekyll-toc to v0.9.1. 2018-11-28 21:09:50 +02:00
XhmikosR 8bfabdd1dc .eslintignore: Remove unneeded entry. 2018-11-28 14:33:29 +02:00
XhmikosR 7492c12089 Remove unneeded ESLint config file.
We have /site/.eslintrc.json that covers this.
2018-11-28 14:33:29 +02:00
XhmikosR 05dfae3146 Revert "build/*.js: set sourceType to module."
This reverts commit b442ce3130.
2018-11-28 14:33:29 +02:00
XhmikosR 11da160114 Use h5 for callouts so that they are not included in ToC.
Callouts are already excluded from ToC, but due to a limitation in jekyll-toc they are still being included.

We should revisit this if the bug is fixed later.
2018-11-27 16:01:07 +02:00
XhmikosR cb2b21bb88 Inline bootstrap-stack.svg.
It's pretty small compressed; a little less than 1 KB with gzip.
2018-11-27 15:37:24 +02:00
XhmikosR 89876a5559 Use an SVG for the stack image.
Image by @mdo.
2018-11-27 15:37:24 +02:00
XhmikosR b4f7b34b1e Move examples images in assets/img/examples/ folder. 2018-11-27 15:37:24 +02:00
XhmikosR 4ad19f6f52 Use srcset for examples too. 2018-11-27 15:37:24 +02:00
XhmikosR d5279bf18c homepage: use srcset.
This should reduce the amount of bytes for non-2x displays.
2018-11-27 15:37:24 +02:00
Christian Oliff fcfa436a31 Update migration page to indicate the info can be used for 4.1.x as well as 4.0.x 2018-11-26 22:46:09 +02:00
XhmikosR 7b274d358b Update package-lock.json. 2018-11-26 22:22:05 +02:00
Christian Oliff 7a907ae09e Change OS X to macOS in Sass comments (#27729)
It's been macOS for 3 years now and we use just 'macOS' elsewhere in the Bootstrap documentation.
https://en.wikipedia.org/wiki/MacOS
2018-11-26 14:57:33 +00:00
Johann-S 32ab52ba2e Add test to make sure we enforce focus on modal (#27723) 2018-11-25 18:20:55 +02:00
XhmikosR 72bd3f5930 ship.sh: add missing period. 2018-11-25 14:50:32 +02:00
ysds 9f08f7dea6 Grow button width to the parent button group (#27717) 2018-11-25 12:05:31 +01:00
XhmikosR 5c336d0247 Dist 2018-11-25 11:46:37 +02:00
XhmikosR fdc5c1f49a Update devDependencies. 2018-11-25 11:46:37 +02:00
m5o c9157be574 prevent text selection for floating labels example (#27719)
* prevent text selection for floating labels
  * expand the click target by no selecting the label text
* use `pointer-events: none;` instead of `user-select`
  * thx @MartijnCuppens
2018-11-24 13:25:18 +01:00
Martijn Cuppens 28a972ac9f Add opacity transition 2018-11-23 15:28:39 +02:00
XhmikosR 0c60257114 Revert "Replace anchor.js with jekyll-anchor-headings."
This reverts commit b04f97f60b.
2018-11-23 15:28:39 +02:00
ysds 0140552322 Fix body scrolling issue when modal open (#27698) 2018-11-23 13:41:42 +01:00
Pixelastic 3e25bf403a Update DocSearch.js to latest version
The latest (2.6.2) docsearch.js version now displays results as standard `<a href>` links, allowing users to `ctrl`-click on them to trigger default browser behavior of opening in a new tab.

To maintain backward compatibility, this behavior has only been enabled to users that didn't define their own `handleSelected` method.

This PR updates your `docsearch()` code to take advantage of the new `<a href>` template, by removing your custom `handleSelected` and moving its behavior to the `transformData` call. Namely, what you wanted to avoid was jumping to the first `<h1>` of the pages, which would prevent users from seeing the header. This PR checks if the suggestion targets the `#content` anchor (meaning it goes to this first `<h1>`) and remove it.

Behavior should be the same, but at least now you can enjoy the `ctrl`-click :)
2018-11-22 17:38:27 +02:00
XhmikosR 8a7ed6047b Update devDependencies. 2018-11-22 11:15:21 +02:00
ysds b6e616a70f Fixed a fixed height issue of input-group size option (#27687) 2018-11-22 10:29:33 +02:00
Roy Klutman e7e43edf65 Add border-radius to dropdown items (#27703) 2018-11-22 00:24:13 +02:00
m5o 31d6d03c47 Placeholders: use our gray colors (#27701)
Previously we were using the old holder.js colors.
2018-11-21 20:59:21 +02:00
Martijn Cuppens 58943c0257 Sass precision documentation (#27705) 2018-11-21 20:51:47 +02:00
XhmikosR 73a98d9738 reboot: Fix mailto address (#27700) 2018-11-21 15:24:38 +02:00
XhmikosR 487bd521e3 docs: fix path to assets. (#27696) 2018-11-21 15:11:31 +02:00
Martijn Cuppens c628921465 Use wrapping span instead of div (#27695) 2018-11-20 21:53:10 +02:00
XhmikosR 749c8230c7 docs-sidebar.html: remove commented out code.
Leftover from old times.
2018-11-20 21:31:28 +02:00
XhmikosR d9717d1945 Reindent. 2018-11-20 21:31:28 +02:00
XhmikosR 2b9af5e38c Remove holder.js. 2018-11-20 21:31:28 +02:00
XhmikosR 369f03fbc5 Use the new include in examples too. 2018-11-20 21:31:28 +02:00
m5o 6163533d84 Fix placeholder image replacement. 2018-11-20 21:31:28 +02:00
XhmikosR 2ac3db8384 Tweak placeholder.svg.
* always include the title
* make it possible to skip adding the title by passing `title=' '`
* remove viewBox since we don't need it
2018-11-20 21:31:28 +02:00
Martijn Cuppens 072b5ab7fd Replace holder.js with SVGs. 2018-11-20 21:31:28 +02:00
XhmikosR b04f97f60b Replace anchor.js with jekyll-anchor-headings.
This allows us to generate the anchor links on build time.

https://github.com/allejo/jekyll-anchor-headings
2018-11-20 11:47:10 +02:00
XhmikosR 8470c5f78c Remove sudo from Travis config. (#27693)
https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-20 11:36:37 +02:00
Tieson Trowbridge ab183384ee Allows both OL and UL lists for tab buttons 2018-11-20 09:58:04 +01:00
ysds 7c8cd0f272 Add documentation about .text-decoration-none (#27686) 2018-11-20 09:08:34 +02:00
ysds 1fe56358e7 Add documentation about viewport sizing utilities (#27688) 2018-11-19 18:44:08 +01:00
ysds 38ca58bf3c Add documentation about .font-weight-bolder/lighter (#27678) 2018-11-18 10:15:49 +02:00
Martijn Cuppens 3f422bfc88 Prevent text decoration skip inc and reorder comments (#27673) 2018-11-18 10:09:41 +02:00
Martijn Cuppens 12ae122eda Spinners cleanup 2018-11-17 20:34:58 -08:00
ysds 5042b3c93d Support custom-select sizing in input-group (#27677) 2018-11-17 14:10:38 +02:00
Christian Oliff 4734a926e9 Enforce lowercase class name in .stylelintrc (#27668) 2018-11-17 14:01:16 +02:00
Martijn Cuppens 75526bf2d0 Inherit card header color (#27681) 2018-11-17 10:16:16 +01:00
XhmikosR 53d279b934 Update devDependencies and gems. 2018-11-16 08:59:37 +02:00
Iurii Kucherov f83f4ae124 Update autoprefixer link to .browserslistrc file (#27675) 2018-11-16 08:44:52 +02:00
XhmikosR ea4db3f89d Use fancy apostrophe in HTML files.
For Markdown files, this isn't needed because the Markdown converter takes care of this.
2018-11-15 15:55:21 +02:00
Johann-S 9201a80510 some cleaning and changes for readability 2018-11-14 10:54:50 +01:00
Martijn Cuppens fab1dea927 Keep input group & form label font size in sync with form control font size (#27663) 2018-11-13 21:11:59 +01:00
XhmikosR fceee8d093 Dist 2018-11-13 08:47:32 +02:00
Mark Otto 220baef0d9 Clean up some docs for toasts
- Add headings to examples section
- Clarify styles and customization options in examples
- Add dismiss buttons to all toasts
- Missing period added for consistency
- Update roles, tweak text
2018-11-13 08:47:32 +02:00
Mark Otto ab40a2b919 Nest the .toast.show and use display: block; as inherit causes broken styles 2018-11-13 08:47:32 +02:00
Laussel LOïc dc07e8dca8 Update toast documentation following pull #27155
Also remove close button everywhere just let it when autohide is set to false
2018-11-13 08:47:32 +02:00
Johann-S 557d5ac74d Remove the show delay for our toast plugin 2018-11-13 08:47:32 +02:00
Laussel Loïc 4cac833447 Implement data-dismiss="toast" to allow user to interact itself with the component (#27155) 2018-11-13 08:47:32 +02:00
Johann-S 2f81ab007c Fix toast documentation page. 2018-11-13 08:47:32 +02:00
Johann-S 16cf76ff1a Create toast JS plugin, add unit tests. 2018-11-13 08:47:32 +02:00
Mark Otto d0652a1be9 Add new toasts component 2018-11-13 08:47:32 +02:00
Martijn Cuppens 696c4078d1 Customize browse text of the custom file input with HTML (#27651) 2018-11-13 08:30:17 +02:00
XhmikosR dafb498f75 Spinners: show all color variants. 2018-11-13 08:21:57 +02:00
XhmikosR 5afc708961 Bump bootstrap.min.css bundle size. 2018-11-13 08:21:57 +02:00
XhmikosR e9d67982ae spinners: use the animation shorthand property. 2018-11-13 08:21:57 +02:00
Mark Otto 52a86cc671 Add Bootstrap's very first spinners omfg it's actually happening 2018-11-13 08:21:57 +02:00
XhmikosR f3bd8602df Jekyll: Add wdm gem for Windows. (#27658) 2018-11-12 21:23:53 +02:00
Christian Oliff 75e6253b0a Update clipboard.js to v2.0.3 (#27657) 2018-11-12 18:46:21 +02:00
XhmikosR 110c7f4cc0 Replace data-src with src="..." in docs. (#27649) 2018-11-11 14:45:48 +02:00
Patrick H. Lauke e6a356a3ae Minor/Docs: tweak accordion example heading level (#27620) 2018-11-11 09:12:29 +00:00
Martijn Cuppens 976efcd5ee Allow to add more embed responsive ratios (#25894) 2018-11-11 11:04:04 +02:00
XhmikosR 9836a411e8 Redirect /extend/ to /extend/approach/. 2018-11-11 10:59:43 +02:00
Martijn Cuppens 6cb6e6510c Remove custom properties from examples so that they work in IE (#27634) 2018-11-11 10:52:06 +02:00
jvitela 731f95bded Fix modal positioning on Android.
When the address bar is hidden, sometimes the visual position of the controls is out of sync with its logical position.
2018-11-11 10:44:26 +02:00
XhmikosR bbe2b2349d Dashboard example: update 3rd-party libs and use the same CDN. 2018-11-09 15:02:42 +02:00
XhmikosR 807c1b6d06 Add an examples layout.
Reduces duplication and makes maintenance easier.
2018-11-09 15:02:42 +02:00
XhmikosR e1b5b4f989 Move analytics to an include file. 2018-11-09 15:02:42 +02:00
XhmikosR a933f076f4 Move stylesheets to an include. 2018-11-09 15:02:42 +02:00
Johann-S 1fdc7819cd use bsCustomFileInput in our docs (#27631) 2018-11-08 17:22:45 +02:00
sts-ryan-holton 2df2cdd33d Wrap checkboxes in .form-group (#27624) 2018-11-07 21:54:40 +01:00
ysds 8de915eded Docs: Improve accessibility of disabled link example (#27614)
Add `tabindex="-1"` and `aria-disabled="true"` to disabled link
2018-11-06 10:47:59 +02:00
Johann-S e5d9e0a06c display chrome version on travis 2018-11-05 22:29:25 +02:00
XhmikosR 195404b106 Travis: Add back chrome addon (#27610) 2018-11-05 22:29:25 +02:00
XhmikosR ea697555d5 Travis: exit pipeline if test fails. 2018-11-05 21:35:59 +02:00
Martijn Cuppens 6e10ac276e Increase readability card columns docs (#27609) 2018-11-05 21:08:13 +02:00
sts-ryan-holton 89eef046ef Add new .rounded-pill utility (#27339) 2018-11-05 19:19:00 +02:00
XhmikosR 5c03f23f85 Reorganize npm scripts. 2018-11-05 19:06:39 +02:00
Martijn Cuppens b33d0d3790 Prevent white line in Firefox (regression) (#27594) 2018-11-05 18:56:41 +02:00
XhmikosR e3abb8e4dd Remove htmllint. (#27603)
We use the official HTML validator for HTML validation, and we don't really use any of the htmllint features.
2018-11-05 18:42:05 +02:00
LittleHuba aa098991bf Add Noto Sans to the font stack (#27596)
Fixes #27595
2018-11-05 08:22:40 +02:00
okazou cb5c80124a Add japanese to translations (#27599) 2018-11-05 08:15:04 +02:00
Arvind S 042042a48a Made the disabled state for nav more obvious. (#27382) 2018-11-04 22:17:14 +02:00
ysds 4a1090ac48 Ligthen/Darken Button focus shadow color 2018-11-04 20:58:00 +02:00
XhmikosR e0eb39f519 Update README.md (#27588)
* remove jobs link
* specify a link in the BrowserStack image
2018-11-04 20:49:31 +02:00
XhmikosR 15fa1566cd Update devDependencies and gems. 2018-11-04 16:02:35 +02:00
Martijn Cuppens b67c6fb435 Use a badge for .text-wrap example 2018-11-04 15:55:17 +02:00
XhmikosR 366bc88523 Add text-wrap example. 2018-11-04 15:55:17 +02:00
Andrew cbc859ad8d Add .text-wrap class.
this is the opposite of `.text-nowrap`, and a forces elements to wrap onto new lines.

One use case for this is extra long button text. Bootstrap buttons by default do no wrap, so this class could be used to override that behavior.
2018-11-04 15:55:17 +02:00
XhmikosR 497766a3a6 Travis: stop using a separate stage for Browser tests.
This should be faster.
2018-11-04 15:40:09 +02:00
XhmikosR ca47a21b70 broken-link-checker: force follow links.
After 3256a2c, blc honored robots.txt thus it didn't crawl anything.
Ignore robots.txt to work around the issue.
2018-11-04 15:32:59 +02:00
patrickhlauke c46a0c7e88 Replace touch-action: none with pan-y, remove preventDefault from touch event handling 2018-11-04 14:40:19 +02:00
XhmikosR 9cc237d0ba scss/_custom-forms.scss: fix typo in comment. 2018-11-04 12:17:56 +02:00
ysds ea8f6c6ff3 Button group refactoring and fixes (#25395) 2018-11-04 08:50:21 +02:00
XhmikosR d27509688d Jekyll: switch to localhost
`0.0.0.0` has issues on Windows.
2018-11-04 08:33:30 +02:00
Vincent Langlet 793b83fda8 Avoid null value (#27570) 2018-11-04 08:18:56 +02:00
Martijn Cuppens 38e9e2b82c Add TODO 2018-11-04 08:13:31 +02:00
Varunram a31468cf84 Resolve #26226: Sync with normalize 8.0.0
diff credits: @client9
2018-11-04 08:13:31 +02:00
XhmikosR eeea8b5ed3 docs: remove false info from v3 suggestion. 2018-11-03 21:59:11 +02:00
Patrick H. Lauke 8b20bce873 Add Sass variable for prefers-reduced-motion, add callout to affected components (#27581)
* Tweak the accessibility/reduced motion text

include mention of carousel slides, remove the (now inaccurate, as Firefox 63 includes it too) mention that support is limited to Safari/macOS

xref https://github.com/twbs/bootstrap/issues/27525

* Add new callout for reduced motion

* Add variable to control prefers-reduced-motion media query support

* Add callout about prefers-reduced-motion to all components currently using animation which are affected
2018-11-03 19:23:26 +01:00
Johann-S f7a4b39767 handle detached tooltip when we try to hide a modal 2018-11-02 13:39:58 +01:00
XhmikosR e0d1f3f18b Remove the obsolete tooltip-viewport example and redirect it. 2018-11-02 12:55:28 +02:00
XhmikosR 3256a2c231 robots.txt: disallow crawling when not in production. (#27559) 2018-11-02 12:41:57 +02:00
Sebastian Hädrich 4b15ec9cad Make meaning of tooltip's selector option clearer (#27573) 2018-11-01 15:05:02 +02:00
ysds 2ffa1bff6e Fix empty custom-control-label alignment issue (#27566) 2018-10-31 09:49:52 +02:00
Martijn Cuppens 96b49d7833 Fix Edge bounce and restore original transition easing (#27279) 2018-10-31 09:45:39 +02:00
Johann-S f20e46e2da Add @MartijnCuppens to our core team ! 🎉 (#27562) 2018-10-30 19:47:25 +02:00
ysds eb5d0b49dc Prevent hover/click on disabled .close links. 2018-10-30 18:25:14 +01:00
Martijn Cuppens 273861f145 IE10 homepage fix 2018-10-30 18:16:19 +02:00
Johann-S cebdfb9090 fix dispose modal unit test 2018-10-30 16:59:24 +01:00
Andrew Luca bd2851938a test(Modal): check if modal is disposed 2018-10-30 16:28:32 +01:00
Andrew Luca 65dc8c9070 refactor(Modal): add _isTransitioning default value
Having variables initialised from start `_isTransitioning` is better.
Would be better to add an eslint rule to check for undeclared variables use.
Reordered enter checks for `show` and `hide` by priority.
2018-10-30 16:28:32 +01:00
XhmikosR 2b21657cd4 Remove trailing space. 2018-10-30 15:44:41 +02:00
XhmikosR 40e560aa12 docs: remove Webpack version reference. 2018-10-30 15:44:41 +02:00
XhmikosR 02df7cd0d2 Fix util tests on IE 10 (#27556) 2018-10-30 15:29:04 +02:00
Matheus Rocha Vieira 77ff5e8e42 download page: add Yarn (#27544) 2018-10-30 11:27:13 +02:00
Martijn Cuppens e0fa9a812c #27502: Prevent active state border change 2018-10-30 09:06:25 +02:00
Martijn Cuppens 5aed968750 Prevent the background to be shown when transitioning 2018-10-30 08:57:02 +02:00
XhmikosR 5e6b53a7c0 Update Travis CI config.
Only run `coveralls` and `check-broken-links` tasks when we run the Test phase.
2018-10-29 16:04:22 +02:00
Johann-S 2868f07240 update our coverage required for branches and functions 2018-10-29 14:49:29 +01:00
Johann-S 91f8077ed5 add unit tests for our carousel 2018-10-29 14:49:29 +01:00
XhmikosR bb0d6bf178 Update devDependencies and gems. 2018-10-29 15:40:20 +02:00
Johann-S 2c2d04aba5 add unit test to test tabs can be removed without throwing error 2018-10-29 14:01:03 +01:00
dercodercom a282c22fc7 Update tab.js
I'm using Tab.js with remove function and get an error "TypeError: container is undefined [more info]", with this check the error is fixed.
2018-10-29 14:01:03 +01:00
Martijn Cuppens fff9e17d7e Delete sache.json (#27530) 2018-10-29 13:35:26 +02:00
Martijn Cuppens 45610a0f39 fix tab fade out (#27533) 2018-10-29 09:54:45 +01:00
Johann-S ffc8d507c7 calculate modal transition duration based on modal-dialog element 2018-10-28 23:59:17 +02:00
Ng Yik Phang 47ef0a877e Improve pagination's documentation accessibility.
- Remove `.sr-only` span for previous/next page, there is already`aria-label`
- Add `aria-disabled="true"` and `aria-current="page"`
2018-10-23 06:21:57 +03:00
ItaloBC 557f3fe100 Added Viewport Height & Width helpers
This allows the user to make a container (ideally) to use viewport height and width and allow better vertical/horizontal alignments of elements.
2018-10-23 06:04:08 +03:00
Martijn Cuppens 1c91f48251 Variable darken percentage for emphasized links 2018-10-23 05:58:19 +03:00
Caíque de Castro Soares da Silva ff40e00323 Fix readonly-plain-text with button addon (#25871)
Fixes #25870
2018-10-23 05:53:38 +03:00
Mitko Georgiev ee1daf090a Easy merging of new grid breakpoints and containers (#26714)
This change follows exactly what was done for the `$grays`, `$colors`, and `$theme-colors` lists in #23260. This allows for easy addition of new breakpoints or grid containers also.
2018-10-23 05:48:44 +03:00
Martijn Cuppens dd539094ea Custom select validation padding fix and additional custom select feedback icon variables 2018-10-23 05:43:59 +03:00
Martijn Cuppens d0b7eb1111 Cleanup stylelint comments 2018-10-23 00:21:33 +03:00
XhmikosR 807e8fe4a2 Further ToC fixes. 2018-10-22 21:57:25 +03:00
XhmikosR 0c56f054a5 Remove unneeded check.
Leftover from after 43c20b9.
2018-10-22 09:24:36 +03:00
XhmikosR d48f03b050 Use the example shortcode in more places.
Now that we don't have the ToC issue with the examples' headers in ToC, we can safely do this.no_toc_section_class
2018-10-22 09:24:36 +03:00
Martijn Cuppens 00860f02d4 Disallow transition property (use mixin instead) 2018-10-21 22:46:20 +03:00
Johan Beckers 09aca3fb9a Unitless breakpoints
If I want to customise the breakpoints using `em`, I get compatibility errors.

It is good practice to set breakpoints in `em` instead of `px` when users use browser scaling.
See https://zellwk.com/blog/media-query-units/#concluding-the-experiments for more information why someone would like to do this. Only Safari users can get annoyed: https://adamwathan.me/dont-use-em-for-media-queries/

In any case, using a unitless number at line 42 would be very convenient.
2018-10-21 21:31:28 +03:00
XhmikosR 9ed0b318b9 Update devDependencies and gems. 2018-10-21 19:11:20 +03:00
Nicolay Hvidsten 345f26a667 Change erroneous documentation for .flex-fill (#27265)
The current documentation for .flex-fill indicated that the flex
items would have equal widths, regardless of content. This update
ensures that the documentation reflects the fact that the width
of the flex items depends on their actual content.
2018-10-21 18:54:09 +03:00
Andrew Luca 1f1308ba22 test(Modal): reuse _getScrollbarWidth in tests 2018-10-21 17:45:02 +02:00
XhmikosR ff9b195da7 Revert "Simplify .gitattributes."
This reverts commit 1c78f703e0.

Unfortunately some Linux distros use an ancient git version and this change requires git >= 2.10.
2018-10-21 18:33:28 +03:00
Martijn Cuppens 44ddabad4b Simplify theme color usage (#27378) 2018-10-21 17:39:23 +03:00
XhmikosR 0a3755b30a Fix typo in the Popper.js checks. (#27488) 2018-10-21 11:51:20 +03:00
Andrew Pucci d13ae1fc1a Card header color theming (#26573)
Define new variable for card header color
2018-10-21 11:05:54 +03:00
ysds becb6ce346 Add dropdown responsive alignment (#26255) 2018-10-21 11:01:22 +03:00
ysds 6bae9ef786 Example dashboard: Responsive padding-top of the main content (#26332) 2018-10-21 10:56:53 +03:00
Martijn Cuppens 49ca910667 Improve Grid examples. (#26808)
Removes the grid.css file of the grid example and makes use of utility classes
2018-10-21 10:52:13 +03:00
Andrey 3075432584 feature/yiq function, add parameters, with default values. (#26917) 2018-10-21 10:33:53 +03:00
Martijn Cuppens e2014e8ed7 Custom checkboxes and radios retheming (#27064) 2018-10-21 10:25:07 +03:00
Martijn Cuppens c9a43b027a Re-add carousel control transition (#27277) 2018-10-21 10:13:35 +03:00
Doug Puchalski 59f1802e98 Outline button variant hover mixin (#27289)
The outline button variant mixin should use the hover mixin, as does the non-outline version.
2018-10-21 10:09:08 +03:00
midzer 50d866da24 optimize data URIs (#27284) 2018-10-21 10:03:17 +03:00
Martijn Cuppens 2a28c7d9fd Carousel fade cleanup (#27278) 2018-10-21 09:55:43 +03:00
Roy Klutman fccdda5448 Fix for double border on cards in an accordion (#27133) 2018-10-21 09:49:05 +03:00
XhmikosR bc2a98522d webpack page: Remove precss reference 2018-10-20 23:07:48 +03:00
719media 2c1a743cc9 Update _custom-forms.scss (#27276)
user-select has no effect on before/after pseudo elements
2018-10-20 22:35:56 +03:00
andresgalante 86822d93d6 changes the variables for input font size 2018-10-20 22:29:24 +03:00
Ian Walter 871a51a548 Fix #26372: disabled btn hover issue (#27407)
When gradients are enabled there is still a hover state on disabled
buttons since the hover rules apply to background-image and disabled
rules apply to background-color. This applies the logic already present
in dropdowns to buttons. This fix was originally proposed by @ysds.
2018-10-20 22:12:33 +03:00
semenyakNik c5eb6043d8 Custom select inconsistent padding (#27415) 2018-10-20 22:00:48 +03:00
Martijn Cuppens 7190c38e4c Remove redundant width and height properties 2018-10-20 21:46:53 +03:00
XhmikosR 700f74cebd Make use of jekyll-toc's no_toc_section class.
Requires jekyll-toc v0.8.0.
2018-10-20 21:39:53 +03:00
XhmikosR 79db264910 package.json: add version_short and use it in the npm scripts. 2018-10-20 21:17:50 +03:00
XhmikosR 242f19897d Clean up docs Sass code.
* remove unused rules
* use Sass nesting in more places
* use the core mixins in more places
* use the color variables more
2018-10-20 21:08:37 +03:00
XhmikosR d08607c080 Unregister Service Worker. 2018-10-20 16:00:28 +03:00
Mark Otto 5bf37eba53 Remove service worker 2018-10-20 16:00:28 +03:00
Johann-S b1dc6b324c avoid drag img 2018-10-20 15:32:09 +03:00
patrickhlauke 8883ccb205 Set touch-action to "none"
Firefox currently seems extremely fickle - with `pan-y` if fires pointercancel as soon as a touch strays even a pixel or so vertically.
While `touch-action: pan-y` would be ideal (allowing users to scroll the page even when their finger started the scroll on the carousel), this prevents a swipe that isn't perfectly/only horizontal to be recognised by Firefox.
2018-10-20 15:32:09 +03:00
patrickhlauke 9164f77269 Refactor (and correct) start/move/end functions
in particular, no need to use originEvent, and preventDefault() only needed for touch events
2018-10-20 15:32:09 +03:00
patrickhlauke 39ae077837 Remove unnecessary pointer event listeners
these may also be the cause of weird behavior in Chrome/Surface, where scrolling vertically triggers slide advance
2018-10-20 15:32:09 +03:00
patrickhlauke 6be7293a85 Abandon swipe altogether if more than one touch detected 2018-10-20 15:32:09 +03:00
patrickhlauke 7b8f01d839 Use correct touch-action values
- my fault, my original advice of using `touch-action: pan-x` is exactly the value we *don't* want to have the browser handle...
2018-10-20 15:32:09 +03:00
Johann-S 735c374e9c use pointer events if available 2018-10-20 15:32:09 +03:00
Johann-S c08652cfe8 swipe left/right without hammerjs 2018-10-20 15:32:09 +03:00
Johann-S caefd70463 Add touch support in our carousel with HammerJS. 2018-10-20 15:32:09 +03:00
Christian Oliff bf57389647 Add query string to the start_url to track how often app is launched
Useful suggestion from Google in the Web App Manifest documentation.
https://developers.google.com/web/fundamentals/web-app-manifest/#start-url
2018-10-20 14:58:37 +03:00
galczo5 6cbcd03efb Add show and hide methods to dropdown (#27370) 2018-10-20 14:27:51 +03:00
Andres Galante 5088f02730 Add font weight options for form controls and custom select (#27343) 2018-10-20 11:50:20 +03:00
Bastien a86aef0ae0 table: Add border color relative to theme for accessibility (#25755) 2018-10-20 11:21:31 +03:00
XhmikosR 282b77ee9c docs search: take into account the current URL. 2018-10-19 22:09:50 +03:00
Catalin Zalog a16ffc7ba1 feat: keep contrast on .table-dark
In case we set `$body-bg` to a dark color, we have to keep table contrast relevant.
2018-10-19 13:01:38 +03:00
namiltd 1231e1d6bc Fix size of modal dialogs at different widths (#27094) 2018-10-19 12:56:46 +03:00
Roy Klutman 5a1588ed33 Fix double border on list-group (#27126) 2018-10-19 12:01:36 +03:00
chocolateboy ef32979222 Fix doc typo 2018-10-19 11:36:18 +03:00
XhmikosR 5d834e0510 Travis: stop installing chrome (#27468)
It seems it works without it.
2018-10-18 11:56:55 +03:00
XhmikosR 43bf268248 Rename docs production script to production and use JEKYLL_ENV. (#27410) 2018-10-18 10:45:49 +03:00
XhmikosR 99e0e30402 Move lint scripts outside of the main scripts.
This allows us to run `npm run dist` without tests.
2018-10-18 10:05:19 +03:00
XhmikosR f6a39e39c8 npm release-zip: remove the folder before zipping. 2018-10-18 10:05:19 +03:00
Martijn Cuppens a6669b478b Fix btn focus color (#27178) 2018-10-17 23:21:33 +03:00
Helmut Granda ef27179c18 Delete callout-info-content-iamge-overlay-overflow.md
Deleting external file since it is not needed, the copy of this file will be added directly to card.md.
2018-10-17 23:15:01 +03:00
Helmut Granda 34c7b07f7f Adding call out note directly to the page.
Instead of using an external source since this is only a one time note it is safe to be placed within the document itself.
2018-10-17 23:15:01 +03:00
Helmut Granda 42006e7b17 Adds a note about the limitations on content being larger than the image.
In the event that the content is larger than the image, the content will continue to be displayed outside the image itself. There are some workarounds but they apply only to browsers that support this option and IE11 is not one of them.
2018-10-17 23:15:01 +03:00
Martijn Cuppens 832a90d9d3 Move media from layout to components 2018-10-17 22:45:54 +03:00
XhmikosR 1c78f703e0 Simplify .gitattributes. 2018-10-17 12:23:01 +03:00
Mark Otto 8cf0fe2ee0 Add a CODEOWNERS file (#27271) 2018-10-15 16:17:42 +03:00
XhmikosR 29f849879b Move docs .eslintrc in site/. 2018-10-15 16:03:16 +03:00
XhmikosR 18ff70c248 Update devDependencies and gems. 2018-10-15 14:52:22 +03:00
XhmikosR 3574af5231 Include css-copy in the css script. 2018-10-15 14:31:42 +03:00
Martijn Cuppens ad60a58043 Rename everything to skippy and center skippy (#27420) 2018-10-15 14:19:41 +03:00
XhmikosR 43c20b912e Combine examples and simple layouts. 2018-10-15 12:54:51 +03:00
XhmikosR 7d6a0aa24d Tighten stylelint config. (#27336)
Also improve its formatting.
2018-10-15 12:24:53 +03:00
Martijn Cuppens fc77c5540e Change h1 to h2 2018-10-15 09:53:11 +03:00
XhmikosR 6c7ec73b16 Reduce indentation. 2018-10-14 22:00:58 +03:00
XhmikosR 70aec100e4 Travis: add --clean in bundle install command. 2018-10-14 17:05:04 +03:00
XhmikosR bcbf3f2ec6 build/generate-sri.js: add popperjs. 2018-10-14 08:17:40 +03:00
XhmikosR f9dea7624b Move periods outside of links. 2018-10-14 08:17:40 +03:00
XhmikosR ea575bc1a7 js/tests/visual: fix popper script.
Broken after 787441d.
2018-10-14 08:17:40 +03:00
XhmikosR 7749b91130 Fix a few links.
* fix `/versions/` link
* add missing trailing slashes
* fix a couple of redirects
2018-10-14 08:17:40 +03:00
XhmikosR d2c6e237e4 Remove the unused jobs Jekyll variable. 2018-10-14 08:17:40 +03:00
XhmikosR 7d8b26980f Update popper.js in docs. 2018-10-14 08:17:40 +03:00
XhmikosR 449979decf docs: fix bundle SRI hash.
Also, remove popper.js from this script since it's not present in the repo.
2018-10-14 08:17:40 +03:00
XhmikosR 339311ddb5 Fix invalid selectors in tests and examples. 2018-10-14 08:17:40 +03:00
XhmikosR 4ce091b87f Add a release npm script. 2018-10-14 07:51:40 +03:00
XhmikosR 3fcddfa42e Remove sri-toolbox dependency.
We can achieve the same very easily.
2018-10-14 07:41:45 +03:00
XhmikosR b2b933c181 Update Travis config.
* remove `dist: trusty` since it's the default
* disable email notifications
2018-10-13 13:55:49 +03:00
m5o 0e5813bfd4 update holder.js image dimensions for sizing example
* update holder.js image dimensions for sizing example
  * use `100%` instead of `100%`
  * 📝 https://github.com/imsky/holder#fluid-placeholders
2018-10-13 00:10:05 +03:00
m5o 74393bffc9 refine deprecated holder.js color syntax
* refine deprecated holder.js color syntax
  * remove `#55595c:#373a3c`
* harmonize with all other holder.js examples
2018-10-11 23:49:08 +03:00
XhmikosR f59c2d946c Update devDependencies and gems. 2018-10-07 08:20:24 +03:00
XhmikosR 9d63deb954 Rename script. 2018-10-07 08:20:24 +03:00
Mark Otto 29bd5e3218 Add overflow-auto and overflow-hidden utilities 2018-10-06 17:55:55 -07:00
Spencer Davies 23015571b9 fix - small grammar error
"given move to" -> "given the move to"
2018-10-06 11:39:09 +03:00
Tanmay Gupta cd880619d4 updated README (#27349) 2018-10-02 23:38:46 +03:00
XhmikosR 19f70f9d4c Tweak build/build-plugins.js. 2018-09-26 17:04:33 +03:00
Johann-S 7c7a1706c3 remove useless iife 2018-09-26 15:03:38 +02:00
XhmikosR 02c4444f6c Remove unneeded path.resolve. 2018-09-26 15:53:44 +03:00
XhmikosR 59197765f4 Include the plugin's filename in the license header. 2018-09-26 15:53:44 +03:00
Helmut Granda ebc220754b Add license headers in js/dist files
By implementing the same approach of rollup.config.js
and replicate it in build-plugins.js, individual plugins
will display license headers.
2018-09-26 15:53:44 +03:00
Howard Cox d7f79b06dc Prevent pointer events on disabled list-group-item 2018-09-26 07:20:46 +03:00
Howard Cox 44b3f77852 Prevent pointer-events on disabled anchor dropdown-item
Fixes #26695
2018-09-26 07:20:46 +03:00
XhmikosR 0350858edf Fix examples after the recent JS changes.
`https://example.com` isn't a valid selector.
2018-09-25 17:45:06 +03:00
Florian Lacreuse 46893e23a3 Add explanation about accordion wrapper. 2018-09-25 11:41:35 +03:00
XhmikosR 252e538985 Make release-zip include the root folder.
Also, now it should work cross-platform assuming `zip` is present.
2018-09-20 12:54:34 +03:00
719media e1b7404bb8 Update forms.md
fix duplicate id attribute
2018-09-20 09:31:02 +03:00
Mark Otto 4dc5671d1b Remove flex utilities from .list-group-item's as they're display: block; meaning the utilities have no affect. Closes #27162. 2018-09-18 22:14:45 -07:00
Mark Otto 55655b2781 dist 2018-09-18 21:42:38 -07:00
Mark Otto 2f611c657b Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2018-09-18 21:35:56 -07:00
Mark Otto f6244654a6 dist 2018-09-18 21:35:40 -07:00
Martijn Cuppens 7bd1bc2431 Allow multiple ways of padding declaration for modal header (#26976)
* #26967: Allow multiple ways of padding declaration for modal header
* #26976: split vertical and horizontal modal padding
2018-09-18 21:33:31 -07:00
Mark Otto 0bec1c8897 Add new variables for form feedback tooltips (#26959)
Fixes #26886
2018-09-18 21:27:02 -07:00
XhmikosR f9142bdd62 docs: switch to font-weight 600. (#27226)
Segoe UI doesn't have font-weight: 500 making things not looking as expected.
2018-09-18 18:31:51 -07:00
Johann-S 75f83da539 use bsCustomFileInput in our documentation (#27264) 2018-09-18 16:52:10 +03:00
Mark Otto c8fd9ddd97 Consistently re-use input variables 2018-09-18 16:29:46 +03:00
Christopher Morrissey ea0faadde5 feature(carousel): carousel-item interval (#26667)
adds the ability to assign data-interval to an individual carousel-item
2018-09-18 15:55:48 +03:00
Martijn Cuppens e604958641 Variable .btn and .form-control font sizes (#26908) 2018-09-18 15:35:25 +03:00
ysds 18ae915f54 Bring the focused button in input group to the front (#26910) 2018-09-18 15:29:02 +03:00
Mark Otto 029f92c5e5 Document input group wrapping behavior and override via utility class
Fixes #25409
2018-09-18 14:51:34 +03:00
Nabil Kadimi 876e320364 Switch to .btn-secondary for the search button so that it's accessible (#27255) 2018-09-18 13:10:02 +03:00
Mark Otto 7c88c46517 Clarify docs for custom form structure
Fixes #25440
2018-09-18 13:03:44 +03:00
XhmikosR 787441d4bf docs: use the bundle dist file. 2018-09-18 12:50:18 +03:00
Mark Otto 5543229950 dist 2018-09-17 12:36:49 -07:00
Mark Otto 9e24d68112 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2018-09-17 12:34:41 -07:00
Mark Otto b68ea572da dist 2018-09-17 12:34:34 -07:00
XhmikosR 47107d4647 Switch to find-unused-sass-variables for finding unused Sass variables. 2018-09-17 19:34:15 +03:00
Martijn Cuppens bf4dab72df #27220: cleanup .btn-link hover/focus properties (#27250) 2018-09-17 09:34:34 -03:00
Mark Otto 301a22b164 Update copy 2018-09-17 09:06:12 +03:00
XhmikosR 0d869a1063 Remove background-colors example and show only the code.
This is to avoid confusion.
2018-09-17 09:06:12 +03:00
Catalin Zalog 928ebd8925 _variables.scss comments/spacing consistency (#27247)
* style: `_variables.scss` comments consistency

* style: `_variables.scss` spacing consistency
2018-09-16 14:32:11 -07:00
Nabil Kadimi ed48d9a440 Typo (#27248) 2018-09-16 19:02:30 +01:00
XhmikosR 8bfecc7dc6 Update svgo.yml. 2018-09-16 18:06:24 +03:00
Mark Otto c3d93b34ba Simplify HTML and CSS
- Remove iframes
- Turn into larger click areas
- Drop entire team.scss file for components and utilities
2018-09-16 02:04:32 +03:00
XhmikosR 4e8c9ba1da browsers-devices.md: Use Jekyll variable. 2018-09-16 02:04:32 +03:00
XhmikosR 685db4d64f Restore team page. 2018-09-16 02:04:32 +03:00
XhmikosR fe873a3310 Travis CI: Actually don't install npm@5 at all. 2018-09-16 01:52:14 +03:00
XhmikosR 3d17e3a93a Travis: Don't install npm@5 when the current npm is newer. 2018-09-16 01:52:14 +03:00
Johann-S 8cd485fcc8 speed up browser tests 2018-09-15 08:50:13 +03:00
XhmikosR 0b97d1b0c4 Use https in more places and fix a few redirects. 2018-09-14 18:27:55 +03:00
XhmikosR c6f7276729 Update popper.min.js to v1.14.4. 2018-09-14 18:07:50 +03:00
XhmikosR bcb4e7be98 Update anchor.min.js to v4.1.1. 2018-09-14 18:07:50 +03:00
Martijn Cuppens 7a01f3c41b Selector improvement (#27219) 2018-09-14 09:31:48 -03:00
Johann-S a689120fd2 throw error when folks try to use a bad selector 2018-09-13 22:13:36 +02:00
Johann-S 9efed82522 refactor karma config in one file 2018-09-13 21:59:37 +02:00
Johann-S c543f360c9 do not use coverage files on browserstack 2018-09-13 21:59:37 +02:00
Andres Galante ed3c611949 creates variables for navbar brand colors #27187 2018-09-13 17:51:14 +03:00
Johann-S 6e2a823a44 collapse children with no data-parent 2018-09-10 21:10:00 +02:00
Herst de75bd0a4f Remove certain Chromium entries from Wall of Bugs 2018-09-10 09:52:13 +03:00
XhmikosR 83006463c9 Update devDependencies. 2018-09-09 19:05:03 +03:00
Herst 7b9c8e8eb3 Added type="button" to <button>s without any type (#27174)
(again)

https://github.com/twbs/bootlint/wiki/W007
2018-09-03 16:55:04 +01:00
Roman O fad49e710e Ignore percentage values for compare in maps 2018-09-02 16:43:54 -07:00
Martijn Cuppens 97eea3b2bf Set .btn base color 2018-09-02 16:28:42 -07:00
Martijn Cuppens 3ef2db1e85 Move transparent background to .btn and remove background-image 2018-09-02 16:28:42 -07:00
Martijn Cuppens 19afb12b65 Set max-width to 100%
Fixes #27114
2018-09-02 16:26:53 -07:00
Martijn Cuppens 9f53e06e46 Remove -webkit-text-decoration-skip 2018-09-02 16:26:18 -07:00
Martijn Cuppens e3c0b3d3af #27112: fix border focus border color 2018-09-02 16:25:55 -07:00
ysds d1de8737aa Move CSS of hover underline to base from color variants 2018-09-02 16:25:21 -07:00
Mark Otto 97801a7a2d Add new docs Versions page. 2018-09-02 13:57:25 -07:00
Johann-S a3e45d8ced add information about valid selectors (#27137) 2018-08-31 21:00:29 +02:00
Johann-S 54d86e6249 move away from sauce labs to browserstack 2018-08-30 22:17:15 +02:00
XhmikosR 2f5f8ef755 build-plugins.js: Remove redundant space 2018-08-29 15:51:21 +03:00
XhmikosR b5ad6129a2 Update devDependencies. 2018-08-28 21:48:38 +03:00
ysds 5266669d34 Remove extra line break 2018-08-28 02:22:46 +03:00
Martijn Cuppens 0e8831505a Simpler carousel indicators css (#26996) 2018-08-26 14:53:36 +03:00
acj b652932f0c Remove redundant space from blockquote footer prefix 2018-08-26 14:48:51 +03:00
acj cd28869a2f Move blockquote footer font size to variables
Blockquote footer font size is currently hardcoded to 80%, implying (in a comment) that this would result in the default font size. However, since the blockquote font size itself is variable, this is not necessarily true, and 80% of anything actually results in an arbitrary font size.

80% as a default is still fine.
2018-08-26 14:48:51 +03:00
XhmikosR 00398e31c7 Remove _layouts/redirect.html.
This isn't needed, because it's not supposed to be seen normally, with JavaScript enabled.
2018-08-25 23:41:17 +03:00
m5o 7f9e70202e add text-reset to text utilities (#26866) 2018-08-25 19:31:52 +03:00
Mark Otto 3a02f21b33 Specify new height for inputs in floating label example after v4.1.3's addition of a fixed height property on .form-control 2018-08-25 19:02:15 +03:00
Mark Otto df3993a600 Round corners on modal footer
Matches the method used for the modal header. Fixes #26955.
2018-08-25 18:49:09 +03:00
Martijn Cuppens 8073e10fb3 #23389: Add breadbrumb in docs search results 2018-08-25 15:04:53 +03:00
XhmikosR da717b03e6 Update devDependencies and gems. 2018-08-20 10:49:49 +03:00
Patrick H. Lauke 061a696855 Minor: missing dot before classname in explanatory text 2018-08-19 22:21:20 -07:00
Yannick Warnier 17008fb8f8 Fix section numbering in scrollspy doc example 2018-08-19 11:21:38 -07:00
Greg Tyler 5fb7c903b3 Use mr utility class throughout media object docs 2018-08-19 11:18:59 -07:00
Rowan-James Tran 24bdadf9d3 Remove nowrap from .btn 2018-08-19 11:17:10 -07:00
Martijn Cuppens 4def76c34e #26975: remove grid columns min height 2018-08-19 11:13:18 -07:00
Mark Otto c0fd91788e dist 2018-08-18 20:22:08 -07:00
Johann-S ab7ce480f2 Recommend a plugin to animate custom file input (#27088) 2018-08-18 16:57:07 +03:00
XhmikosR 5fed73d409 Update deps. 2018-08-13 19:20:17 +03:00
XhmikosR 107a8da550 Update bundlesize limits. 2018-08-13 10:10:52 +03:00
Martijn Cuppens bf7d4aef81 Change if statement 2018-08-13 10:10:52 +03:00
Martijn Cuppens 57661dff6d Tweak modal transform (#27005) 2018-08-13 10:00:53 +03:00
Johann-S c0b40745e0 add babel plugin proposal object rest spread to our dev deps 2018-08-12 23:34:25 +02:00
XhmikosR c81bae06f5 Add missing trailing slash in Edge tracker links. 2018-08-12 23:42:01 +03:00
XhmikosR e8e8df9cba Revert "Remove Chinese translation since it 404s."
This reverts commit 8bb35313b1.

This is no longer needed.
2018-08-12 23:42:01 +03:00
XhmikosR 34199be5ec Revert "broken link checker: check external links too."
This reverts commit 9e5ec00d50.

Unfortunately, we are getting too many timeouts.
2018-08-12 23:42:01 +03:00
XhmikosR b442ce3130 build/*.js: set sourceType to module. 2018-08-12 22:22:12 +03:00
XhmikosR acd19de6a9 Use ES6 arrow function. 2018-08-12 22:22:12 +03:00
XhmikosR 8bb35313b1 Remove Chinese translation since it 404s. 2018-08-12 21:15:55 +03:00
XhmikosR 63909069c4 docs/4.1/components/forms.md: fix useiconic link. 2018-08-12 21:15:55 +03:00
XhmikosR 9e5ec00d50 broken link checker: check external links too.
It's slower, but since it runs only on Travis, we better be safe.
2018-08-12 21:15:55 +03:00
XhmikosR 208f22c8d7 Run all css tasks in dist script. 2018-08-12 21:15:55 +03:00
XhmikosR b5af1c6eaf Fix paths. 2018-08-12 21:15:55 +03:00
XhmikosR 4317d4fb2d Update devDependencies and gems.
Also, enforce LF in clean-css.
2018-08-12 20:52:35 +03:00
Johann-S eab9da5beb fix(util): use querySelector for ids 2018-08-12 17:01:01 +02:00
Johann-S 6b92321f6a fix(util): use getElementById when it's possible 2018-08-07 18:49:02 +02:00
XhmikosR ae53690ab4 Commit our svgo config. 2018-08-02 19:17:18 +03:00
jarstelfox 198091d635 Fix dispose causing popover title to change
see: https://github.com/twbs/bootstrap/issues/26847
in v4, destroy was replaced by dispose
2018-08-02 13:51:08 +02:00
Jonathan 854da5a7c1 Hyphenate client-side/server-side (#27016) 2018-08-02 11:13:19 +01:00
Mitchell Grice c5bb4dc5d1 Fix #26990 broken external example 2018-08-02 11:38:21 +02:00
Martijn Cuppens b8cd49015a Use Iconic github page instead of site
The SSL certificate of the useiconic.com is expired
2018-08-02 12:28:45 +03:00
XhmikosR 81f1249e9c Update package.json
Fix paths to docs.
2018-08-02 09:25:06 +02:00
XhmikosR 5570f1c161 package.json: be more explicit with the files we include. 2018-08-02 09:40:02 +03:00
Mark Otto 0b5a8d9c98 Merge branch 'form-validation-icons' into v4-dev 2018-07-29 14:18:09 -07:00
Martijn Cuppens 774724a7b6 #26972: fix responsive highlight width 2018-07-29 14:13:28 -07:00
XhmikosR c73b4a705e Update devDependencies and gems. 2018-07-29 14:07:38 -07:00
Robert 70ad98d34d Fix custom-select font size/padding (#26585)
fixes #26476
2018-07-29 14:04:35 -07:00
Mark Otto 6233ea378d dist 2018-07-29 13:02:42 -07:00
Mark Otto f803fb9903 Add margin utils to the grid for fully functional grid control (#26957)
* Add margin utils to the grid for fully functional grid control

* bump the max filesize
2018-07-28 21:34:27 -07:00
lgdean e53ab71d4b fix typo: seperator -> separator (#26982) 2018-07-27 19:34:30 -07:00
XhmikosR a194abbb5a Update browsers-devices.md 2018-07-26 06:41:29 +03:00
Martijn Cuppens 4f926671e9 Carousel indicators transition (#26902) 2018-07-24 21:15:05 -07:00
ysds bbee41431d Fix custom range height (#26898)
Fixes #26897
2018-07-24 17:56:03 -07:00
ysds ab53ccc2cc Flexbox based sticky footer example (#26674)
* Flexbox based sticky footer

* Update guide message

* Use utility classes instead of custom CSS
2018-07-24 17:40:55 -07:00
Martijn Cuppens d80635c1cd Custom input range disabled styling (#26540) 2018-07-24 17:39:15 -07:00
Mark Otto ba25e38b4a Merge branch 'garhbod-patch-1' into v4-dev 2018-07-24 17:26:29 -07:00
Mark Otto fb2de04374 Merge branch 'v4-dev' into malkomich-v4-dev 2018-07-24 17:25:12 -07:00
Stefan Wrobel e3b98c51da Add .text-decoration-none utility class (#25933)
ref: https://github.com/twbs/bootstrap/pull/23881#issuecomment-337789596
2018-07-24 17:24:20 -07:00
Andrew c8a4d9dd74 add 'lighter' and 'bolder' font weight classes (#26580)
* add 'lighter' and 'bolder' font weight classes

these are 2 special values for font weight, that will give their content a font-weight value of 100 more or less than their inherited font-weight.

probably doesn't fully fulfill this issue, https://github.com/twbs/bootstrap/issues/23969, but it's a start

* Update .stylelintrc

* add 'lighter' and 'bolder' variables per @mdo 's request.
2018-07-24 17:23:17 -07:00
Mark Otto 3b55873438 Ship v4.1.3 2018-07-24 08:54:34 -07:00
Mark Otto 72447ad497 dist 2018-07-23 17:51:14 -07:00
Johann-S d18045210c fix(tests): visual plugins tests 2018-07-23 17:29:53 -07:00
Martijn Cuppens c74a32703a Allow background images for active buttons 2018-07-20 19:25:01 -05:00
Mark Otto f87d5eab69 Clarify to close #26329 2018-07-20 19:11:23 -05:00
Mohammad Younes 6cca02f163 fix .modal-dialog-centered on IE10/11 2018-07-20 19:04:23 -05:00
Joshua David c04d60b88f Fix modal overflow style nesting (#26742)
Nest `.modal` styling directly under `.modal-open`
to avoid issues when bootstrap is nested.
2018-07-20 18:55:16 -05:00
Mark Otto 23e4d48e65 Merge branch 'document-tooltip-flickering' of https://github.com/simPod/bootstrap into simPod-document-tooltip-flickering 2018-07-20 18:34:57 -05:00
Martijn Cuppens 6f52b2eafa #26912: fix custom file input z-index 2018-07-20 18:31:47 -05:00
ysds c45e5594b7 Fix property order 2018-07-20 18:28:09 -05:00
ysds 900775483f Remove :not(:root) from the workaround for SVG overflow bug
* `svg:not(:root)` specificity is very high (https://github.com/necolas/normalize.css/issues/718)
* Bootstrap do not support SVG documents (See #26878)
2018-07-20 18:28:09 -05:00
ysds d7acc977ef Lower the specificity of vertical-align of SVG 2018-07-20 18:28:09 -05:00
Mark Otto 3cfa06004e Add Noto Color Emoji to font stack
Fixes #26227
2018-07-20 18:24:14 -05:00
Mark Otto bdb6723a45 Clarify custom select styles
Fixes #26281
2018-07-20 18:23:42 -05:00
Mark Otto 4693672cff Update validation tooltips to use tooltip vars (#26887)
Updates the properties and values for which we have existing variables to match our tooltips. Come 4.2, we'll create new tooltips for these.
2018-07-20 18:21:40 -05:00
Mark Otto 28b9bc068f Improve responsive table docs
- Splits the examples with code snippets
- Adds note about possible broken visuals

Closes #25813
2018-07-20 18:18:48 -05:00
Johann-S eb81c39f2c feat(plugins): allow to import separate plugins 2018-07-19 19:59:45 +02:00
XhmikosR 6cf8700fd9 Move the browserslist config to a separate file. 2018-07-16 21:34:53 +03:00
Mark Otto 6d84d491d1 Merge branch 'v4-dev' of https://github.com/Varunram/bootstrap into Varunram-v4-dev 2018-07-15 22:46:37 -07:00
Mark Otto a4b2e39178 More wordsmithing 2018-07-15 22:27:36 -07:00
Mark Otto 233378ade9 dist 2018-07-15 14:16:35 -07:00
Lefteris Psitopoulos 9bfd400527 #25842 Remove max-width from table class 2018-07-15 14:06:33 -07:00
Mark Otto f426a67394 Form control heights (#26820)
* Redo input height on .form-control

- Use the already present -height variables on .form-control
- Consolidate the select size and multiple overrides into the .form-control base class instead of sm/lg modifiers
- Remove the Sass extends from input groups since it picks up too many selectors

* Prevent height on textareas
2018-07-15 14:00:23 -07:00
ysds 48c723b60f Fix custom range thumb style (#26385)
* Fix focus box shadow of custom ranges

* Put `:focus` selector right after `.custom-range`
* Remove unnecessary `outline: none`

* Fix box-shadow issues in IE/Edge

* Better align

* Fix thumb vertical positions in IE/Edge

* Fix incorrect formula of thumb vertical positions in Webkit

* Fix an incorrect comment

* Fix incorrect box-shadow-width
2018-07-14 21:31:20 -07:00
Andrew Luca 0fd40837e8 Fix custom-forms heights and position (#25602)
Now `.custom-control` will have height equal to `$font-size-base`
Fix custom checkbox and radio top position (we can't subtract rem from unit)
`$line-height-base - $custom-control-indicator-size` is not valid
Because `$line-height-base` is a unitless variable and `$custom-control-indicator-size`
is a unit (rem) variable
2018-07-14 21:29:19 -07:00
Mark Otto 2d8422f5f5 fixes #26579 2018-07-14 21:10:45 -07:00
Mark Otto 52813f4bc8 Update cursor on floating labels example (#26826) 2018-07-14 15:14:29 -07:00
Mark Otto 2eb456b5d8 Merge branch 'examples-cleanup' of https://github.com/MartijnCuppens/bootstrap into MartijnCuppens-examples-cleanup 2018-07-14 14:07:14 -07:00
Mark Otto 9928311bd9 Merge branch 'box-shadow_issue_26377' of https://github.com/parammittal16/bootstrap into parammittal16-box-shadow_issue_26377 2018-07-14 14:04:39 -07:00
Mark Otto a5d48323a2 Update issue templates 2018-07-13 09:31:55 -07:00
Mark Otto b2c4ce5273 Update issue template 2018-07-13 09:30:58 -07:00
Mark Otto 1f46337a89 Update README.md 2018-07-12 09:27:14 -07:00
Mark Otto c4ccfbe04e Ship v4.1.2 2018-07-12 09:27:14 -07:00
Simon Podlipsky da56d918ac Reword 2018-07-12 17:31:20 +03:00
XhmikosR a49f5cab6f Clean up npm scripts a bit more.
`docs-serve` was duplicated. Also, extend the existent `docs-serve` script for `docs-github-serve`.
2018-07-12 00:06:12 -07:00
XhmikosR 6589408a4b Update scripts. 2018-07-11 23:30:46 -07:00
Mark Otto de7bef881e update card columns docs to make copy more accurate
closes #26586, closes #26587
2018-07-11 23:30:46 -07:00
Mark Otto 5a11ba5d6b clarify docs dev and add 4.0 link 2018-07-11 23:30:46 -07:00
Mark Otto aedd700768 change dist to only affect main since docs css isn't distributed 2018-07-11 23:30:46 -07:00
Mark Otto 4518288c7c Move copy tasks back to css-main and js-compile so docs-github task runs properly 2018-07-11 23:30:46 -07:00
Mark Otto 159aebc274 Update watch scripts to properly copy JS files
- Updates nodemon scripts to watch specific directories instead of ignoring several
- Split watch tasks for CSS and JS into main and docs
- Add docs-watch script to serve the docs instead of just build
- Add new start script so that instead of two tabs, one for docs-watch and one for watch, we just run npm start
2018-07-11 23:30:46 -07:00
Mark Otto 01f568d9a5 fixes #26637 2018-07-11 23:30:46 -07:00
Christian Oliff 50ff31bf51 Optimised Google Analytics Loading 2018-07-11 23:30:46 -07:00
Mark Otto 01c70b11ab new url 2018-07-11 23:30:46 -07:00
Josh Wand a0551c72f3 remove reference to breakpoint-specific gutter widths which are not implemented
see #22944 and #24620
2018-07-11 23:30:46 -07:00
Theodore Dubois df24f880f4 Make navbar download the same as homepage download 2018-07-11 23:30:46 -07:00
Mark Otto 1c92bac655 remove jobs link 2018-07-11 23:30:46 -07:00
Mark Otto 0e920ce3f4 Reorganize docs for easier deploys
With the current docs directory setup, I'm making too many mistakes and have to manually address path changes and directory moves on deploy. This makes for a frustrating experience developing locally and shipping releases. With this PR, we're basically back to the same setup from v3—duplicating the dist directory into our docs directory. Not the most ideal, but very straightforward for me as the release manager.
2018-07-11 23:30:46 -07:00
Mark Otto 9e126b26a8 dist 2018-07-11 21:42:55 -07:00
Johann-S 283ab30164 fix(modal): fix unit test and resetting style 2018-07-11 11:05:38 +02:00
Catalin Zalog cb82394fc8 fix(modal): removes .navbar-toggler margin 2018-07-11 11:05:38 +02:00
XhmikosR e9ec13e974 Update tooltips.md 2018-07-10 23:26:30 +03:00
Simon Podlipsky 591725e838 Document tooltip flickering in combination with some overflow settings 2018-07-10 14:54:45 +03:00
Andrew abb4868626 correct spelling errors (#26837) 2018-07-09 17:59:22 -07:00
XhmikosR 8b50a72f3c Add missing role="button" in .navbar's .dropdown-toggle
Fixes #26830
2018-07-09 14:41:47 +01:00
Mark Otto 5495a19b5a disable to fix ci 2018-07-08 18:43:40 -07:00
Mark Otto b0b28c81e5 add grid docs mention 2018-07-08 18:18:13 -07:00
Mark Otto 7e96979cea fix comment placement, remove unecessary prop wrapper 2018-07-08 17:29:01 -07:00
Mark Otto 0153f7d8cd add docs 2018-07-08 17:28:37 -07:00
Mark Otto f6b4945f1e Merge branch 'patch-1' of https://github.com/garhbod/bootstrap into garhbod-patch-1 2018-07-08 16:46:44 -07:00
Mark Otto 8d8d3ef82a Restore feedback icons on validated form fields
- Only applies to textual inputs and textareas with `.form-control` and selects with `.custom-select`
- Wrap the feedback icons in a Sass variable option, $enable-validation-icons, so folks who theme can disable
- Update docs to summarize styles, mention the icons, include a textarea demo, and add mention of the Sass variable option to the Theming section
2018-07-08 15:31:18 -07:00
Mark Otto c6abb8ca84 class 2018-07-07 20:21:01 -07:00
Mark Otto 17a25b72c8 add table of classes 2018-07-07 20:15:48 -07:00
Mark Otto cc41a5e64f fix docs heading 2018-07-07 19:47:21 -07:00
parammittal16 e77d64b372 Replace shadow with shadow-sm 2018-07-08 06:08:14 +05:30
Mark Otto 5ad1049622 Merge branch 'v4-dev' of https://github.com/malkomich/bootstrap into malkomich-v4-dev 2018-07-07 16:16:43 -07:00
XhmikosR cfc9c85b32 Update devDependencies.
Only bundlesize is kept back for Node.js 10.x compatibility.
2018-07-06 12:39:13 +03:00
XhmikosR 907f9a7ae4 Update gems. 2018-07-06 12:19:17 +03:00
Martijn Cuppens 6f8d322f74 Remove .border-bottom & .border-top classes from examples 2018-07-05 22:42:01 +02:00
Johann-S 09d0c5de0c Merge pull request #26799 from Kirlovon/v4-dev
Fixed logo in README
2018-07-04 09:26:13 +02:00
Kirill Reunov 15a2eeb80f Fixed logo in README 2018-07-03 23:34:49 +03:00
Christian Oliff 35a75eb0d4 OS X is now macOS (#26796)
* OS X is now macOS

* Update browser-bugs.yml
2018-07-03 07:55:07 +01:00
Patrick H. Lauke 7b746028c2 Fix incorrect visibility utility description regarding screen readers (#26786) 2018-07-02 19:52:28 +01:00
Martijn Cuppens edc5597705 Add js maps & tweak docs 2018-07-02 09:49:45 +03:00
Supergibbs ddd33cd957 Support nuget contentFiles, used for some project types 2018-07-01 10:02:09 +03:00
XhmikosR 13b8b9f03a .browserslistrc: add not dead. 2018-07-01 09:56:22 +03:00
Johann-S e57a2f244b fix(tooltip): get tip on placement change 2018-06-25 16:54:14 +02:00
XhmikosR 4112df4125 Add broken-link-checker. 2018-06-25 16:54:06 +03:00
jakubhonisek 49e094619b feat(dropdown): add original click event 2018-06-25 15:29:34 +02:00
Mark Otto bca4ceacc7 dist 2018-06-24 13:13:42 -07:00
Christian Oliff 41ab1c6c9d Fixes Edge and IE label overlapping issue (#25919)
The 'Floating labels' example is only supported on Chrome, Safari and Firefox. On Edge and IE the label is displayed always and any text input overlaps the label which makes it unreadable.

The fix here targets Edge and IE and makes the form behave normally, the labels are hidden and the placeholder color is standard.
2018-06-24 13:11:39 -07:00
Mark Otto d78aac01d6 Update box-shadows on .custom-select (#26754)
- Fixes #25656 where custom selects had the wrong focus shadow
- Fixes #26668 where custom selects had no inset shadow (also closes #26572 which had the wrong form classes on the first example anyway)
2018-06-24 13:07:49 -07:00
Martijn Cuppens d61e3badfd Render inline svg like img (#25874) 2018-06-24 12:01:11 -07:00
XhmikosR a31b23b5ce Move eslint-plugin-compat to the extends array. 2018-06-24 01:45:29 +03:00
Mark Otto eadeab9d1c dist 2018-06-21 22:55:23 -07:00
Martijn Cuppens e59265c42d Remove disabled class from wrapper
`disabled` class is not needed for wrapper.
2018-06-21 18:38:22 +03:00
Martijn Cuppens 1719a2ca42 Update folder structure (#26729) 2018-06-21 18:20:03 +03:00
XhmikosR 29bff9fdd0 Change karma tests to run sequential.
I was getting port in use errors.
2018-06-21 18:02:20 +03:00
XhmikosR 71a37425c9 Update all devDependencies apart from bundlesize and babel.
Newer bundlesize versions still don't work with node.js 10.x.

babel has some bugs that we need to be fixed.
2018-06-21 18:02:20 +03:00
XhmikosR 0db176e44d Update gems. 2018-06-21 18:02:20 +03:00
XhmikosR 84ff56c36d Update package-lock.json with npm 6.3.1. 2018-06-21 18:02:20 +03:00
Martijn Cuppens 919d58e389 Remove inkscape data from brand svgs (#26708) 2018-06-21 16:51:16 +03:00
Martijn Cuppens 7b2372f353 Fix node_modules path (#26653) 2018-06-11 17:03:00 +03:00
sts-ryan-holton 1af5a30d02 Add additional wording to the Introduction section of Bootstrap docs about the bootstrap bundle js (#26688) 2018-06-11 16:14:02 +03:00
Ryan Worth a2920149f4 Negative Margins classes for custom col gutters
Feature request #26681
2018-06-07 16:39:58 +10:00
Christian Oliff 9c3146d0dd HTTPS link (#26663)
saves a redirect
2018-06-05 18:11:08 +01:00
XhmikosR abf5ab7546 Fix markdown code inside HTML code. (#26662) 2018-06-05 15:21:40 +03:00
Patrick H. Lauke 4f1bb98587 Limit .close hover/focus to non-disabled controls (#26654) 2018-06-03 18:25:17 +01:00
Johann-S a79b8aa16a refactor(plugins): query elements without jquery 2018-06-03 11:40:08 +02:00
Martijn Cuppens ffd31f9b8c Stricter stylelint rules 2018-06-02 13:29:44 +03:00
XhmikosR f20d0f43fd sw.js: change to a relative link for the workbox files.
This was broken after the docs refactoring.
2018-06-01 16:03:23 +03:00
Johann-S 96cbb58cb3 chore(bundlesize): increase bootstrap.js max size 2018-06-01 10:30:11 +02:00
Johann-S b1eb3fccfa refactor(plugins): improve how we query elements 2018-06-01 10:30:11 +02:00
XhmikosR 62cc0fda50 Generate safari-pinned-tab.svg again. 2018-06-01 10:42:21 +03:00
Johann-S cc61edfa8a fix(scrollspy): xss in target option 2018-06-01 09:10:25 +02:00
Johann-S 149096016f fix(collapse): xss in parent option 2018-06-01 09:10:25 +02:00
Johann-S 2d90d369bb fix(tooltip): xss in container option 2018-06-01 09:10:25 +02:00
marcosfreitas e3084c3842 Changed Node.js download page (#26638)
Link to the more user-friendly Node download page (rather than just the raw directory view)
2018-05-31 17:36:50 +01:00
Andres Galante e163d18b12 Fix inline labels with a custom select (#26615)
Add an sr-only class to the label on inline labels with a custom select
2018-05-31 10:02:14 +03:00
Christian Oliff 89a47c98b9 https link to editorconfig.org 2018-05-31 09:43:12 +03:00
XhmikosR 976aad0059 Remove the unused docs upload preview stuff. (#26599) 2018-05-27 11:44:29 +03:00
XhmikosR c2b13b9c78 Run coveralls only on Travis and only once. 2018-05-23 13:54:51 +03:00
XhmikosR d557215b5d Update package-lock.json. 2018-05-23 13:54:51 +03:00
Johann-S 9e5be2ed7d fix branch for coveralls badge 2018-05-23 13:54:51 +03:00
Johann-S 31cf1fdd8d Add coverall to follow our coverage 2018-05-23 10:03:09 +02:00
ysds 2ea0a9bba9 Add disabled bg color to disabled custom file 2018-05-23 01:43:53 +03:00
Martijn Cuppens 4dd65f0b38 Custom forms transition 2018-05-23 01:38:12 +03:00
XhmikosR c3da2c8f31 Update again. 2018-05-22 17:26:21 +03:00
Johann-S f2aab5ea99 fix(tooltip): remove useless unit test 2018-05-22 17:26:21 +03:00
Johann-S 0338b61eb6 chore(deps): update qunit and karma-qunit 2018-05-22 17:26:21 +03:00
XhmikosR 0873ab71c7 Update devDependencies and gems.
Downgrade bundlesize until they make brotli optional since it doesn't work with node.js 10.x yet.

So, babel, qunit/karma-qunit and bundle-size aren't the latest versions.
2018-05-22 17:26:21 +03:00
Patrick H. Lauke bea6154108 Fix/add more correct labels/descriptions for input group examples (#26551)
Among other things, closes https://github.com/twbs/bootstrap/issues/26548
2018-05-22 10:52:22 +01:00
Mark Otto b36599cba7 closes #26543, fixes #26542 2018-05-20 15:10:31 -07:00
domq 616ce9b75a Fix double-transition bug (#26452)
By applying the transition: CSS property only to classes that are
active during sliding, we avoid an unnecessary, non-zero-time
animation that although mostly invisible, does interfere with e.g.
z-index based parallax
2018-05-18 18:59:52 +03:00
Varunram Ganesh d6ee126713 [trivial] Rewording in tooltips. Closes #26467 (#26521) 2018-05-15 20:59:51 +01:00
ysds f42ef5fa69 fix(doc): typo in dropdowns.md 2018-05-15 11:33:29 +02:00
parammittal16 8cc6220161 Fix unused box-shadow class 2018-05-12 00:18:37 +05:30
parammittal16 afcbd65afb Fix box-shadow class with built in utility 2018-05-12 00:16:28 +05:30
ysds 788f3e6802 Fix z-index target (#26361) 2018-05-07 11:30:43 +03:00
Brandon e5e6d0c86d Fix heading levels (#26433)
H3 was used without preceding H2, breaking document flow.
2018-05-01 15:34:47 +01:00
Mark Otto 779ad9f174 Bump version to v4.1.1 2018-04-30 09:04:33 -07:00
Mark Otto 496311bf97 dist 2018-04-29 22:22:04 -07:00
Mark Otto 139e89235f Simplify custom file inner height for generated browse button 2018-04-29 17:02:38 -07:00
Constantin Ross 7c53a8a195 Update README.md 2018-04-29 16:34:48 -07:00
David De Sloovere 447f9f6968 Doc update - remove media-breakpoint-up(xs) (#26316)
* Doc update - remove media-breakpoint-up(xs)

If media-breakpoint-down(xl) is not listed, then media-breakpoint-up(xs) does not need to be listed either.
The above 4 media queries are now aligned with the 4 media-breakpoint-up mixins (just like their media-breakpoint-down counterparts).

* Improve media-breakpoint-up/down docs
2018-04-29 16:02:21 -07:00
XhmikosR c11132351e Add comment in docs JS files. 2018-04-27 10:22:58 +03:00
XhmikosR 30cb1a2715 Pass docs version to search form and switch to the new index.
Also, move the search code to a separate file.
2018-04-27 10:22:58 +03:00
Patrick H. Lauke b5988a4430 Change accordion example id (#26391)
for clarity/consistency with other similar examples
2018-04-26 15:51:54 +01:00
Varunram 4bc5cc149a Closes #26300: Add cursor pointer to carousel indicators 2018-04-23 21:55:45 -07:00
ysds 74057dcc8e Remove unnecessary resetting of left round (#26238) 2018-04-23 21:55:10 -07:00
Mark Otto 793698a6a9 add validation styles for .form-control-file (#26181) 2018-04-23 21:54:40 -07:00
nickg 755fdacd40 Replace reboot monospace hack with system font stack 2018-04-23 21:53:37 -07:00
ysds 3d0d5f1247 workaround for IE that check indicator does not appear (#25944) 2018-04-23 21:52:59 -07:00
Martijn Cuppens 0ee779b6fc Print color fix dark tables and dark theads (#26193) 2018-04-23 21:51:48 -07:00
XhmikosR 9faf8e8545 Update Jekyll to 3.8.0. (#26352) 2018-04-22 10:16:44 +03:00
Johann-S ee382915be detect test exceeded maximum duration on Sauce Labs 2018-04-19 15:19:34 +02:00
Mark Otto 1470e11ade typo 2018-04-17 10:30:16 -07:00
Mark Otto 7d8dc4f5b2 Be explicit in the docs for deprecating text-hide 2018-04-17 08:33:44 -07:00
XhmikosR 6199871d15 Update devDependencies. (#26322) 2018-04-17 15:32:08 +03:00
XhmikosR b88f073806 Update devDependencies. (#26309) 2018-04-16 13:15:56 +03:00
Alexander Rechsteiner 056e28d9e0 Suppress text-hide deprecation warning (#26242) 2018-04-16 09:45:07 +03:00
XhmikosR 555333a20e breadcrumb.md: Remove trailing space. 2018-04-16 09:37:58 +03:00
XhmikosR 5fd67a6f86 Bump version to 4.1.0 for remaining files. 2018-04-16 09:37:58 +03:00
Varunram Ganesh 31004582bf Resolve #26262: Add deprecated warning (#26292) 2018-04-16 09:27:06 +03:00
Patrick H. Lauke e000933c17 Remove dialog from the HTML5 shim style (#26269)
`<dialog>`, in browsers that support it, has user agent styles of `dialog { display:block; ...} dialog:not([open]) { display:none; }`
by forcing it to `display:block` in the shim, the dialog is shown even when closed. There's no clean way to shim this for non-supporting browsers,
but arguably these browsers would have further problems with pure `<dialog>` usage anyway, and it's up to authors to then use different elements/shims.
2018-04-16 00:25:39 +01:00
Varunram Ganesh 871e0838a4 [trivial] Correct typos (#26297) 2018-04-14 08:41:18 +01:00
Johann-S ba10b63c9d fix issue related to Object.keys and Dropdown issue 2018-04-13 18:59:30 +02:00
Swardu c3caf7ee4e Docs/examples: change links to Sass documentation and example.com to https 2018-04-12 11:56:33 +01:00
MietekN 418fd76ba9 modal use global scope for default 2018-04-12 11:21:10 +02:00
denisname 5be2cd3d6c Dropdowns display default value (#26272) 2018-04-12 09:42:36 +02:00
Laussel Loïc 5f546f5708 update README.md - debug search option is now in application.js (#26263) 2018-04-11 17:08:34 +03:00
ruedap ee1a22812b Fix incorrect value of Stylelint option (#26192) 2018-04-10 15:40:01 +03:00
XhmikosR ee91fdbf14 Update dependencies and gems (#26234) 2018-04-10 15:35:18 +03:00
Jonathan 24ba91b129 Fix incorrect class name (#26239)
Fixes #26235
2018-04-10 15:05:42 +03:00
Johann-S 0871d69ec9 v4 improve coverage (#25945)
* Improve code coverage for our Button plugin

* improve coverage for our Alert plugin

* test tooltip update method

* test update and dispose for dropdown

* increase code coverage requirements
2018-04-10 09:28:29 +02:00
XhmikosR 875ed0b975 Clean up globals.
Also, add a missing license header in build/workbox.js.
2018-04-09 22:44:22 +03:00
Mark Otto 8f7bd41993 Ship v4.1.0 (#26218)
* update docs path from docs/4.0/ to docs/4.1/

* bump version to 4.1.0

* Update redirects to work for 4.1 docs move

* Update docs version switcher to include latest and link to 4.0 docs

* re-run dist

* Update package-lock.json

* Update docs-navbar.html
2018-04-09 09:00:23 -07:00
XhmikosR 91730a644f vnu.jar: Ignore all wrong language code warnings. 2018-04-08 14:17:20 -07:00
Mark Otto 7748ae909e closes #26213 2018-04-07 11:59:46 -07:00
Mark Otto 4880385b8f Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2018-04-05 14:08:18 -07:00
Mark Otto 013a7489d9 add examples to theming docs section on css vars in media queries, closes #26205 2018-04-05 14:08:13 -07:00
Jason Quense 2d941d034e Remove note about multiple inputs (#26194)
* Remove note about multiple inputs

* patchs the PR and removes the word Also
2018-04-05 14:03:54 -07:00
XhmikosR d8a39c9989 docs: Switch to StackPath's URL.
While the old one will keep working, better switch to the new one.
2018-04-05 13:19:17 +03:00
XhmikosR 10c64bdae8 Fix broken URI fragments and redirects. 2018-04-02 19:19:09 +03:00
XhmikosR 95cdfa2a65 Use https when possible. 2018-04-02 19:19:09 +03:00
Mark Otto 98cad665bb dist 2018-04-01 18:21:41 -07:00
Patrick Yeo 4f35e53216 Pagination move .page-link:focus outline value to variable $pagination-focus-outline so we can unset it via Sass and don't have to re-implement browser defaults 2018-04-01 18:16:49 -07:00
Martijn Cuppens a55d1b27c5 Allow non-string content as breadcrumb divider (#25581)
* Allow url(), attr(), none,... as breadcrumb divider
* Update breadcrumb divider docs
2018-04-01 18:15:57 -07:00
Mark Otto 9747429424 Update offcanvas example for IE support
- Replaces CSS variables with their appropriate hex values
- Fixes the broken navbar transition by moving from 2D translates to using position
- Fix broken IE navbar toggler placement with some utilities (not necessary anywhere else, but necessary given flexbox quirks)
2018-04-01 18:15:06 -07:00
Mark Otto e47fb40ff2 Dashboard updates (#26179)
* Update Dashboard example

- Replaces .sticky-top on .navbar with .fixed-top
- Adjusts padding on main content area and sidebar to account for fixed navbar
- Move to padding in sidebar instead of top: 48px; fixes Firefox rendering issue
- Adds new .shadow utility for a little extra cherry on top
- Moves sticky styles to separate feature query ruleset to avoid IE rendering issues

* Add .w-100 to chart to fix IE horizontal scroll from label that extended past viewport
2018-04-01 18:14:07 -07:00
Tom Swirly a0c7473a34 Tiny grammar and punctuation tweaks to a comment.
1. It's == "it is"

2. The subject of the sentence is "Only one" (not "these") so the verb must agree with it.

Feel free to do nothing with this change, use it, etc - I just saw this while reading through the code.
2018-04-01 23:08:58 +03:00
Mark Otto 0b58340f14 docs edit suggestion 2018-04-01 12:58:03 -07:00
Mark Otto 07a302a33b dist 2018-03-31 22:15:15 -07:00
Mark Otto 98763f1f85 Deprecate .text-hide (#26173) 2018-03-31 22:10:32 -07:00
Mark Otto dd7ed79856 Add box-shadow utilities (#25758) 2018-03-31 22:07:48 -07:00
Mark Otto a016cbd6a8 Mention browserslist config in our docs to close #25429 2018-03-31 22:06:41 -07:00
Mark Otto 74490346ff Add new .flex-grow and .flex-shrink utils 2018-03-31 22:05:09 -07:00
Mark Otto 474698f41b Fix Chrome's rendering of .card-columns
Uses orphans/widows trick from @fran-worley at https://github.com/twbs/bootstrap/issues/20925#issuecomment-333492739.

Fixes #20925.
2018-03-31 22:04:14 -07:00
Mark Otto b72bd051ab document new text color utils 2018-03-31 22:02:47 -07:00
Mark Otto 3417c54ad7 add 50% translucent black and white text 2018-03-31 22:02:47 -07:00
Mark Otto 4f05e3b735 add .text-body, fixes #25412 2018-03-31 22:02:47 -07:00
Mark Otto 9f5f51d871 Close #25697
Removes the .justify-content-between from a navbar form example given it's the default style. Instead, mention how to adjust this and link to flex utils.
2018-03-31 22:02:02 -07:00
Martijn Cuppens 12708d329a Remove navbar align 2018-03-31 21:59:54 -07:00
Mark Otto 185666fd79 Add .text-monospace util 2018-03-31 21:58:57 -07:00
Mark Otto b2e423f54d fixes #25343 by mentioning how collapse animates in docs 2018-03-31 18:36:10 -07:00
Mark Otto abe44dcc5b Add small not to float docs about mixing with flex items
Closes #25829, closes #25924
2018-03-31 15:07:26 -07:00
Mark Otto b744ba2c08 dist 2018-03-31 13:59:37 -07:00
Mark Otto cf71363649 fixes #25918 2018-03-31 13:55:40 -07:00
Martijn Cuppens 902788efc4 Correct children selector 2018-03-30 13:01:13 -07:00
XhmikosR 5660c97cc4 Revert "docs: Switch to StackPath's URL."
This reverts commit 70520855e8.
2018-03-30 10:59:10 +03:00
XhmikosR 70520855e8 docs: Switch to StackPath's URL.
While the old one will keep working, better switch to the new one.
2018-03-29 21:42:15 -07:00
Varunram 50f6160b4e Add .bg-transparent to docs 2018-03-29 21:36:26 -07:00
Johann-S fd57d371f8 fix bundle and run test against it 2018-03-29 21:21:31 -07:00
Nat Zimmermann 9cdb7a8301 Fix spacing between Item and numbers 2018-03-29 23:34:29 +03:00
XhmikosR 9efcf3ad4b Fix duplicate main element. 2018-03-27 14:53:43 +03:00
vsn4ik 68db42c9f8 Fix skip element disabled via attribute when using keyboard navigation 2018-03-26 09:37:25 +02:00
XhmikosR 2cd700313d Remove the local jquery-1.9.1.min.js. 2018-03-21 12:15:47 +02:00
XhmikosR f5e16ceccc tests: load 3rd-party libs from the local node_modules folder.
This reduces duplication and the chances to forget to update something.
2018-03-21 12:15:47 +02:00
Johann-S 012d4433c2 fix rollup config 2018-03-21 12:15:47 +02:00
XhmikosR e0ab096bac Update all devDependencies.
Kept back karma-qunit and qunitjs because tests fail.
2018-03-21 12:15:47 +02:00
XhmikosR c8d7eecab3 Update workbox.js 2018-03-21 12:15:47 +02:00
XhmikosR 002cd8fc9a sw.js: fix TypeError with new workbox. 2018-03-21 12:15:47 +02:00
Michael 7dc41e299b Update to workbox 3.0 & fix breaking changes 2018-03-21 12:15:47 +02:00
XhmikosR 1615a76f83 Use sinon from cdnjs. 2018-03-21 12:15:47 +02:00
XhmikosR 7d3ca1b2ea tests: use QUnit from the jQuery CDN. 2018-03-21 12:15:47 +02:00
XhmikosR 1a40784ab8 Update dependencies. 2018-03-21 12:15:47 +02:00
Johann-S 9191fa73df throw error when coverage is under our thresholds 2018-03-21 07:04:24 +01:00
Johann-S bedc96e48b Use transitionEnd in QUnit since we moved away from PhantomJS 2018-03-20 15:56:51 +01:00
Mike Rogers 2306f62bf1 Making use of prefers-reduced-motion media query (#25641)
* Making use of `prefers-reduced-motion` media query

As discussed in #25249 - if a user (Who is using Safari / iOS) requests
reduced motion in their system settings, we should avoid transitions.

* Ignoring prefers reduced motion for CSS Linting
* Updating copy clarifying the reduce motion functionality in accessibility.md
2018-03-20 09:28:21 +00:00
Mark Otto c53825d902 Separate issue templates, add support doc (#25705)
* Update issue template to break down by bug and template, add support doc to close #23133

* add links from readme for bug and feature templates
2018-03-17 16:44:58 -07:00
Ethan Beyer 00304d2003 theming.md Typo Fix (#25875)
it's ≠ its
2018-03-16 22:18:46 +00:00
Varunram Ganesh 4b948bfdee Update vertical pills example (#25852)
Add the column/grid to the example code (which is what makes it vertical in the first place)
2018-03-16 11:38:29 +00:00
John Bennet Veloya f194b9db75 Fix order of Save/Close buttons in modal code example (#25855) 2018-03-15 22:18:30 +00:00
XhmikosR b9577a1cf7 Alternative solution.
Rely on `site.url` which is different for production. In that case do nothing with the search result, otherwise when in development remove our url from it.
2018-03-14 21:06:17 +02:00
m5o 483e49e3c6 Enable docsearch in development env.
Previously a search redirected to `https://getbootstrap.com/...`
2018-03-14 21:06:17 +02:00
m5o d01b4eb025 Remove custom example plugin. (#25784) 2018-03-14 17:44:38 +02:00
Varunram Ganesh 03b7f52e82 Document .form-control-range. (#25839) 2018-03-14 01:06:43 +02:00
Johann-S 4d5c5923fa Add Sinon to do better unit test 2018-03-13 15:37:11 +01:00
XhmikosR c98ece5490 approach.md: Use normal apostrophes.
They are converted when building.
2018-03-13 14:51:11 +02:00
XhmikosR dea778f4f5 approach.md: Fix empty link. 2018-03-13 14:51:11 +02:00
XhmikosR a93830c9fd saucelabs-unit-test.js: tweak failed tests message (#25836) 2018-03-13 14:08:56 +02:00
Johann-S 2c41b0aea6 fix get the transition duration parent 2018-03-13 12:57:44 +01:00
Martijn Cuppens 1fadad1c33 Variable transition durations (#25662) 2018-03-13 09:59:20 +01:00
Stephen Beemsterboer 1859595cb6 Clarify the necessary data-target/href attribute for carousel controls (#25690) 2018-03-13 09:31:37 +02:00
m5o b9628d0642 Use bugify without custom Jekyll plugin (#25334) 2018-03-12 23:08:44 +02:00
XhmikosR 836de9ccfa callout.html: drop whitespace and better usage comment. 2018-03-12 21:50:21 +02:00
m5o b5e6eb22a6 Use callout without custom Jekyll plugin. 2018-03-12 21:50:21 +02:00
ysds 7b2427cc6b Rename .custom-file-control to .custom-file-label (#25736) 2018-03-12 19:51:27 +02:00
ysds 14f712601e Add basic position to dropup/right/left and dropdown-menu-right (#25400) 2018-03-12 19:44:05 +02:00
Peter Etelej fb15575ec5 Disable link functionality on disabled btn-link (#25645)
Future-proof disabling of clicks on disabled `btn-link`. Fixes #25639
ensuring consistency between `btn-link` `<button>`s and `<a>`s when disabled.
2018-03-12 19:36:25 +02:00
ysds 5b0e40b625 Fix examples' issues #25664 and #25388 (#25665)
* Prevent sign-in form from going outside viewport (#25388)

* Workaround IE centering bug
2018-03-12 19:29:45 +02:00
Jacob Müller 27f553c965 Replace "loose" HEX values with their respective variables (#25672) 2018-03-12 19:19:37 +02:00
Léo Andrès f4051abc12 Clean shell scripts (#25704) 2018-03-12 18:59:57 +02:00
Alexander Hjorth 6d7d91ef3b Allow customization of breadcrumb border radius (#25807) 2018-03-12 18:55:47 +02:00
ysds 50220acde4 Fix caret alignment (#25719) 2018-03-12 18:51:00 +02:00
m5o 21061a02ce re-use gray for bd-example border / background (#25751) 2018-03-12 18:46:35 +02:00
Martijn Cuppens f893ec7a75 Collapse with flex elements - simple approach (#25806)
* #22600: prevent display:block for visible content

* allow transition for elements with show class
2018-03-12 18:40:30 +02:00
Varunram 87065772b1 Fix #25813 by adding extra columns to table 2018-03-12 13:38:09 +05:30
m5o 2b86193591 add Icons8 to icon options (#25763)
[Icons8](https://icons8.com/) is a great resource for icons.

They provide 15 different icon styles, exportable as fonts or svg
2018-03-08 14:38:48 +02:00
Catalin Zalog 2ccb5492a7 style: align some vars (#25785) 2018-03-08 14:28:32 +02:00
Robert Martin 817b80d54b Update webpack.md
Minor edits for style and consistency
2018-03-08 09:20:00 +01:00
Johann-S fb60a4a986 Add a bit of documentation on how to run the code coverage (#25783) 2018-03-06 07:35:28 +02:00
Johann-S e43f97304e add code coverage 2018-03-05 10:04:54 +01:00
XhmikosR b7a549c8c3 Update devDependencies and gems. (#25708) 2018-03-05 09:14:58 +02:00
Mark Otto e9412e7fe4 Update blockquote migration docs to reflect #22949
Fixes #25669, closes #25779.
2018-03-04 11:16:54 -08:00
Mark Otto c0e1f7dc6e Fix #25746 2018-03-04 11:07:31 -08:00
Mark Otto a651d7337b dist 2018-03-03 14:10:49 -08:00
Adam Kolinski 49d0a4e99c Adding a variable to handle the change of a modals border-radius. (#25691) 2018-03-03 13:06:54 -08:00
Isma ae1a068d02 Replace img-fluid by w-100 to conform with HTML 2018-03-03 13:06:00 -08:00
Ed Morley b33316dba3 Fix leftover reference to v4.0.0-alpha.6
Running `./build/change-version.js v4.0.0-alpha.6 v4.0.0` fixed this,
so the version change script works fine. I'm presuming instead this
change was just omitted from 35f80bb12e, and then wouldn't have
been caught by subsequent runs of `change-version`, since it only
ever replaces the exact old version string specified.
2018-03-03 21:07:35 +01:00
Jos Maissan 6431d746bc display on xl viewport
See issue #25711
2018-03-01 22:32:36 -08:00
m5o 34bc00ddbe docs skippy partial (#25750)
* load skippy markup from includes
2018-03-02 01:44:40 +02:00
Martijn Cuppens 29f178d891 Remove unused variable (#25670)
This variable is not used anywhere.

Leftover from #18373.
2018-02-25 11:22:50 +02:00
Peter Blazejewicz c9b194ae21 Add tabindex attribute to disabled buttons sample. Closes #23361 (#25680)
As discussed in issue's comment:
https://git.io/vAuPW

Thanks!
2018-02-24 23:15:19 +00:00
Mark Otto 9cf3ebbf2b Fixes #25703 2018-02-24 12:46:23 -08:00
Mark Otto f3cec5e7f9 dist 2018-02-24 12:44:44 -08:00
Mark Otto b8bfd26358 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2018-02-24 12:38:51 -08:00
daviddalbusco 6708c4dba5 Fix typo of example in hiding doc 2018-02-24 12:23:14 -08:00
Martijn Cuppens d1bd5fb591 Add focus states to custom docs buttons 2018-02-24 12:22:59 -08:00
Adam Bowles 20c2d0fec6 Remove disabling of stylelint rule
This file no longer has intentional indentation errors
2018-02-24 12:22:38 -08:00
Peter Blazejewicz 4752159939 Brush up vertical rhythm of form-check in docs. Closes #25546
This adds `form-group` to add the same vertical space to the `form-check` as in other grouped controls
used in form sample markup.

Thanks!
2018-02-24 12:22:20 -08:00
Martijn Cuppens 8cfbf6933b Consistent usage of $(document.body) instead of $('body') (#25671) 2018-02-21 09:01:02 +01:00
Mark Otto 99379f3843 make it a var 2018-02-19 18:15:44 -08:00
Mark Otto c9f63c2eb8 Merge branch 'nav-divider-mixin' of https://github.com/ysds/bootstrap into ysds-nav-divider-mixin 2018-02-19 18:14:50 -08:00
Mark Otto 982aeea1f7 Merge branch 'accordion-borders' of https://github.com/andresgalante/bootstrap into v4-dev 2018-02-19 15:04:55 -08:00
Mark Otto 6a52ebfe1a dist 2018-02-19 14:50:56 -08:00
ysds 33f3ba33c2 Add color variable for caption (#25657) 2018-02-19 14:42:54 -08:00
Pierre GIRAUD 24a5376a14 Be more explicit where to find variables (#25624)
* Tell where to find the variables to override

* Be consistent with path to _variables.scss

* Get rid of some 'our' in the doc

Replaced by 'Boostrap's' when relevant
2018-02-19 14:42:26 -08:00
Mark Otto 470b4472c6 Custom range input (#25600)
* added the styling

* added the documentation

* update for one rule per line

* fix hound error: trailing whitespace

* trimmed off vendor prefixes

* Add note about track and thumb

* Psuedo-elements must be split across multiple rulesets to have an affect

* Fix firefox inner focus

* Seems that FF is the only one affected by this

* Add support for gradients

* Add labels, clarify min/max changes

* add step example

* add custom range vars
2018-02-19 14:40:59 -08:00
Martijn Cuppens 3dd0bde664 Fix carousel transition duration (#25218) 2018-02-19 10:10:25 +01:00
Patrick H. Lauke c381d19965 Add type="button" to <button>s in accordion example (#25643)
For consistency. Closes https://github.com/twbs/bootstrap/issues/25642
2018-02-16 17:37:09 +00:00
Patrick H. Lauke 73357f9430 [Docs] Clarify suggested use of custom validation styles, add note about resetting form appearance after validation (#25628)
* Expand/clarify recommendation for using custom validation styles

Seems support for correctly announcing browser default navigation bubbles/notifications has improved recently. Now it seems only Chrome (at least on Win and Android, not tested on macOS) is the odd one out.

However, we should really make sure the custom validation messages are also tied correctly to their relevant form controls - need to dig out the PR that will ensure that.

* Add note about resetting form appearance after submission

xref https://github.com/twbs/bootstrap/issues/25626
2018-02-16 11:07:36 +00:00
Patrick H. Lauke cd7f252bdb Reword alert and list group text to avoid "a/an" problems
Closes https://github.com/twbs/bootstrap/issues/25611
2018-02-14 01:06:36 +00:00
Andy Pickler 27e670a4c3 Update position.md (#25607)
2 small typos
2018-02-13 13:25:29 +00:00
Martijn Cuppens 0205fc8bdb Prevent word-wrap (#25248)
Fixes #25235
2018-02-11 16:46:54 -08:00
Johann-S 65ae622d40 Dropdown - Allow to disable Popper.js style (#24092)
* Dropdown - Allow to disable Popper.js style

* Update dropdown.js

* Update dropdown.html

* copy changes
2018-02-11 16:45:59 -08:00
in-in ba878eb542 Update stylelint config to add missing properties (#25572)
* add missing properties

list of new properties:
align-content
animation-fill-mode
appearance
column-count
column-fill
column-gap
column-rule
column-rule-color
column-rule-style
column-rule-width
column-span
column-width
columns
direction
fill
flex-shrink
orphans
page-break-after
page-break-before
page-break-inside
perspective
src
stroke
unicode-bidi
widows

* fix invalid JSON config

add curly brackets

* Update .stylelintrc
2018-02-11 15:16:22 -08:00
Mark Otto 8dd1fe3893 Fix border-radius on Browse button for custom file input inside input groups (#25356) 2018-02-11 15:09:05 -08:00
Mark Otto 98111214c2 Update .sr-only mixin and utility (#25197)
* Remove clip-path from .sr-only utility as it causes perf regressions in Chrome

* change snippet to example
2018-02-11 15:05:50 -08:00
Mark Otto e373fbea92 dist 2018-02-11 14:53:29 -08:00
m5o f81f419b22 set color to form-control-plaintext (#25565)
* set color to `.form-control-plaintext`
* fixes readability on dark themes like ‘darkly’
  * https://bootswatch.com/darkly/index.html#forms
  * https://bootswatch.com/slate/index.html#forms
  * https://bootswatch.com/superhero/index.html#superhero
  * https://bootswatch.com/solar/index.html#forms

/cc @thomaspark
2018-02-11 14:25:36 -08:00
ysds 3ffe4f82b7 Update themeing docs for more clearly how to remove from map (#25589)
* Add note about insert position of "map-remove"

* Use optional keys instead of required keys
2018-02-11 14:24:47 -08:00
m5o 37ed1d0829 use $input-bg for $custom-select-bg (#25564)
* use $input-bg for $custom-select-bg
2018-02-11 14:24:18 -08:00
Andres Galante 49954d5e6c Create a variable for label margin bottom (#25561) 2018-02-11 02:21:42 +02:00
Jesse Mandel 54a43a7247 Remove show class from example code (#25570) 2018-02-11 02:12:15 +02:00
ysds eca9c983f7 Fix the incorrect id in center modal example 2018-02-09 16:05:21 +00:00
freezy 2dc9c76d75 Enable scss/dollar-variable-default rule (#25542)
This checks if all variables are `!default`.
2018-02-07 15:28:35 +02:00
XhmikosR 9057d8da16 Update devDependencies and gems. (#25551) 2018-02-05 20:12:51 +02:00
Mark Otto 0f8145af20 Clarify migration docs to remove mention of .table-responsive being for the parent element vs the table element itself (#25539) 2018-02-03 10:02:14 +02:00
Martijn Cuppens 5158338b7c Fix pagination buttons hover z-index (#25532) 2018-02-03 09:54:08 +02:00
Mark Otto 24ab1fcf42 close #25534 2018-02-02 22:38:01 -08:00
Mark Otto c68d26baa2 Override .custom-select width in .form-inline (#25414)
Fixes #25413
2018-02-02 14:25:47 +02:00
ysds e216c8833c Examples: Prevent focus into closed offcanvas (#25524)
* Prevent focus into closed offcanvas
2018-01-31 16:43:27 +00:00
Bardi Harborow 399ae311b9 Add FontAwesome to icon list. (#25451) 2018-01-31 10:31:46 +02:00
Jan Clarin 87e5fa1184 Clarify stacked-to-horizontal in layout/grid.md (#25520)
- Fixes typo with "with at" in "horizontal with at the small breakpoint"
2018-01-31 10:22:14 +02:00
ysds 8adb533fe1 Fix "CVV" label pointing to wrong field (#25518) 2018-01-31 10:16:32 +02:00
Richard van Laak 38fc5cf7f7 Replace unicode character in _hover.scss (#25503) 2018-01-30 18:49:31 +02:00
Ryan Cleary 0a4c0a527d Fix example Blog post card text overflowing for medium screen size. (#25416) 2018-01-30 10:33:55 +02:00
XhmikosR e559034d36 Update devDependencies and gems. (#25502) 2018-01-30 10:17:35 +02:00
exige81 f76e1f6a25 Fix typo in approach.md (#25492) 2018-01-28 15:20:25 -08:00
XhmikosR 5068b437a4 Update jQuery to v3.3.1. (#25398) 2018-01-23 08:18:33 +02:00
M. Appelman 3e2fbd5fb0 Fix typo in navs.md (#25404) 2018-01-23 08:04:36 +02:00
XhmikosR 96a9e98e49 Update devDependencies. (#25371) 2018-01-22 14:40:50 +02:00
Mark Otto 663057d441 Feature: Add carousel fade option (#22958)
* Move helpful code comments

* Add .carousel-fade option to Sass

* Document example of the fade carousel

* more logical warning of the .active class on carousel items
2018-01-21 22:51:08 -08:00
Mark Otto d402183014 v4.1: Add .dropdown-item-text (#22965)
* Add .dropdown-item-text class

* Add example of plain text within a .dropdown-menu, too

* reorganize, simple/clearer headings
2018-01-21 22:40:55 -08:00
ysds d824bdf4d8 Allow to customize vertical margin of nav-divider mixin 2018-01-22 09:54:06 +09:00
Taufek Johar 2b42ef0db2 Add CSS Utility for auto width and height Properties (#24249)
Currently bootstrap only provides 4 variations of `width` and `height` css utilities, which are:

1. 25%
2. 50%
3. 75%
4. 100%.

Here, I'm adding `auto` to the list. This is useful when we need to reset the width/height value
back to the browser default value at some point.
2018-01-21 12:28:22 -08:00
Mark Otto 8374f542be Document .flex-fill class in flex utils 2018-01-21 12:16:17 -08:00
Pierre-Denis Vanduynslager 2137d61eac Add missing flex-fill utility 2018-01-21 12:16:17 -08:00
Mark Otto 3be511264c Use variables for theme-color-level function
Closes #25313
2018-01-21 12:15:12 -08:00
Johann-S 5a6be71791 Remove escaping selector and add a warning to inform folks to escape their selectors (#25390) 2018-01-21 22:02:16 +02:00
denisx db70164d13 ignore case (#25373)
Less on 2 symbols
2018-01-21 21:51:49 +02:00
719media bd9084d249 Update dropdown.js to allow referenceElement (#25219) 2018-01-21 19:09:23 +01:00
Mark Otto a098de125f tweak html 2018-01-20 15:11:19 -08:00
Mark Otto 3a6ab45b78 rearrange and override extra borders 2018-01-20 15:10:19 -08:00
Mark Otto f800383e7d Merge branch 'borderless-table' of https://github.com/Varunram/bootstrap into Varunram-borderless-table 2018-01-20 15:06:02 -08:00
Mark Otto d5b10c9fc7 dist 2018-01-20 12:16:37 -08:00
vsn4ik 6b48747e61 Remove -Pre from Nuget install 2018-01-20 12:01:02 -08:00
Andrew Luca 2b8b062540 Allow to change .table-striped odd or even (#25333) 2018-01-19 19:34:49 +02:00
m5o 0f53402fc0 Use Jekyll's markdownify filter instead of a custom plugin (#25319) 2018-01-19 19:30:17 +02:00
Christian Oliff ee4988164e Remove mention of disabled buttons support for Opera 18 (#25357)
Opera 19 was released in January 2014 and auto-updates so I suggest no need to mention about browser support for this old version.
2018-01-19 19:24:04 +02:00
Christian Oliff 47028b6359 Correct capitalisation of PayPal (#25362) 2018-01-19 19:18:45 +02:00
Mark Otto 8a628b943c Remove -Pre from Nuget install info since we're stable now /cc @supergibbs 2018-01-18 10:29:48 -08:00
Mark Otto 572d00ac7e Bump version to 4.0.0 2018-01-18 10:24:51 -08:00
Christian Oliff bffa438f8e Update progress.md (#25355)
Removed '**Animated progress bars don't work in Opera 12**—as they don't support CSS3 animations.' note.

Bootstrap 4 doesn't (and doesn't need to) support the ancient Opera 12 released in 2012 with a 0.04% marketshare so no need to mention.
2018-01-18 11:50:43 +00:00
Mark Otto 45d2f2e954 Restore sidebar nav link to Approach page 2018-01-17 23:00:27 -08:00
Mark Otto 20a9c7fb55 dist 2018-01-17 17:37:06 -08:00
XhmikosR 91d584636a Improve examples' screenshots compression.
Convert them to 8-bit and compress them with optipng and zopflipng.

Before: 902 KB (923,969 bytes)
After:  431 KB (441,372 bytes)
2018-01-17 17:35:48 -08:00
Mark Otto 6902219573 Consistently sized 960x600 wide images. 2018-01-17 17:35:48 -08:00
Mark Otto b00bbf0a56 Only 2-col on sm+ 2018-01-17 17:35:48 -08:00
Mark Otto 9b0fcbf9c3 Prevent print utils from overriding all other display utils (#25269)
* Prevent print utils from overriding all other display utils

Fixes #25221.

I agree with the referenced issue—this is unexpected and also causes a serious bug when mixed with other utility classes. This wasn't an issue in v3 given we had different utilities for hiding that weren't focused on display property.

* Add printing changes to migration docs

* unrelated heading sentence case change

* List out all .d-print- classes
2018-01-17 17:29:28 -08:00
Mark Otto a0936c326f Outline button hover color (#25339) 2018-01-18 01:45:25 +02:00
ysds b1a754863e Use .list-group-item-action for list group item variant (#25338) 2018-01-18 01:36:57 +02:00
Andrew Luca 4c96f58e31 Fix input height border (#25331)
When changing `$input-border-width`, `$input-height-border` does not change and `select.form-control` `custom-select` `custom-file` will still have `$input-height` which is resolved from `$input-btn-border-width`

This will work in cases when want controls with border, and buttons without.

Temporary fix will be to override 2 variables

```
$input-border-width: 2px !default;

// which is
// $input-height-border: $input-btn-border-width * 2 !default;
$input-height-border: $input-border-width * 2 !default;
```
2018-01-18 01:30:42 +02:00
Mark Otto 18f691567a dist 2018-01-16 20:21:13 -08:00
Casper Bornebusch f4132dba07 Add order-last grid class (#24915)
* Add order-*-last grid class

* copy updates
2018-01-16 09:10:40 -08:00
Gustavo Straube a531b46453 Using the expected variable to set the custom select height. (#25169) 2018-01-15 22:07:05 -08:00
Andrew Luca 814e5b7f57 Extend spacers and sizes (#25101) 2018-01-15 22:01:32 -08:00
Mark Otto d16eb10e49 Mention .input-group-text in migration docs (#25325)
Closes #25231
2018-01-15 21:44:04 -08:00
Mark Otto 2f4e785a8c Adjust language 2018-01-15 21:42:33 -08:00
Mark Otto c8d9c0efcd Merge branch 'form-check-input-validation' of https://github.com/supergibbs/bootstrap into supergibbs-form-check-input-validation 2018-01-15 21:39:27 -08:00
Mark Otto b5039d594b closes #25280 2018-01-15 19:41:07 -08:00
XhmikosR e6d9316ba0 Use the SRI hashes for the live site's assets. (#25282) 2018-01-16 00:56:30 +02:00
Patrick H. Lauke 1f490ec165 Consistently use :disabled rather than [disabled] selector (#25317)
Closes https://github.com/twbs/bootstrap/issues/25316
2018-01-15 20:51:01 +00:00
Mark Otto fa3de5cbd8 Add example of a Spanish translation for custom file input (#25302) 2018-01-15 09:19:12 +02:00
Mark Otto 14bd7d7489 Add display utilities to bootstrap-grid.scss (#25308) 2018-01-15 08:57:10 +02:00
Mark Otto 0d110c8f91 Update copyright for 2k18 (#25303)
* Update copyright range to include 2018

* Extend copyright date range on new files from 2017 to include 2018
2018-01-14 20:08:58 -08:00
ysds bcccfaa5f3 Fixes dropdown snippets (#25301)
* Make dropright snippet the same as demo

* Add missing .dropdown-toggle-split class

* Make clear the split button label the same as demo
2018-01-14 20:08:33 -08:00
Mark Otto eb6db8a3f9 Theming docs update (#25300)
* heading for better linking

* tell folks where to start

* more headings

* required keys section added, closes #25293
2018-01-14 20:07:57 -08:00
Mark Otto ed286e0f3d one more img compression 2018-01-14 16:58:18 -08:00
Mark Otto e946348eca Examples updates (#24898)
* fix cover nav

* Improve signin visuals and alignment with that flexbox love

* rewrite cover example in flexbox

* lighten signin bg

* first pass at pricing example

* redo examples index with data file

* tighten up spacing a bit

* update navbar descriptions

* link pricing

* move that back

* property order

* Fix test errors.

* Compress pricing.png.

* add form validation example

* remove that

* rename that

* restyle and space out

* fix errors

* change order

* cleanup album css and styles

* tweak examples index

* make it a badge

* options

* improve sticky footer alignment

* redesign example index

* brand new blog layout

* start new screenshots

* new product example page a la apple

* add email field

* fix linter, remove unused blog css

* hook up feather icons to start

* redo dashboard

* fix linting

* add floating labels example

* formatting

* formatting

* lint

* fix values on select

* optional input, plus input group

* new dashboard image

* start to reboot the offcanvas example

* updated images

* new offcanvas mostly implemented

* linting

* edit description

* more description changes

* - Add vertical margin to album hero buttons for when they're stacked
- Adjust font-size and padding for pricing header and hero
- Fix checkout's stacked column margins, plus update their check/radio
markup
- Update product's utilities to be responsive
- Made blog cards somewhat responsive (needs a bit more work tbh)

* drop leading zero

* more linting

* swap empty images for holder, fix border

* dist the docs

* navbars have no margin-bottom to begin

* add css var, tweak padding for mobile

* comment headers

* nix commented out code

* nix the navbar structure for a custom one, stack it on mobile

* tweak heading button group for mobile

* Removed narrow jumbotron and justified nav examples as these are easily accomplished with new components in v4

* improve card sizing on pricing

* update and compress
2018-01-14 16:06:52 -08:00
Mark Otto 4a64592dd8 dist 2018-01-14 15:58:16 -08:00
Jason Korth 638953e119 add List Group Flush to List Group docs (#25289)
fixes #25288
2018-01-14 15:46:58 -08:00
Patrick Yeo ffcbdb5a1c Mixin button-outline-variant should retain active box shadow when focused 2018-01-13 19:19:33 -08:00
Mark Otto edfc2e8145 dist 2018-01-13 19:18:41 -08:00
Mark Otto 38271b21d5 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2018-01-13 18:58:48 -08:00
Mark Otto 71550d3c9c Add new Approach docs page (#25165) 2018-01-14 02:34:31 +02:00
Patrick Yeo 17b0472b12 $component-active-bg and $component-active-color are partially useful (#24710)
* Use `$component-active-bg`, `$component-active-color` in custom-control-indicators and pagination for checked, indeterminate, and active states

* Button and Forms focus colors should be based on `$component-active-bg`
2018-01-13 09:56:31 +02:00
Wolfgang Goedel 588227f97f Fixed color for disabled buttons (#25167) 2018-01-13 09:50:25 +02:00
Sander Melnikov 216c7ea20f Fix breakpoint mixins for custom breakpoint maps (#25264)
When using the `media-breakpoint-between` or `media-breakpoint-only`
mixins with a custom breakpoint map – not defined as `$grid-breakpoints`
– the mixin incorrectly defaults back to the global `$grid-breakpoints`
map in certain situations. This commit correctly passes on the
`$breakpoints` argument to the other mixins called within the block.
2018-01-13 09:45:21 +02:00
ysds f4bf0542d7 Add direct children selectors to avoid cascading styles into a menu form (#25279) 2018-01-13 09:40:55 +02:00
Mark Otto 44eedf3e58 Merge branch 'custom-check-disabled' of https://github.com/gijsbotje/bootstrap into v4-dev 2018-01-12 17:32:56 -08:00
Mark Otto 6d8d8639f3 dist 2018-01-11 22:42:40 -08:00
XhmikosR 80d0943b95 Comply to the new rules. 2018-01-11 18:48:46 +02:00
XhmikosR 6d336502c7 Clean up and tweak ESLint rules.
Also, refactor ESLint and stylelint config files; now everything will work from our root dir.
2018-01-11 18:48:46 +02:00
Mark Otto 92cc0aba7b Deprecate hover media query shim and mixins (#25270)
* Deprecate hover media query shim and mixins

Fixes #25195.

This never was completed or fully implemented, and the docs are inaccurate as to what browsers are currently affected by this stickied hover problem. This PR aims to update the docs and deprecate the shim from our mixins and only return the pseudo-classes. To reflect the order of these states used elsewhere (e.g., our button styles), I've also updated the order of each within the mixin.

* Mention in docs and variables that it's deprecated
2018-01-11 10:12:15 +00:00
Patrick H. Lauke 2e15b94888 Remove touch-action:manipulation click optimization (#25250)
Due to a severe performance bug in Chrome (see https://bugs.chromium.org/p/chromium/issues/detail?id=800522) and due to the fact that (with the exception of IE/Edge on Windows desktop with touchscreen) all modern browsers now optimize the click delay away anyway, this optimization is not needed.

Closes https://github.com/twbs/bootstrap/issues/24670
2018-01-11 09:51:44 +00:00
XhmikosR 4a1bc75152 Merge branch 'v4-dev' into custom-check-disabled 2018-01-11 10:49:38 +02:00
XhmikosR bfceedc84a Update devDependencies and gems. (#25192) 2018-01-11 10:48:46 +02:00
Vytas bea31472ea Fix invalid "constraint validation API" URL in docs (#25244) 2018-01-11 10:36:16 +02:00
Christian Oliff d015ab9099 Update browser compatibility note for position: sticky since Edge supports it now (#25229)
The latest shipping version of Edge supports position: sticky and I've successfully tested it with Bootstrap 4 and it works as intended. I added IE10 in place of Edge in that note as I assume that IE10 also has the `position: relative` fallback.
REF: https://caniuse.com/#search=sticky
2018-01-11 10:31:03 +02:00
Vytas 5c53c8e647 Fix variable name in display utility class naming (#25261) 2018-01-11 10:26:32 +02:00
XhmikosR 13be9aa00b Ignore the bogus lang vnu.jar error. 2018-01-11 10:16:12 +02:00
XhmikosR 2f9d4d8ab2 Work around Travis errors by switching to sudo. 2018-01-11 10:16:12 +02:00
Gijs Boddeus ec307bdf4b Merge branch 'v4-dev' into custom-check-disabled 2018-01-10 21:49:10 +01:00
Łukasz 1a231e4bee Check for window before window.QUnit (#25199) 2018-01-08 13:15:22 +01:00
gijsbotje d7dbdf91c6 added variable for the background of checked and indeterminate custom inputs and radios that are disabled
added styles for these cases
2018-01-06 01:14:15 +01:00
Jesse Mandel 20a251a597 Added required checkbox example 2018-01-05 12:24:19 -08:00
Jesse Mandel a05f1d883e add validation feedback/tooltip support to form-check-inputs 2018-01-05 10:55:13 -08:00
Mark Otto 34cd2038d2 dist 2018-01-03 16:03:22 -08:00
Mark Otto 20765b5025 Print tweaks (#25164)
* Add min-width to body when printing

This should address some inconsistencies between browsers when printing. It applies a min-width to the body so that the content better resembles what your might see on your screen. I've made it a variable for easy customizing, too.

* Don't underline buttons when printing

* Add basic print styles for page and body size to create a semi-consistent print experience across browsers
2018-01-03 16:01:03 -08:00
ysds 8184c649a1 Document order-0 (#25191) 2018-01-03 16:47:13 +02:00
Martijn Cuppens a1d134f8a8 Multiple accordion support (#25161) 2018-01-03 16:40:58 +02:00
Patrick H. Lauke 7044ea82c1 Patch fractional viewport widths to work around Safari rounding bug (#25177)
Includes simplifying the prose in `tables.md` and adding the bug to the list of browser bugs.

Closes https://github.com/twbs/bootstrap/issues/25166
2018-01-03 09:42:03 +02:00
Mark Otto 1cfbb8305a Add some documentation on using CSS vars (#25176)
* Add some documentation on using CSS vars

Fixes #25147

* link to MDN doc
2018-01-02 22:58:40 -08:00
Mark Otto 460849ddcd Validation tooltip example (#25143)
* Add additional form validation examples

Fixes #24811.

This adds .valid-feedback to our custom styles and server side examples; previously we ommitted this to suggest you don't always need valid feedback. In addition, this adds examples of the .{valid|invalid}-tooltip classes with a new subsection in the Validation docs.

* Update validation tooltip styles to remove fixed width; instead should retain itself to the parent element

* update ids

* finish docs paragraph, mention position: relative
2018-01-02 21:57:56 -08:00
Martijn Cuppens d66875d0e6 Remove double borders for custom select and custom file
Fixes #25168
2018-01-02 21:57:10 -08:00
Mark Otto 2dc5762f96 Update pagination focus styles
- Drops the hover-focus mixin for standard :hover
- Adds explicit :focus styles to match button, input, etc with a box-shadow
- Adjusts z-index values to ensure the layers go initial, hover, active, focus

Fixes #24838.
2018-01-02 21:49:01 -08:00
Mark Otto e3e4d0389d dist 2018-01-02 21:19:29 -08:00
Mark Otto 1e6a0f4ff3 add example of textarea to docs 2018-01-02 21:18:14 -08:00
Mark Otto 9474d06b1b Merge branch 'patch-8' of https://github.com/gijsbotje/bootstrap into gijsbotje-patch-8 2018-01-02 21:14:02 -08:00
Patrick H. Lauke 8462cc2a19 Expand keyboard advice for tooltips, clarify what manual trigger does in table 2018-01-02 19:35:13 +00:00
Patrick H. Lauke 8bb39f27bd Remove incorrect roles from accordion, tweak/expand accessibility info, use buttons for accordion
* Remove incorrect roles from accordion, tweak/expand accessibility info
* Use `<button>` elements rather than links for the accordion
2018-01-02 18:19:47 +00:00
Andres Galante c0246e926f improves accordion styles 2018-01-02 09:46:07 -03:00
Mark Otto dccd0037d8 improve additive/subtractive border util docs 2018-01-01 20:51:20 -08:00
Mark Otto 750291b251 Darken border color slightly 2018-01-01 20:50:59 -08:00
Mark Otto 7acfa61ec0 Merge branch 'docs-border-utilities' of https://github.com/ysds/bootstrap into ysds-docs-border-utilities 2018-01-01 20:32:44 -08:00
Mark Otto 44eebe40de dist 2018-01-01 20:29:19 -08:00
patrickhlauke 987ae5b8c8 Use <button> elements rather than links for the accordion 2018-01-01 21:59:05 +00:00
patrickhlauke 04bffc36dd Remove incorrect roles from accordion, tweak/expand accessibility info 2018-01-01 21:43:41 +00:00
Gijs Boddeus 48c45992a8 Textarea support for input groups
The append and prepend classes vertically aligned items in the center
For textareas this meant the addon would aling vertically instead of stretch and have it's contents vertically aligned
these changes fix that so everything is aligned how it should be
2017-12-31 15:38:29 +01:00
Martijn Cuppens ae71e71fe1 Allow nested structure for accordions (#25121)
This commit allows nested structures for accordions. Also a part of
the documentation about data-children is removed because this
functionality didn't work and it's not applicable anymore.

Tests with the collapse accordion are also a bit adjusted to the new
situation.
2017-12-31 14:53:33 +02:00
Martijn Cuppens bee859cc9c docs: Fix overflow issue in IE. (#25142) 2017-12-31 14:45:26 +02:00
ysds e290d8f527 Add description about positive border 2017-12-31 15:09:43 +09:00
ysds 863cb131c9 Add positive border utilities 2017-12-31 14:52:02 +09:00
Mark Otto d08eb55dc9 dist 2017-12-30 21:34:23 -08:00
ysds 6b5a2ff626 Apply of #25068 to input group 2017-12-30 20:59:57 -08:00
Andres Galante 5f3856ce29 removes hardcoded value for nav-link padding 2017-12-30 20:58:25 -08:00
Kramb 8c87e019a5 Add modal-dialog-centered class to vertically centered modal example. 2017-12-30 20:57:22 -08:00
Mark Otto 43c551e97d Outline active focus (#25145)
* Base the outline button :active color on the background, fixing a contrast issue

* Only apply focus outline to active when it's focused
2017-12-30 20:55:35 -08:00
Mark Otto 5b8eaffc12 dist 2017-12-30 19:41:36 -08:00
Mark Otto fc942ce310 Mention -file-text change in Migration docs (#25144)
Fixes #25127.
2017-12-31 02:38:09 +02:00
Kevin Ruscoe d90dddf5e0 Add .order-0 to the flexbox grid ordering helpers. (#25137) 2017-12-31 02:28:12 +02:00
Raaj Trambadia 2b41526b4f Remove Entypo from "Preferred Icon Sets". (#25141)
The download link for Entypo (on its website) is invalid. It's a Dropbox link which now results in a 403 error. The website was last updated in 2015 (as seen in the footer).
2017-12-31 02:22:46 +02:00
XhmikosR e0e9bc8b58 Move inline JS outside of HTML. (#25140) 2017-12-31 02:11:59 +02:00
XhmikosR bf0e753517 Update devDependencies and gems. (#25083) 2017-12-31 02:03:22 +02:00
XhmikosR 06d8e58e9f Add docs-github-serve script for local serving the github target. (#25139) 2017-12-31 01:54:42 +02:00
XhmikosR 6a17e639d6 Remove trailing spaces. 2017-12-31 01:42:19 +02:00
XhmikosR 45b649f99d application.js: make the clipboard button selector more restrictive. 2017-12-31 01:42:19 +02:00
XhmikosR a6996ef38e layout/overview.md: fix double copy button. 2017-12-31 01:42:19 +02:00
Mark Otto 3ab82e58e6 drop "simply" and tweak a few other bits 2017-12-30 18:01:36 +02:00
Alberto bcc62232d8 Updated docs for translating "Browse" text into other languages
"Choose file ..." text is now written inside the label tag, so the translation is outside the css scope. 
$custom-file-text variable should only contain "Browse" translations.
2017-12-30 18:01:36 +02:00
Andrew Timson daf9d15e2d Include JavaScript map files in NuGet packages (#25080) 2017-12-30 17:33:28 +02:00
Mark Otto 7adaa2f6ef Update Theming docs for removing map items (#25108) 2017-12-30 17:29:36 +02:00
Andres Galante d62a6d32ca Remove unnecessary align-middle class from Navbar docs (#25116) 2017-12-30 17:19:27 +02:00
Herst 16ee64baf4 Wall of Browser Bugs: position:sticky in Edge done (#25099)
Position: sticky is included in Edge 16
2017-12-30 17:08:58 +02:00
Herst 84c8d5f613 Wall of Browser Bugs: Chrome SVG perf bug (#24673) (#24751)
https://crbug.com/781344
2017-12-30 17:03:46 +02:00
Mark Otto 625736b17b Darken $gray-600 by 10% for AA contrast (#25123)
Closes #23319. Both `.text-muted` and `.btn-outline-secondary` (and indeed all secondary items) make use of `$gray-600`. New value provides a contrast ratio of 4.69.
2017-12-29 21:03:35 +00:00
Mark Otto 8ffbb74e81 Remove margin-bottom on .bd-example (#25048) 2017-12-28 10:47:34 -08:00
Mark Otto 3e0dd5a5d7 Add examples of disabled tooltip and popover triggers 2017-12-28 10:26:43 -08:00
Mark Otto dd621e5511 Improve lint vars output messaging (#25049) 2017-12-28 10:24:08 -08:00
Mark Otto 57083c3042 Expand border utilities to include top, right, bottom, left 2017-12-28 10:23:04 -08:00
ysds b97cb2aa74 Remove blank line 2017-12-28 10:21:14 -08:00
ysds 0b771174d5 Add docs about active menu items (#24993) 2017-12-28 10:21:14 -08:00
Mark Otto ee83a963f3 linting 2017-12-28 10:20:34 -08:00
Mark Otto a6ae1cc50d Move alert theme-color() levels to variables
Closes #24341
2017-12-28 10:20:34 -08:00
Mark Otto be3aa437a1 add note about single vs group 2017-12-28 10:19:27 -08:00
Mark Otto 1171e175c0 Update JS-powered buttons docs to include single button example
Closes #25067
2017-12-28 10:19:27 -08:00
Patrick Yeo d5cbe696da Allow customizing Popover and Tooltip border-radius while I'm at it 2017-12-28 10:18:50 -08:00
Patrick Yeo eaca6c0e44 Allow customizing Popover and Tooltip font-size outside of $font-size-sm 2017-12-28 10:18:50 -08:00
Varunram ab093b90f6 Add borderless table class along with docs. Rebase 2017-10-11 00:01:57 +05:30
Juan Carlos González Cabrero a8b00ddc12 Reduce the width to prevent the modal fills the screen width 2017-01-28 18:26:55 +01:00
Juan Carlos González Cabrero 95dffb3279 Add new extra large size for modal containers 2017-01-28 18:26:55 +01:00
924 changed files with 139260 additions and 66779 deletions
+4 -8
View File
@@ -1,16 +1,12 @@
module.exports = {
presets: [
[
'@babel/env',
'@babel/preset-env',
{
loose: true,
modules: false,
exclude: ['transform-typeof-symbol']
bugfixes: true,
modules: false
}
]
],
plugins: [
process.env.PLUGINS && 'transform-es2015-modules-strip',
'@babel/proposal-object-rest-spread'
].filter(Boolean)
]
};
+11
View File
@@ -0,0 +1,11 @@
# https://github.com/browserslist/browserslist#readme
>= 0.5%
last 2 major versions
not dead
Chrome >= 60
Firefox >= 60
Firefox ESR
iOS >= 12
Safari >= 12
not Explorer <= 11
+66
View File
@@ -0,0 +1,66 @@
{
"files": [
{
"path": "./dist/css/bootstrap-grid.css",
"maxSize": "7.5 kB"
},
{
"path": "./dist/css/bootstrap-grid.min.css",
"maxSize": "6.5 kB"
},
{
"path": "./dist/css/bootstrap-reboot.css",
"maxSize": "2.5 kB"
},
{
"path": "./dist/css/bootstrap-reboot.min.css",
"maxSize": "2.5 kB"
},
{
"path": "./dist/css/bootstrap-utilities.css",
"maxSize": "7.75 kB"
},
{
"path": "./dist/css/bootstrap-utilities.min.css",
"maxSize": "7 kB"
},
{
"path": "./dist/css/bootstrap.css",
"maxSize": "26 kB"
},
{
"path": "./dist/css/bootstrap.min.css",
"maxSize": "24 kB"
},
{
"path": "./dist/js/bootstrap.bundle.js",
"maxSize": "42.5 kB"
},
{
"path": "./dist/js/bootstrap.bundle.min.js",
"maxSize": "22.75 kB"
},
{
"path": "./dist/js/bootstrap.esm.js",
"maxSize": "27.5 kB"
},
{
"path": "./dist/js/bootstrap.esm.min.js",
"maxSize": "18.5 kB"
},
{
"path": "./dist/js/bootstrap.js",
"maxSize": "28.25 kB"
},
{
"path": "./dist/js/bootstrap.min.js",
"maxSize": "16.25 kB"
}
],
"ci": {
"trackBranches": [
"main",
"v4-dev"
]
}
}
+122
View File
@@ -0,0 +1,122 @@
{
"version": "0.2",
"words": [
"affordance",
"allowfullscreen",
"autohide",
"autohiding",
"autoplay",
"autoplays",
"blazingly",
"Blockquotes",
"Bootstrappers",
"borderless",
"Brotli",
"browserslist",
"browserslistrc",
"btncheck",
"btnradio",
"callout",
"callouts",
"clearfix",
"Codesniffer",
"combinator",
"Contentful",
"Cpath",
"Crossfade",
"crossfading",
"cssgrid",
"Csvg",
"Datalists",
"Deque",
"discoverability",
"docsearch",
"docsref",
"dropend",
"dropleft",
"dropright",
"dropstart",
"dropup",
"errorf",
"favicon",
"favicons",
"fieldsets",
"flexbox",
"fullscreen",
"getbootstrap",
"Grayscale",
"Hoverable",
"hreflang",
"hstack",
"jsdelivr",
"Jumpstart",
"keyframes",
"libera",
"libman",
"Libsass",
"lightboxes",
"Lowercased",
"markdownify",
"mediaqueries",
"minifiers",
"monospace",
"mouseleave",
"navbars",
"navs",
"Neue",
"noindex",
"Noto",
"offcanvas",
"offcanvases",
"Packagist",
"popperjs",
"prebuild",
"precompiled",
"prefersreducedmotion",
"prepended",
"printf",
"rects",
"relref",
"rgba",
"roboto",
"RTLCSS",
"ruleset",
"screenreaders",
"scrollbars",
"scrollspy",
"Segoe",
"srcset",
"stickied",
"Stylelint",
"subnav",
"tabbable",
"textareas",
"toggleable",
"topbar",
"touchend",
"twbs",
"unitless",
"unstylable",
"unstyled",
"Uppercased",
"urlize",
"vbtn",
"viewports",
"vstack",
"walkthroughs",
"WCAG",
"zindex"
],
"language": "en-US",
"files": [
"**/*.md"
],
"ignorePaths": [
".cspell.json",
"dist/",
"*.min.*",
"**/*rtl*",
"**/tests/**"
],
"useGitignore": true
}
-3
View File
@@ -9,6 +9,3 @@ indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
+5 -2
View File
@@ -1,3 +1,6 @@
**/*.min.js
**/vendor/*
**/dist/*
**/dist/
**/vendor/
/_site/
/js/coverage/
/site/static/sw.js
+65
View File
@@ -0,0 +1,65 @@
{
"root": true,
"extends": [
"plugin:import/errors",
"plugin:import/warnings",
"plugin:unicorn/recommended",
"xo",
"xo/browser"
],
"rules": {
"arrow-body-style": "off",
"capitalized-comments": "off",
"comma-dangle": [
"error",
"never"
],
"indent": [
"error",
2,
{
"MemberExpression": "off",
"SwitchCase": 1
}
],
"max-params": [
"warn",
5
],
"multiline-ternary": [
"error",
"always-multiline"
],
"new-cap": [
"error",
{
"properties": false
}
],
"no-console": "error",
"no-negated-condition": "off",
"object-curly-spacing": [
"error",
"always"
],
"operator-linebreak": [
"error",
"after"
],
"semi": [
"error",
"never"
],
"unicorn/explicit-length-check": "off",
"unicorn/no-array-callback-reference": "off",
"unicorn/no-array-method-this-argument": "off",
"unicorn/no-null": "off",
"unicorn/no-unused-properties": "error",
"unicorn/prefer-array-flat": "off",
"unicorn/prefer-dom-node-dataset": "off",
"unicorn/prefer-module": "off",
"unicorn/prefer-query-selector": "off",
"unicorn/prefer-spread": "off",
"unicorn/prevent-abbreviations": "off"
}
}
+3 -11
View File
@@ -1,16 +1,8 @@
# Enforce Unix newlines
*.css text eol=lf
*.html text eol=lf
*.js text eol=lf
*.json text eol=lf
*.md text eol=lf
*.rb text eol=lf
*.scss text eol=lf
*.svg text eol=lf
*.txt text eol=lf
*.yml text eol=lf
* text=auto eol=lf
# Don't diff or textually merge source maps
*.map binary
*.map binary
bootstrap.css linguist-vendored=false
bootstrap.js linguist-vendored=false
+3
View File
@@ -0,0 +1,3 @@
*.js @twbs/js-review
*.css @twbs/css-review
*.scss @twbs/css-review
+32 -45
View File
@@ -19,13 +19,14 @@ and [submitting pull requests](#pull-requests), but please respect the following
restrictions:
* Please **do not** use the issue tracker for personal support requests. Stack
Overflow ([`bootstrap-4`](https://stackoverflow.com/questions/tagged/bootstrap-4) tag), [Slack](https://bootstrap-slack.herokuapp.com/) or [IRC](README.md#community) are better places to get help.
Overflow ([`bootstrap-5`](https://stackoverflow.com/questions/tagged/bootstrap-5) tag),
[Slack](https://bootstrap-slack.herokuapp.com/) or [IRC](/README.md#community) are better places to get help.
* Please **do not** derail or troll issues. Keep the discussion on topic and
respect the opinions of others.
* Please **do not** post comments consisting solely of "+1" or ":thumbsup:".
Use [GitHub's "reactions" feature](https://github.com/blog/2119-add-reactions-to-pull-requests-issues-and-comments)
Use [GitHub's "reactions" feature](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/)
instead. We reserve the right to delete comments which violate this rule.
* Please **do not** open issues regarding the official themes offered on <https://themes.getbootstrap.com/>.
@@ -57,15 +58,14 @@ Good bug reports are extremely helpful, so thanks!
Guidelines for bug reports:
0. **Validate and lint your code** &mdash; [validate your HTML](https://html5.validator.nu/)
and [lint your HTML](https://github.com/twbs/bootlint) to ensure your
0. **[Validate your HTML](https://html5.validator.nu/)** to ensure your
problem isn't caused by a simple error in your own code.
1. **Use the GitHub issue search** &mdash; check if the issue has already been
reported.
2. **Check if the issue has been fixed** &mdash; try to reproduce it using the
latest `master` or development branch in the repository.
latest `main` (or `v4-dev` branch if the issue is about v4) in the repository.
3. **Isolate the problem** &mdash; ideally create a [reduced test
case](https://css-tricks.com/reduced-test-cases/) and a live example.
@@ -100,18 +100,13 @@ Example:
### Reporting upstream browser bugs
Sometimes bugs reported to us are actually caused by bugs in the browser(s) themselves, not bugs in Bootstrap per se.
When feasible, we aim to report such upstream bugs to the relevant browser vendor(s), and then list them on our [Wall of Browser Bugs](https://getbootstrap.com/browser-bugs/) and [document them in MDN](https://developer.mozilla.org/en-US/docs/Web).
| Vendor(s) | Browser(s) | Rendering engine | Bug reporting website(s) | Notes |
| ------------- | ---------------------------- | ---------------- | ------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| Mozilla | Firefox | Gecko | https://bugzilla.mozilla.org/enter_bug.cgi | "Core" is normally the right product option to choose. |
| Apple | Safari | WebKit | https://bugs.webkit.org/enter_bug.cgi?product=WebKit <br> https://bugreport.apple.com | In Apple's bug reporter, choose "Safari" as the product. |
| Google, Opera | Chrome, Chromium, Opera v15+ | Blink | https://code.google.com/p/chromium/issues/list | Click the "New issue" button. |
| Microsoft | Edge | EdgeHTML | https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/ | |
### Issues bots
[@twbs-lmvtfy](https://github.com/twbs-lmvtfy) is a Bootstrap bot that hangs out in our GitHub issue tracker and automatically checks for HTML validation errors in live examples (e.g. jsFiddles, JS Bins, Bootplys, Plunks, CodePens, etc.) posted in issue comments. If it finds any errors, it will post a follow-up comment on the issue and point out the errors. If this happens with an example you've posted, please fix the errors and post an updated live example. If you opened a bug report, please check whether the bug still occurs with your revised, valid live example. If the bug no longer occurs, it was probably due to your invalid HTML rather than something in Bootstrap and we'd appreciate it if you could close out the GitHub issue.
| Vendor(s) | Browser(s) | Rendering engine | Bug reporting website(s) | Notes |
| ------------- | ---------------------------- | ---------------- | ------------------------------------------------------ | -------------------------------------------------------- |
| Mozilla | Firefox | Gecko | https://bugzilla.mozilla.org/enter_bug.cgi | "Core" is normally the right product option to choose. |
| Apple | Safari | WebKit | https://bugs.webkit.org/enter_bug.cgi?product=WebKit | In Apple's bug reporter, choose "Safari" as the product. |
| Google, Opera | Chrome, Chromium, Opera v15+ | Blink | https://bugs.chromium.org/p/chromium/issues/list | Click the "New issue" button. |
| Microsoft | Edge | Blink | https://developer.microsoft.com/en-us/microsoft-edge/ | Go to "Help > Send Feedback" from the browser |
## Feature requests
@@ -128,23 +123,25 @@ Good pull requests—patches, improvements, new features—are a fantastic
help. They should remain focused in scope and avoid containing unrelated
commits.
**Please ask first** before embarking on any significant pull request (e.g.
**Please ask first** before embarking on any **significant** pull request (e.g.
implementing features, refactoring code, porting to a different language),
otherwise you risk spending a lot of time working on something that the
project's developers might not want to merge into the project.
project's developers might not want to merge into the project. For trivial
things, or things that don't require a lot of your time, you can go ahead and
make a PR.
Please adhere to the [coding guidelines](#code-guidelines) used throughout the
project (indentation, accurate comments, etc.) and any other requirements
(such as test coverage).
**Do not edit `bootstrap.css`, or `bootstrap.js`
directly!** Those files are automatically generated. You should edit the
source files in [`/bootstrap/scss/`](https://github.com/twbs/bootstrap/tree/master/scss)
and/or [`/bootstrap/js/`](https://github.com/twbs/bootstrap/tree/master/js) instead.
**Do not edit `bootstrap.css` or `bootstrap.js`, and do not commit
any dist files (`dist/` or `js/dist`).** Those files are automatically generated by our build tools. You should
edit the source files in [`/bootstrap/scss/`](https://github.com/twbs/bootstrap/tree/main/scss)
and/or [`/bootstrap/js/src/`](https://github.com/twbs/bootstrap/tree/main/js/src) instead.
Similarly, when contributing to Bootstrap's documentation, you should edit the
documentation source files in
[the `/bootstrap/docs/` directory of the `master` branch](https://github.com/twbs/bootstrap/tree/master/docs).
[the `/bootstrap/site/content/docs/` directory of the `main` branch](https://github.com/twbs/bootstrap/tree/main/site/content/docs).
**Do not edit the `gh-pages` branch.** That branch is generated from the
documentation source files and is managed separately by the Bootstrap Core Team.
@@ -166,8 +163,8 @@ included in the project:
2. If you cloned a while ago, get the latest changes from upstream:
```bash
git checkout master
git pull upstream master
git checkout main
git pull upstream main
```
3. Create a new topic branch (off the main project development branch) to
@@ -178,7 +175,7 @@ included in the project:
```
4. Commit your changes in logical chunks. Please adhere to these [git commit
message guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
message guidelines](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
or your code is unlikely be merged into the main project. Use Git's
[interactive rebase](https://help.github.com/articles/about-git-rebase/)
feature to tidy up your commits before making them public.
@@ -186,7 +183,7 @@ included in the project:
5. Locally merge (or rebase) the upstream development branch into your topic branch:
```bash
git pull [--rebase] upstream master
git pull [--rebase] upstream main
```
6. Push your topic branch up to your fork:
@@ -196,29 +193,20 @@ included in the project:
```
7. [Open a Pull Request](https://help.github.com/articles/about-pull-requests/)
with a clear title and description against the `master` branch.
with a clear title and description against the `main` branch.
**IMPORTANT**: By submitting a patch, you agree to allow the project owners to
license your work under the terms of the [MIT License](LICENSE) (if it
license your work under the terms of the [MIT License](../LICENSE) (if it
includes code changes) and under the terms of the
[Creative Commons Attribution 3.0 Unported License](docs/LICENSE)
[Creative Commons Attribution 3.0 Unported License](https://creativecommons.org/licenses/by/3.0/)
(if it includes documentation changes).
### Pull request bots
[@twbs-rorschach](https://github.com/twbs-rorschach) is a Bootstrap bot that hangs out in our GitHub issue tracker and automatically checks all pull requests for a few simple common mistakes. It's possible that Rorschach might leave a comment on your pull request and then close it. If that happens, simply fix the problem(s) mentioned in the comment (there should be link(s) in the comment explaining the problem(s) in detail) and then either:
* Push the revised version to your pull request's branch and post a comment on the pull request saying that you've fixed the problem(s). One of the Bootstrap Core Team members will then come along and reopen your pull request.
* Or you can just open a new pull request for your revised version.
[@twbs-savage](https://github.com/twbs-savage) is a Bootstrap bot that automatically runs cross-browser tests (via [Sauce](https://saucelabs.com/) and Travis CI) on JavaScript pull requests. Savage will leave a comment on pull requests stating whether cross-browser JS tests passed or failed, with a link to the full Travis build details. If your pull request fails, check the Travis log to see which browser + OS combinations failed. Each browser test in the Travis log includes a link to a Sauce page with details about the test. On those details pages, you can watch a screencast of the test run to see exactly which unit tests failed.
## Code guidelines
### HTML
[Adhere to the Code Guide.](http://codeguide.co/#html)
[Adhere to the Code Guide.](https://codeguide.co/#html)
- Use tags and elements appropriate for an HTML5 doctype (e.g., self-closing tags).
- Use CDNs and HTTPS for third-party JS when possible. We don't use protocol-relative URLs in this case because they break when viewing the page locally via `file://`.
@@ -226,10 +214,10 @@ includes code changes) and under the terms of the
### CSS
[Adhere to the Code Guide.](http://codeguide.co/#css)
[Adhere to the Code Guide.](https://codeguide.co/#css)
- When feasible, default color palettes should comply with [WCAG color contrast guidelines](https://www.w3.org/TR/WCAG20/#visual-audio-contrast).
- Except in rare cases, don't remove default `:focus` styles (via e.g. `outline: none;`) without providing alternative styles. See [this A11Y Project post](http://a11yproject.com/posts/never-remove-css-outlines/) for more details.
- Except in rare cases, don't remove default `:focus` styles (via e.g. `outline: none;`) without providing alternative styles. See [this A11Y Project post](https://www.a11yproject.com/posts/2013-01-25-never-remove-css-outlines/) for more details.
### JS
@@ -237,7 +225,6 @@ includes code changes) and under the terms of the
- 2 spaces (no tabs)
- strict mode
- "Attractive"
- Don't use [jQuery event alias convenience methods](https://github.com/jquery/jquery/blob/master/src/event/alias.js) (such as `$().focus()`). Instead, use [`$().trigger(eventType, ...)`](https://api.jquery.com/trigger/) or [`$().on(eventType, ...)`](https://api.jquery.com/on/), depending on whether you're firing an event or listening for an event. (For example, `$().trigger('focus')` or `$().on('focus', function (event) { /* handle focus event */ })`) We do this to be compatible with custom builds of jQuery where the event aliases module has been excluded.
### Checking coding style
@@ -246,7 +233,7 @@ Run `npm run test` before committing to ensure your changes follow our coding st
## License
By contributing your code, you agree to license your contribution under the [MIT License](LICENSE).
By contributing to the documentation, you agree to license your contribution under the [Creative Commons Attribution 3.0 Unported License](docs/LICENSE).
By contributing your code, you agree to license your contribution under the [MIT License](../LICENSE).
By contributing to the documentation, you agree to license your contribution under the [Creative Commons Attribution 3.0 Unported License](https://creativecommons.org/licenses/by/3.0/).
Prior to v3.1.0, Bootstrap's code was released under the Apache License v2.0.
-22
View File
@@ -1,22 +0,0 @@
Before opening an issue:
- [Search for duplicate or closed issues](https://github.com/twbs/bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue)
- [Validate](https://html5.validator.nu/) and [lint](https://github.com/twbs/bootlint#in-the-browser) any HTML to avoid common problems
- Prepare a [reduced test case](https://css-tricks.com/reduced-test-cases/) for any bugs
- Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md)
When asking general "how to" questions:
- Please do not open an issue here
- Instead, ask for help on [StackOverflow, IRC, or Slack](https://github.com/twbs/bootstrap/blob/master/README.md#community)
When reporting a bug, include:
- Operating system and version (Windows, Mac OS X, Android, iOS, Win10 Mobile)
- Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser)
- Reduced test cases and potential fixes using [CodePen](https://codepen.io/) or [JS Bin](https://jsbin.com/)
When suggesting a feature, include:
- As much detail as possible for what we should add and why it's important to Bootstrap
- Relevant links to prior art, screenshots, or live demos whenever possible
+62
View File
@@ -0,0 +1,62 @@
name: Report a bug
description: Tell us about a bug or issue you may have identified in Bootstrap.
title: "Provide a general summary of the issue"
labels: [bug]
assignees: "-"
body:
- type: checkboxes
attributes:
label: Prerequisites
description: Take a couple minutes to help our maintainers work faster.
options:
- label: I have [searched](https://github.com/twbs/bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue) for duplicate or closed issues
required: true
- label: I have [validated](https://html5.validator.nu/) any HTML to avoid common problems
required: true
- label: I have read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/main/.github/CONTRIBUTING.md)
required: true
- type: textarea
id: what-happened
attributes:
label: Describe the issue
description: Provide a summary of the issue and what you expected to happen, including specific steps to reproduce.
validations:
required: true
- type: textarea
id: reduced-test-case
attributes:
label: Reduced test cases
description: Include links [reduced test case](https://css-tricks.com/reduced-test-cases/) links or suggested fixes using CodePen ([v4 template](https://codepen.io/team/bootstrap/pen/yLabNQL) or [v5 template](https://codepen.io/team/bootstrap/pen/qBamdLj)).
validations:
required: true
- type: dropdown
id: os
attributes:
label: What operating system(s) are you seeing the problem on?
multiple: true
options:
- Windows
- macOS
- Android
- iOS
- Linux
validations:
required: true
- type: dropdown
id: browser
attributes:
label: What browser(s) are you seeing the problem on?
multiple: true
options:
- Chrome
- Safari
- Firefox
- Microsoft Edge
- Opera
- type: input
id: version
attributes:
label: What version of Bootstrap are you using?
placeholder: "e.g., v5.1.0 or v4.5.2"
validations:
required: true
+4
View File
@@ -0,0 +1,4 @@
contact_links:
- name: Ask the community
url: https://github.com/twbs/bootstrap/discussions/new
about: Ask and discuss questions with other Bootstrap community members.
@@ -0,0 +1,29 @@
name: Feature request
description: Suggest new or updated features to include in Bootstrap.
title: "Suggest a new feature"
labels: [feature]
assignees: []
body:
- type: checkboxes
attributes:
label: Prerequisites
description: Take a couple minutes to help our maintainers work faster.
options:
- label: I have [searched](https://github.com/twbs/bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue) for duplicate or closed feature requests
required: true
- label: I have read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/main/.github/CONTRIBUTING.md)
required: true
- type: textarea
id: proposal
attributes:
label: Proposal
description: Provide detailed information for what we should add, including relevant links to prior art, screenshots, or live demos whenever possible.
validations:
required: true
- type: textarea
id: motivation
attributes:
label: Motivation and context
description: Tell us why this change is needed or helpful, and what problems it may help solve.
validations:
required: true
+11
View File
@@ -0,0 +1,11 @@
### Bug reports
See the [contributing guidelines](CONTRIBUTING.md) for sharing bug reports.
### How-to
For general troubleshooting or help getting started:
- Join [the official Slack room](https://bootstrap-slack.herokuapp.com/).
- Chat with fellow Bootstrappers in IRC. On the `irc.libera.chat` server, in the `#bootstrap` channel.
- Ask and explore Stack Overflow with the [`bootstrap-5`](https://stackoverflow.com/questions/tagged/bootstrap-5) tag.
+24
View File
@@ -0,0 +1,24 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: tuesday
time: "12:00"
timezone: Europe/Athens
open-pull-requests-limit: 10
reviewers:
- XhmikosR
labels:
- dependencies
- v5
versioning-strategy: increase
rebase-strategy: disabled
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
day: tuesday
time: "12:00"
timezone: Europe/Athens
+57
View File
@@ -0,0 +1,57 @@
name-template: 'v$NEXT_MAJOR_VERSION'
tag-template: 'v$NEXT_MAJOR_VERSION'
prerelease: true
exclude-labels:
- 'skip-changelog'
categories:
- title: '❗ Breaking Changes'
labels:
- 'breaking-change'
- title: '🚀 Features'
labels:
- 'new-feature'
- 'feature'
- 'enhancement'
- title: '🐛 Bug fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '⚡ Performance improvements'
labels:
- 'performance'
- title: '🎨 CSS'
labels:
- 'css'
- title: '☕️ JavaScript'
labels:
- 'js'
- title: '📖 Docs'
labels:
- 'docs'
- title: '🛠 Examples'
labels:
- 'examples'
- title: '🌎 Accessibility'
labels:
- 'accessibility'
- title: '🔧 Utility API'
labels:
- 'utility API'
- 'utilities'
- title: '🏭 Tests'
labels:
- 'tests'
- title: '🧰 Misc'
labels:
- 'build'
- 'meta'
- 'chore'
- 'CI'
- title: '📦 Dependencies'
labels:
- 'dependencies'
change-template: '- #$NUMBER: $TITLE'
template: |
## Changes
$CHANGES
+38
View File
@@ -0,0 +1,38 @@
name: BrowserStack
on:
push:
workflow_dispatch:
env:
FORCE_COLOR: 2
NODE: 16
jobs:
browserstack:
runs-on: ubuntu-latest
if: github.repository == 'twbs/bootstrap' && (!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]'))
timeout-minutes: 30
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "${{ env.NODE }}"
cache: npm
- name: Install npm dependencies
run: npm ci
- name: Run dist
run: npm run dist
- name: Run BrowserStack tests
run: npm run js-test-cloud
env:
BROWSER_STACK_ACCESS_KEY: "${{ secrets.BROWSER_STACK_ACCESS_KEY }}"
BROWSER_STACK_USERNAME: "${{ secrets.BROWSER_STACK_USERNAME }}"
GITHUB_SHA: "${{ github.sha }}"
+38
View File
@@ -0,0 +1,38 @@
name: Bundlewatch
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
workflow_dispatch:
env:
FORCE_COLOR: 2
NODE: 16
jobs:
bundlewatch:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "${{ env.NODE }}"
cache: npm
- name: Install npm dependencies
run: npm ci
- name: Run dist
run: npm run dist
- name: Run bundlewatch
run: npm run bundlewatch
env:
BUNDLEWATCH_GITHUB_TOKEN: "${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}"
CI_BRANCH_BASE: main
+38
View File
@@ -0,0 +1,38 @@
name: "CodeQL"
on:
push:
branches:
- main
- v4-dev
- "!dependabot/**"
pull_request:
# The branches below must be a subset of the branches above
branches:
- main
- v4-dev
- "!dependabot/**"
schedule:
- cron: "0 2 * * 5"
workflow_dispatch:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: "javascript"
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
+28
View File
@@ -0,0 +1,28 @@
name: cspell
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
workflow_dispatch:
env:
FORCE_COLOR: 2
NODE: 16
jobs:
cspell:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Run cspell
uses: streetsidesoftware/cspell-action@v1
with:
config: ".cspell.json"
files: "**/*.md"
inline: error
incremental_files_only: false
+32
View File
@@ -0,0 +1,32 @@
name: CSS
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
workflow_dispatch:
env:
FORCE_COLOR: 2
NODE: 16
jobs:
css:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "${{ env.NODE }}"
cache: npm
- name: Install npm dependencies
run: npm ci
- name: Build CSS
run: npm run css
+45
View File
@@ -0,0 +1,45 @@
name: Docs
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
workflow_dispatch:
env:
FORCE_COLOR: 2
NODE: 16
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "${{ env.NODE }}"
cache: npm
- run: java -version
- name: Install npm dependencies
run: npm ci
- name: Build docs
run: npm run docs-build
- name: Validate HTML
run: npm run docs-vnu
- name: Run linkinator
uses: JustinBeckwith/linkinator-action@v1
with:
paths: _site
recurse: true
verbosity: error
skip: "^(?!http://localhost)"
+19
View File
@@ -0,0 +1,19 @@
name: Close Issue Awaiting Reply
on:
schedule:
- cron: "0 0 * * *"
jobs:
issue-close-require:
runs-on: ubuntu-latest
if: github.repository == 'twbs/bootstrap'
steps:
- name: awaiting reply
uses: actions-cool/issues-helper@v3
with:
actions: "close-issues"
labels: "awaiting-reply"
inactive-day: 14
body: |
As the issue was labeled with `awaiting-reply`, but there has been no response in 14 days, this issue will be closed. If you have any questions, you can comment/reply.
+19
View File
@@ -0,0 +1,19 @@
name: Issue Labeled
on:
issues:
types: [labeled]
jobs:
issue-labeled:
if: github.repository == 'twbs/bootstrap'
runs-on: ubuntu-latest
steps:
- name: awaiting reply
if: github.event.label.name == 'awaiting-reply'
uses: actions-cool/issues-helper@v3
with:
actions: "create-comment"
token: ${{ secrets.GITHUB_TOKEN }}
body: |
Hello @${{ github.event.issue.user.login }}. Bug reports must include a **live demo** of the issue. Per our [contributing guidelines](https://github.com/twbs/bootstrap/blob/main/.github/CONTRIBUTING.md), please create a reduced test case on [CodePen](https://codepen.io/) or [JS Bin](https://jsbin.com/) and report back with your link, Bootstrap version, and specific browser and Operating System details.
+42
View File
@@ -0,0 +1,42 @@
name: JS Tests
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
workflow_dispatch:
env:
FORCE_COLOR: 2
NODE: 16
jobs:
run:
name: JS Tests
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE }}
cache: npm
- name: Install npm dependencies
run: npm ci
- name: Run dist
run: npm run js
- name: Run JS tests
run: npm run js-test
- name: Run Coveralls
uses: coverallsapp/github-action@1.1.3
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
path-to-lcov: "./js/coverage/lcov.info"
+32
View File
@@ -0,0 +1,32 @@
name: Lint
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
workflow_dispatch:
env:
FORCE_COLOR: 2
NODE: 16
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "${{ env.NODE }}"
cache: npm
- name: Install npm dependencies
run: npm ci
- name: Lint
run: npm run lint
+31
View File
@@ -0,0 +1,31 @@
name: CSS (node-sass)
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
workflow_dispatch:
env:
FORCE_COLOR: 2
NODE: 16
jobs:
css:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "${{ env.NODE }}"
- name: Build CSS with node-sass
run: |
npx --package node-sass@latest node-sass --version
npx --package node-sass@latest node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/ -o dist-sass/css/
ls -Al dist-sass/css
+16
View File
@@ -0,0 +1,16 @@
name: Release notes
on:
push:
branches:
- main
workflow_dispatch:
jobs:
update_release_draft:
runs-on: ubuntu-latest
if: github.repository == 'twbs/bootstrap'
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+9 -13
View File
@@ -1,12 +1,8 @@
# Ignore docs files
_gh_pages
_site
# Ignore ruby files
.ruby-version
.bundle
vendor/cache
vendor/bundle
/_site/
# Hugo files
/resources/
/.hugo_build.lock
# Numerous always-ignore extensions
*.diff
@@ -33,14 +29,14 @@ vendor/bundle
*.sublime-workspace
nbproject
Thumbs.db
/.vscode/
# Local Netlify folder
.netlify
# Komodo
.komodotools
*.komodoproject
# Jekyll metadata and extra config file for `github` script
docs/.jekyll-metadata
twbsconfig.yml
# Folders to ignore
node_modules
/js/coverage/
/node_modules/
+5
View File
@@ -0,0 +1,5 @@
**/*.min.css
**/dist/
**/vendor/
/_site/
/js/coverage/
+31
View File
@@ -0,0 +1,31 @@
{
"extends": [
"stylelint-config-twbs-bootstrap"
],
"rules": {
"declaration-property-value-disallowed-list": {
"border": "none",
"outline": "none"
},
"function-disallowed-list": [
"calc",
"lighten",
"darken"
],
"property-disallowed-list": [
"border-radius",
"border-top-left-radius",
"border-top-right-radius",
"border-bottom-right-radius",
"border-bottom-left-radius",
"transition"
],
"scss/dollar-variable-default": [
true,
{
"ignore": "local"
}
],
"scss/selector-no-union-class-name": true
}
}
-32
View File
@@ -1,32 +0,0 @@
sudo: false
dist: trusty
language: node_js
git:
depth: 3
node_js:
- "6"
- "8"
before_install:
- if [[ `npm -v` != 5* ]]; then npm install -g npm@5; fi
install:
- bundle install --deployment --jobs=3 --retry=3
- npm install
after_success:
- if [ "$TRAVIS_REPO_SLUG" = twbs-savage/bootstrap ]; then npm run docs-upload-preview; fi
stages:
- test
- name: browser
if: type = push
jobs:
include:
- stage: browser
node_js: 8
script: if ! git log --format=%B --no-merges -n 1 | grep '\[skip browser\]'; then npm test && npm run js-test-cloud; fi
cache:
directories:
- node_modules
- vendor/bundle
notifications:
slack: heybb:iz4wwosL0N0EdaX1gvgkU0NH
webhooks:
- http://savage.twbsapps.com/savage/travis
+11 -14
View File
@@ -8,19 +8,19 @@ In the interest of fostering an open and welcoming environment, we as contributo
Examples of behavior that contributes to creating a positive environment include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting
- The use of sexualized language or imagery and unwelcome sexual attention or advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a professional setting
## Our Responsibilities
@@ -40,7 +40,4 @@ Project maintainers who do not follow or enforce the Code of Conduct in good fai
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/), version 1.4, available at <https://www.contributor-covenant.org/version/1/4/code-of-conduct/>
-8
View File
@@ -1,8 +0,0 @@
source 'https://rubygems.org'
group :development, :test do
gem 'jekyll', '~> 3.6.2'
gem 'jekyll-redirect-from', '~> 0.13.0'
gem 'jekyll-sitemap', '~> 1.1.1'
gem 'jekyll-toc', '~> 0.5.0.rc'
end
-69
View File
@@ -1,69 +0,0 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
colorator (1.1.0)
ffi (1.9.18)
ffi (1.9.18-x64-mingw32)
forwardable-extended (2.6.0)
jekyll (3.6.2)
addressable (~> 2.4)
colorator (~> 1.0)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.14)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (>= 1.7, < 3)
safe_yaml (~> 1.0)
jekyll-redirect-from (0.13.0)
jekyll (~> 3.3)
jekyll-sass-converter (1.5.1)
sass (~> 3.4)
jekyll-sitemap (1.1.1)
jekyll (~> 3.3)
jekyll-toc (0.5.0.rc)
nokogiri (~> 1.6)
jekyll-watch (1.5.1)
listen (~> 3.0)
kramdown (1.16.2)
liquid (4.0.0)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
mercenary (0.3.6)
mini_portile2 (2.3.0)
nokogiri (1.8.1)
mini_portile2 (~> 2.3.0)
nokogiri (1.8.1-x64-mingw32)
mini_portile2 (~> 2.3.0)
pathutil (0.16.1)
forwardable-extended (~> 2.6)
public_suffix (3.0.1)
rb-fsevent (0.10.2)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
rouge (2.2.1)
ruby_dep (1.5.0)
safe_yaml (1.0.4)
sass (3.5.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
PLATFORMS
ruby
x64-mingw32
DEPENDENCIES
jekyll (~> 3.6.2)
jekyll-redirect-from (~> 0.13.0)
jekyll-sitemap (~> 1.1.1)
jekyll-toc (~> 0.5.0.rc)
BUNDLED WITH
1.16.1
+2 -2
View File
@@ -1,7 +1,7 @@
The MIT License (MIT)
Copyright (c) 2011-2017 Twitter, Inc.
Copyright (c) 2011-2017 The Bootstrap Authors
Copyright (c) 2011-2022 Twitter, Inc.
Copyright (c) 2011-2022 The Bootstrap Authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
+156 -76
View File
@@ -1,25 +1,31 @@
<p align="center">
<a href="https://getbootstrap.com/">
<img src="https://getbootstrap.com/assets/brand/bootstrap-solid.svg" alt="" width=72 height=72>
<img src="https://getbootstrap.com/docs/5.1/assets/brand/bootstrap-logo-shadow.png" alt="Bootstrap logo" width="200" height="165">
</a>
<h3 align="center">Bootstrap</h3>
<p align="center">
Sleek, intuitive, and powerful front-end framework for faster and easier web development.
<br>
<a href="https://getbootstrap.com/docs/4.0/"><strong>Explore Bootstrap docs »</strong></a>
<br>
<br>
<a href="https://themes.getbootstrap.com/">Bootstrap Themes</a>
·
<a href="https://jobs.getbootstrap.com/">Job Board</a>
·
<a href="https://blog.getbootstrap.com/">Blog</a>
</p>
</p>
<br>
<h3 align="center">Bootstrap</h3>
<p align="center">
Sleek, intuitive, and powerful front-end framework for faster and easier web development.
<br>
<a href="https://getbootstrap.com/docs/5.1/"><strong>Explore Bootstrap docs »</strong></a>
<br>
<br>
<a href="https://github.com/twbs/bootstrap/issues/new?assignees=-&labels=bug&template=bug_report.yml">Report bug</a>
·
<a href="https://github.com/twbs/bootstrap/issues/new?assignees=&labels=feature&template=feature_request.yml">Request feature</a>
·
<a href="https://themes.getbootstrap.com/">Themes</a>
·
<a href="https://blog.getbootstrap.com/">Blog</a>
</p>
## Bootstrap 5
Our default branch is for development of our Bootstrap 5 release. Head to the [`v4-dev` branch](https://github.com/twbs/bootstrap/tree/v4-dev) to view the readme, documentation, and source code for Bootstrap 4.
## Table of contents
@@ -32,102 +38,138 @@
- [Community](#community)
- [Versioning](#versioning)
- [Creators](#creators)
- [Thanks](#thanks)
- [Copyright and license](#copyright-and-license)
## Quick start
Several quick start options are available:
- [Download the latest release.](https://github.com/twbs/bootstrap/archive/v4.0.0-beta.3.zip)
- [Download the latest release](https://github.com/twbs/bootstrap/archive/v5.1.3.zip)
- Clone the repo: `git clone https://github.com/twbs/bootstrap.git`
- Install with [npm](https://www.npmjs.com/): `npm install bootstrap@4.0.0-beta.3`
- Install with [yarn](https://yarnpkg.com/): `yarn add bootstrap@4.0.0-beta.3`
- Install with [Composer](https://getcomposer.org/): `composer require twbs/bootstrap:4.0.0-beta.3`
- Install with [NuGet](https://www.nuget.org/): CSS: `Install-Package bootstrap -Pre` Sass: `Install-Package bootstrap.sass -Pre` (`-Pre` is only required until Bootstrap v4 has a stable release).
- Install with [npm](https://www.npmjs.com/): `npm install bootstrap`
- Install with [yarn](https://yarnpkg.com/): `yarn add bootstrap`
- Install with [Composer](https://getcomposer.org/): `composer require twbs/bootstrap:5.1.3`
- Install with [NuGet](https://www.nuget.org/): CSS: `Install-Package bootstrap` Sass: `Install-Package bootstrap.sass`
Read the [Getting started page](https://getbootstrap.com/docs/5.1/getting-started/introduction/) for information on the framework contents, templates, examples, and more.
Read the [Getting started page](https://getbootstrap.com/docs/4.0/getting-started/introduction/) for information on the framework contents, templates and examples, and more.
## Status
[![Slack](https://bootstrap-slack.herokuapp.com/badge.svg)](https://bootstrap-slack.herokuapp.com/)
[![Build Status](https://img.shields.io/travis/twbs/bootstrap/v4-dev.svg)](https://travis-ci.org/twbs/bootstrap)
[![npm version](https://img.shields.io/npm/v/bootstrap.svg)](https://www.npmjs.com/package/bootstrap)
[![Gem version](https://img.shields.io/gem/v/bootstrap.svg)](https://rubygems.org/gems/bootstrap)
[![Meteor Atmosphere](https://img.shields.io/badge/meteor-twbs%3Abootstrap-blue.svg)](https://atmospherejs.com/twbs/bootstrap)
[![Packagist Prerelease](https://img.shields.io/packagist/vpre/twbs/bootstrap.svg)](https://packagist.org/packages/twbs/bootstrap)
[![NuGet](https://img.shields.io/nuget/vpre/bootstrap.svg)](https://www.nuget.org/packages/bootstrap/absoluteLatest)
[![peerDependencies Status](https://img.shields.io/david/peer/twbs/bootstrap.svg)](https://david-dm.org/twbs/bootstrap?type=peer)
[![devDependency Status](https://img.shields.io/david/dev/twbs/bootstrap.svg)](https://david-dm.org/twbs/bootstrap?type=dev)
[![CSS gzip size](http://img.badgesize.io/twbs/bootstrap/v4-dev/dist/css/bootstrap.min.css?compression=gzip&label=CSS+gzip+size)](https://github.com/twbs/bootstrap/tree/v4-dev/dist/css/bootstrap.min.css)
[![JS gzip size](http://img.badgesize.io/twbs/bootstrap/v4-dev/dist/js/bootstrap.min.js?compression=gzip&label=JS+gzip+size)](https://github.com/twbs/bootstrap/tree/v4-dev/dist/js/bootstrap.min.js)
[![Build Status](https://img.shields.io/github/workflow/status/twbs/bootstrap/JS%20Tests/main?label=JS%20Tests&logo=github)](https://github.com/twbs/bootstrap/actions?query=workflow%3AJS+Tests+branch%3Amain)
[![npm version](https://img.shields.io/npm/v/bootstrap)](https://www.npmjs.com/package/bootstrap)
[![Gem version](https://img.shields.io/gem/v/bootstrap)](https://rubygems.org/gems/bootstrap)
[![Meteor Atmosphere](https://img.shields.io/badge/meteor-twbs%3Abootstrap-blue)](https://atmospherejs.com/twbs/bootstrap)
[![Packagist Prerelease](https://img.shields.io/packagist/vpre/twbs/bootstrap)](https://packagist.org/packages/twbs/bootstrap)
[![NuGet](https://img.shields.io/nuget/vpre/bootstrap)](https://www.nuget.org/packages/bootstrap/absoluteLatest)
[![Coverage Status](https://img.shields.io/coveralls/github/twbs/bootstrap/main)](https://coveralls.io/github/twbs/bootstrap?branch=main)
[![CSS gzip size](https://img.badgesize.io/twbs/bootstrap/main/dist/css/bootstrap.min.css?compression=gzip&label=CSS%20gzip%20size)](https://github.com/twbs/bootstrap/blob/main/dist/css/bootstrap.min.css)
[![CSS Brotli size](https://img.badgesize.io/twbs/bootstrap/main/dist/css/bootstrap.min.css?compression=brotli&label=CSS%20Brotli%20size)](https://github.com/twbs/bootstrap/blob/main/dist/css/bootstrap.min.css)
[![JS gzip size](https://img.badgesize.io/twbs/bootstrap/main/dist/js/bootstrap.min.js?compression=gzip&label=JS%20gzip%20size)](https://github.com/twbs/bootstrap/blob/main/dist/js/bootstrap.min.js)
[![JS Brotli size](https://img.badgesize.io/twbs/bootstrap/main/dist/js/bootstrap.min.js?compression=brotli&label=JS%20Brotli%20size)](https://github.com/twbs/bootstrap/blob/main/dist/js/bootstrap.min.js)
[![BrowserStack Status](https://www.browserstack.com/automate/badge.svg?badge_key=SkxZcStBeExEdVJqQ2hWYnlWckpkNmNEY213SFp6WHFETWk2bGFuY3pCbz0tLXhqbHJsVlZhQnRBdEpod3NLSDMzaHc9PQ==--3d0b75245708616eb93113221beece33e680b229)](https://www.browserstack.com/automate/public-build/SkxZcStBeExEdVJqQ2hWYnlWckpkNmNEY213SFp6WHFETWk2bGFuY3pCbz0tLXhqbHJsVlZhQnRBdEpod3NLSDMzaHc9PQ==--3d0b75245708616eb93113221beece33e680b229)
[![Backers on Open Collective](https://img.shields.io/opencollective/backers/bootstrap)](#backers)
[![Sponsors on Open Collective](https://img.shields.io/opencollective/sponsors/bootstrap)](#sponsors)
[![Sauce Labs Test Status](https://saucelabs.com/browser-matrix/bootstrap.svg)](https://saucelabs.com/u/bootstrap)
## What's included
Within the download you'll find the following directories and files, logically grouping common assets and providing both compiled and minified variations. You'll see something like this:
Within the download you'll find the following directories and files, logically grouping common assets and providing both compiled and minified variations.
```
bootstrap/
├── css/
│ ├── bootstrap.css
│ ├── bootstrap.css.map
│ ├── bootstrap.min.css
│ ├── bootstrap.min.css.map
│ ├── bootstrap-grid.css
│ ├── bootstrap-grid.css.map
│ ├── bootstrap-grid.min.css
│ ├── bootstrap-grid.min.css.map
│ ├── bootstrap-reboot.css
│ ├── bootstrap-reboot.css.map
│ ├── bootstrap-reboot.min.css
│ └── bootstrap-reboot.min.css.map
└── js/
├── bootstrap.bundle.js
├── bootstrap.bundle.min.js
├── bootstrap.js
└── bootstrap.min.js
```
<details>
<summary>Download contents</summary>
We provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified CSS and JS (`bootstrap.min.*`). CSS [source maps](https://developers.google.com/web/tools/chrome-devtools/debug/readability/source-maps) (`bootstrap.*.map`) are available for use with certain browsers' developer tools. Bundled JS files (`bootstrap.bundle.js` and minified `bootstrap.bundle.min.js`) include [Popper](https://popper.js.org/), but not [jQuery](https://jquery.com/).
```text
bootstrap/
├── css/
│ ├── bootstrap-grid.css
│ ├── bootstrap-grid.css.map
│ ├── bootstrap-grid.min.css
│ ├── bootstrap-grid.min.css.map
│ ├── bootstrap-grid.rtl.css
│ ├── bootstrap-grid.rtl.css.map
│ ├── bootstrap-grid.rtl.min.css
│ ├── bootstrap-grid.rtl.min.css.map
│ ├── bootstrap-reboot.css
│ ├── bootstrap-reboot.css.map
│ ├── bootstrap-reboot.min.css
│ ├── bootstrap-reboot.min.css.map
│ ├── bootstrap-reboot.rtl.css
│ ├── bootstrap-reboot.rtl.css.map
│ ├── bootstrap-reboot.rtl.min.css
│ ├── bootstrap-reboot.rtl.min.css.map
│ ├── bootstrap-utilities.css
│ ├── bootstrap-utilities.css.map
│ ├── bootstrap-utilities.min.css
│ ├── bootstrap-utilities.min.css.map
│ ├── bootstrap-utilities.rtl.css
│ ├── bootstrap-utilities.rtl.css.map
│ ├── bootstrap-utilities.rtl.min.css
│ ├── bootstrap-utilities.rtl.min.css.map
│ ├── bootstrap.css
│ ├── bootstrap.css.map
│ ├── bootstrap.min.css
│ ├── bootstrap.min.css.map
│ ├── bootstrap.rtl.css
│ ├── bootstrap.rtl.css.map
│ ├── bootstrap.rtl.min.css
│ └── bootstrap.rtl.min.css.map
└── js/
├── bootstrap.bundle.js
├── bootstrap.bundle.js.map
├── bootstrap.bundle.min.js
├── bootstrap.bundle.min.js.map
├── bootstrap.esm.js
├── bootstrap.esm.js.map
├── bootstrap.esm.min.js
├── bootstrap.esm.min.js.map
├── bootstrap.js
├── bootstrap.js.map
├── bootstrap.min.js
└── bootstrap.min.js.map
```
</details>
We provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified CSS and JS (`bootstrap.min.*`). [Source maps](https://developers.google.com/web/tools/chrome-devtools/javascript/source-maps) (`bootstrap.*.map`) are available for use with certain browsers' developer tools. Bundled JS files (`bootstrap.bundle.js` and minified `bootstrap.bundle.min.js`) include [Popper](https://popper.js.org/).
## Bugs and feature requests
Have a bug or a feature request? Please first read the [issue guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md#using-the-issue-tracker) and search for existing and closed issues. If your problem or idea is not addressed yet, [please open a new issue](https://github.com/twbs/bootstrap/issues/new).
Have a bug or a feature request? Please first read the [issue guidelines](https://github.com/twbs/bootstrap/blob/main/.github/CONTRIBUTING.md#using-the-issue-tracker) and search for existing and closed issues. If your problem or idea is not addressed yet, [please open a new issue](https://github.com/twbs/bootstrap/issues/new).
## Documentation
Bootstrap's documentation, included in this repo in the root directory, is built with [Jekyll](https://jekyllrb.com/) and publicly hosted on GitHub Pages at <https://getbootstrap.com/>. The docs may also be run locally.
Bootstrap's documentation, included in this repo in the root directory, is built with [Hugo](https://gohugo.io/) and publicly hosted on GitHub Pages at <https://getbootstrap.com/>. The docs may also be run locally.
Documentation search is powered by [Algolia's DocSearch](https://community.algolia.com/docsearch/). Working on our search? Be sure to set `debug: true` in the `_scripts.html` include.
Documentation search is powered by [Algolia's DocSearch](https://community.algolia.com/docsearch/). Working on our search? Be sure to set `debug: true` in `site/assets/js/search.js`.
### Running documentation locally
1. Run through the [tooling setup](https://getbootstrap.com/docs/4.0/getting-started/build-tools/#tooling-setup) to install Jekyll (the site builder) and other Ruby dependencies with `bundle install`.
2. Run `npm install` to install Node.js dependencies.
3. Run `npm run test` (or a specific NPM script) to rebuild distributed CSS and JavaScript files, as well as our docs assets.
4. From the root `/bootstrap` directory, run `npm run docs-serve` in the command line.
5. Open `http://localhost:9001` in your browser, and voilà.
1. Run `npm install` to install the Node.js dependencies, including Hugo (the site builder).
2. Run `npm run test` (or a specific npm script) to rebuild distributed CSS and JavaScript files, as well as our docs assets.
3. From the root `/bootstrap` directory, run `npm run docs-serve` in the command line.
4. Open `http://localhost:9001/` in your browser, and voilà.
Learn more about using Jekyll by reading its [documentation](https://jekyllrb.com/docs/home/).
Learn more about using Hugo by reading its [documentation](https://gohugo.io/documentation/).
### Documentation for previous releases
- For v2.3.2: <https://getbootstrap.com/2.3.2/>
- For v3.3.x: <https://getbootstrap.com/docs/3.3/>
You can find all our previous releases docs on <https://getbootstrap.com/docs/versions/>.
[Previous releases](https://github.com/twbs/bootstrap/releases) and their documentation are also available for download.
## Contributing
Please read through our [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md). Included are directions for opening issues, coding standards, and notes on development.
Please read through our [contributing guidelines](https://github.com/twbs/bootstrap/blob/main/.github/CONTRIBUTING.md). Included are directions for opening issues, coding standards, and notes on development.
Moreover, if your pull request contains JavaScript patches or features, you must include [relevant unit tests](https://github.com/twbs/bootstrap/tree/master/js/tests). All HTML and CSS should conform to the [Code Guide](https://github.com/mdo/code-guide), maintained by [Mark Otto](https://github.com/mdo).
Moreover, if your pull request contains JavaScript patches or features, you must include [relevant unit tests](https://github.com/twbs/bootstrap/tree/main/js/tests). All HTML and CSS should conform to the [Code Guide](https://github.com/mdo/code-guide), maintained by [Mark Otto](https://github.com/mdo).
Editor preferences are available in the [editor config](https://github.com/twbs/bootstrap/blob/master/.editorconfig) for easy use in common text editors. Read more and download plugins at <http://editorconfig.org/>.
Editor preferences are available in the [editor config](https://github.com/twbs/bootstrap/blob/main/.editorconfig) for easy use in common text editors. Read more and download plugins at <https://editorconfig.org/>.
## Community
@@ -137,16 +179,16 @@ Get updates on Bootstrap's development and chat with the project maintainers and
- Follow [@getbootstrap on Twitter](https://twitter.com/getbootstrap).
- Read and subscribe to [The Official Bootstrap Blog](https://blog.getbootstrap.com/).
- Join [the official Slack room](https://bootstrap-slack.herokuapp.com/).
- Chat with fellow Bootstrappers in IRC. On the `irc.freenode.net` server, in the `##bootstrap` channel.
- Implementation help may be found at Stack Overflow (tagged [`bootstrap-4`](https://stackoverflow.com/questions/tagged/bootstrap-4)).
- Chat with fellow Bootstrappers in IRC. On the `irc.libera.chat` server, in the `#bootstrap` channel.
- Implementation help may be found at Stack Overflow (tagged [`bootstrap-5`](https://stackoverflow.com/questions/tagged/bootstrap-5)).
- Developers should use the keyword `bootstrap` on packages which modify or add to the functionality of Bootstrap when distributing through [npm](https://www.npmjs.com/browse/keyword/bootstrap) or similar delivery mechanisms for maximum discoverability.
## Versioning
For transparency into our release cycle and in striving to maintain backward compatibility, Bootstrap is maintained under [the Semantic Versioning guidelines](http://semver.org/). Sometimes we screw up, but we'll adhere to those rules whenever possible.
For transparency into our release cycle and in striving to maintain backward compatibility, Bootstrap is maintained under [the Semantic Versioning guidelines](https://semver.org/). Sometimes we screw up, but we adhere to those rules whenever possible.
See [the Releases section of our GitHub project](https://github.com/twbs/bootstrap/releases) for changelogs for each release version of Bootstrap. Release announcement posts on [the official Bootstrap blog](https://blog.getbootstrap.com/) contain summaries of the most noteworthy changes made in each release.
See [the Releases section of our GitHub project](https://github.com/twbs/bootstrap/releases) for changelogs for each release version of Bootstrap. Release announcement posts on [the official Bootstrap blog](https://blog.getbootstrap.com/) contain summaries of the most noteworthy changes made in each release. [Release planning](https://github.com/twbs/release#upcoming-release-schedule) takes place in a separate project.
## Creators
@@ -162,6 +204,44 @@ See [the Releases section of our GitHub project](https://github.com/twbs/bootstr
- <https://github.com/fat>
## Thanks
<a href="https://www.browserstack.com/">
<img src="https://live.browserstack.com/images/opensource/browserstack-logo.svg" alt="BrowserStack" width="192" height="42">
</a>
Thanks to [BrowserStack](https://www.browserstack.com/) for providing the infrastructure that allows us to test in real browsers!
<a href="https://www.netlify.com/">
<img src="https://www.netlify.com/v3/img/components/full-logo-light.svg" alt="Netlify" width="147" height="40">
</a>
Thanks to [Netlify](https://www.netlify.com/) for providing us with Deploy Previews!
## Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/bootstrap#sponsor)]
[![OC sponsor 0](https://opencollective.com/bootstrap/sponsor/0/avatar.svg)](https://opencollective.com/bootstrap/sponsor/0/website)
[![OC sponsor 1](https://opencollective.com/bootstrap/sponsor/1/avatar.svg)](https://opencollective.com/bootstrap/sponsor/1/website)
[![OC sponsor 2](https://opencollective.com/bootstrap/sponsor/2/avatar.svg)](https://opencollective.com/bootstrap/sponsor/2/website)
[![OC sponsor 3](https://opencollective.com/bootstrap/sponsor/3/avatar.svg)](https://opencollective.com/bootstrap/sponsor/3/website)
[![OC sponsor 4](https://opencollective.com/bootstrap/sponsor/4/avatar.svg)](https://opencollective.com/bootstrap/sponsor/4/website)
[![OC sponsor 5](https://opencollective.com/bootstrap/sponsor/5/avatar.svg)](https://opencollective.com/bootstrap/sponsor/5/website)
[![OC sponsor 6](https://opencollective.com/bootstrap/sponsor/6/avatar.svg)](https://opencollective.com/bootstrap/sponsor/6/website)
[![OC sponsor 7](https://opencollective.com/bootstrap/sponsor/7/avatar.svg)](https://opencollective.com/bootstrap/sponsor/7/website)
[![OC sponsor 8](https://opencollective.com/bootstrap/sponsor/8/avatar.svg)](https://opencollective.com/bootstrap/sponsor/8/website)
[![OC sponsor 9](https://opencollective.com/bootstrap/sponsor/9/avatar.svg)](https://opencollective.com/bootstrap/sponsor/9/website)
## Backers
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/bootstrap#backer)]
[![Backers](https://opencollective.com/bootstrap/backers.svg?width=890)](https://opencollective.com/bootstrap#backers)
## Copyright and license
Code and documentation copyright 2011-2017 the [Bootstrap Authors](https://github.com/twbs/bootstrap/graphs/contributors) and [Twitter, Inc.](https://twitter.com) Code released under the [MIT License](https://github.com/twbs/bootstrap/blob/master/LICENSE). Docs released under [Creative Commons](https://github.com/twbs/bootstrap/blob/master/docs/LICENSE).
Code and documentation copyright 20112022 the [Bootstrap Authors](https://github.com/twbs/bootstrap/graphs/contributors) and [Twitter, Inc.](https://twitter.com) Code released under the [MIT License](https://github.com/twbs/bootstrap/blob/main/LICENSE). Docs released under [Creative Commons](https://creativecommons.org/licenses/by/3.0/).
+7
View File
@@ -0,0 +1,7 @@
# Reporting Security Issues
The Bootstrap team and community take security issues in Bootstrap seriously. We appreciate your efforts to responsibly disclose your findings, and will make every effort to acknowledge your contributions.
To report a security issue, email [security@getbootstrap.com](mailto:security@getbootstrap.com) and include the word "SECURITY" in the subject line.
We'll endeavor to respond quickly, and will keep you updated throughout the process.
-81
View File
@@ -1,81 +0,0 @@
# Dependencies
markdown: kramdown
highlighter: rouge
kramdown:
auto_ids: true
# Permalinks
permalink: pretty
# Server
source: "."
destination: ./_gh_pages
host: 0.0.0.0
port: 9001
baseurl: ""
url: "https://getbootstrap.com"
encoding: UTF-8
exclude:
- .git/
- .github/
- assets/scss/
- build/
- js/
- node_modules/
- nuget/
- scss/
- vendor/
- CODE_OF_CONDUCT.md
- composer.json
- Gemfile
- Gemfile.lock
- package.js
- package.json
- package-lock.json
- README.md
- sache.json
- twbsconfig.yml
plugins:
- jekyll-redirect-from
- jekyll-sitemap
- jekyll-toc
# Social
title: Bootstrap
description: "The most popular HTML, CSS, and JS library in the world."
twitter: getbootstrap
authors: "Mark Otto, Jacob Thornton, and Bootstrap contributors"
social_image_path: /assets/brand/bootstrap-social.png
social_logo_path: /assets/brand/bootstrap-social-logo.png
# Custom variables
current_version: 4.0.0-beta.3
current_ruby_version: 4.0.0.beta3
docs_version: 4.0
repo: "https://github.com/twbs/bootstrap"
slack: "https://bootstrap-slack.herokuapp.com"
blog: "https://blog.getbootstrap.com"
expo: "https://expo.getbootstrap.com"
jobs: "https://jobs.getbootstrap.com"
themes: "https://themes.getbootstrap.com"
download:
source: "https://github.com/twbs/bootstrap/archive/v4.0.0-beta.3.zip"
dist: "https://github.com/twbs/bootstrap/releases/download/v4.0.0-beta.3/bootstrap-4.0.0-beta.3-dist.zip"
cdn:
# See https://www.srihash.org for info on how to generate the hashes
css: "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/css/bootstrap.min.css"
css_hash: "sha384-Zug+QiDoJOrZ5t4lssLdxGhVrurbmBWopoEl+M6BdEfwnCJZtKxi1KgxUyJq13dy"
js: "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/js/bootstrap.min.js"
js_hash: "sha384-a5N7Y/aK3qNeh15eJKGWxsqtnX/wWdSZSKp+81YjTmS15nvnvxKHuzaWwXHDli+4"
jquery: "https://code.jquery.com/jquery-3.2.1.slim.min.js"
jquery_hash: "sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
popper: "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
popper_hash: "sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
toc:
min_level: 2
max_level: 4
-431
View File
@@ -1,431 +0,0 @@
-
browser: >
Edge
summary: >
Visual artifacts in scrollable modal dialogs
upstream_bug: >
Edge#9011176
origin: >
Bootstrap#20755
-
browser: >
Edge
summary: >
Native browser tooltip for `title` shows on first keyboard focus (in addition to custom tooltip component)
upstream_bug: >
Edge#6793560
origin: >
Bootstrap#18692
-
browser: >
Edge
summary: >
Hovered element still remains in `:hover` state after scrolling away.
upstream_bug: >
Edge#5381673
origin: >
Bootstrap#14211
-
browser: >
Edge
summary: >
CSS `border-radius` sometimes causes lines of bleed-through of the `background-color` of the parent element.
upstream_bug: >
Edge#3342037
origin: >
Bootstrap#16671
-
browser: >
Edge
summary: >
`background` of `<tr>` is only applied to first child cell instead of all cells in the row
upstream_bug: >
Edge#5865620
origin: >
Bootstrap#18504
-
browser: >
Edge
summary: >
`@-ms-viewport{width: device-width;}` has side-effect of making scrollbars auto-hide
upstream_bug: >
Edge#7165383
origin: >
Bootstrap#18543
-
browser: >
Edge
summary: >
Background color from lower layer bleeds through transparent border in some cases
upstream_bug: >
Edge#6274505
origin: >
Bootstrap#18228
-
browser: >
Edge
summary: >
Hovering over descendant SVG element fires `mouseleave` event at ancestor
upstream_bug: >
Edge#7787318
origin: >
Bootstrap#19670
-
browser: >
Edge
summary: >
Active `position: fixed;` `<button>` flickers when scrolling
upstream_bug: >
Edge#8770398
origin: >
Bootstrap#20507
-
browser: >
Firefox
summary: >
`.table-bordered` with an empty `<tbody>` is missing borders.
upstream_bug: >
Mozilla#1023761
origin: >
Bootstrap#13453
-
browser: >
Firefox
summary: >
If the disabled state of a form control is changed via JavaScript, the normal state doesn't return after refreshing the page.
upstream_bug: >
Mozilla#654072
origin: >
Bootstrap#793
-
browser: >
Firefox
summary: >
`focus` events should not be fired at the `document` object
upstream_bug: >
Mozilla#1228802
origin: >
Bootstrap#18365
-
browser: >
Firefox
summary: >
Wide floated table doesn't wrap onto new line
upstream_bug: >
Mozilla#1277782
origin: >
Bootstrap#19839
-
browser: >
Firefox
summary: >
Mouse sometimes not within element for purposes of `mouseenter`/`mouseleave` when it's within SVG elements
upstream_bug: >
Mozilla#577785
origin: >
Bootstrap#19670
-
browser: >
Firefox
summary: >
Layout with floated columns breaks when printing
upstream_bug: >
Mozilla#1315994
origin: >
Bootstrap#21092
-
browser: >
Firefox (Windows)
summary: >
Right border of `<select>` menu is sometimes missing when screen is set to uncommon resolution
upstream_bug: >
Mozilla#545685
origin: >
Bootstrap#15990
-
browser: >
Firefox (OS X & Linux)
summary: >
Badge widget causes bottom border of Tabs widget to unexpectedly not overlap
upstream_bug: >
Mozilla#1259972
origin: >
Bootstrap#19626
-
browser: >
Chrome (Android)
summary: >
Tapping on an `<input>` in a scrollable overlay doesn't scroll the `<input>` into view
upstream_bug: >
Chromium#595210
origin: >
Bootstrap#17338
-
browser: >
Chrome (OS X)
summary: >
Clicking above `<input type="number">` increment button flashes the decrement button.
upstream_bug: >
Chromium#419108
origin: >
Offshoot of Bootstrap#8350 & Chromium#337668
-
browser: >
Chrome
summary: >
CSS infinite linear animation with alpha transparency leaks memory.
upstream_bug: >
Chromium#429375
origin: >
Bootstrap#14409
-
browser: >
Chrome
summary: >
`table-cell` borders not overlapping despite `margin-right: -1px`
upstream_bug: >
Chromium#749848
origin: >
Bootstrap#17438, Bootstrap#14237
-
browser: >
Chrome
summary: >
Clicking scrollbar in `<select multiple>` with overflowed options will select nearby `<option>`
upstream_bug: >
Chromium#597642
origin: >
Bootstrap#19810
-
browser: >
Chrome
summary: >
Don't make `:hover` sticky on touch-friendly webpages
upstream_bug: >
Chromium#370155
origin: >
Bootstrap#12832
-
browser: >
Chrome
summary: >
`position: absolute` element that's wider than its column is incorrectly clipped to column boundary
upstream_bug: >
Chromium#269061
origin: >
Bootstrap#20161
-
browser: >
Chrome (Windows & Linux)
summary: >
Animation glitch when returning to inactive tab after animations occurred while tab was hidden.
upstream_bug: >
Chromium#449180
origin: >
Bootstrap#15298
-
browser: >
Safari
summary: >
`rem` units in media queries should be calculated using `font-size: initial`, not the root element's `font-size`
upstream_bug: >
WebKit#156684
origin: >
Bootstrap#17403
-
browser: >
Safari
summary: >
Link to container with id and tabindex results in container being ignored by VoiceOver (affects skip links)
upstream_bug: >
WebKit#163658
origin: >
Bootstrap#20732
-
browser: >
Safari (OS X)
summary: >
`px`, `em`, and `rem` should all behave the same in media queries when page zoom is applied
upstream_bug: >
WebKit#156687
origin: >
Bootstrap#17403
-
browser: >
Safari (OS X)
summary: >
Weird button behavior with some `<input type="number">` elements.
upstream_bug: >
WebKit#137269, Safari#18834768
origin: >
Bootstrap#8350,
Normalize#283,
Chromium#337668
-
browser: >
Safari (OS X)
summary: >
Small font size when printing webpage with fixed-width `.container`.
upstream_bug: >
WebKit#138192, Safari#19435018
origin: >
Bootstrap#14868
-
browser: >
Safari (iOS)
summary: >
`transform: translate3d(0,0,0);` rendering bug.
upstream_bug: >
WebKit#138162, Safari#18804973
origin: >
Bootstrap#14603
-
browser: >
Safari (iOS)
summary: >
Text input's cursor doesn't move while scrolling the page.
upstream_bug: >
WebKit#138201, Safari#18819624
origin: >
Bootstrap#14708
-
browser: >
Safari (iOS)
summary: >
Can't move cursor to start of text after entering long string of text into `<input type="text">`
upstream_bug: >
WebKit#148061, Safari#22299624
origin: >
Bootstrap#16988
-
browser: >
Safari (iOS)
summary: >
`display: block` causes text of temporal `<input>`s to become vertically misaligned
upstream_bug: >
WebKit#139848, Safari#19434878
origin: >
Bootstrap#11266, Bootstrap#13098
-
browser: >
Safari (iOS)
summary: >
Tapping on `<body>` doesn't fire `click` events
upstream_bug: >
WebKit#151933
origin: >
Bootstrap#16028
-
browser: >
Safari (iOS)
summary: >
`position:fixed` is incorrectly positioned when tab bar is visible on iPhone 6S+ Safari
upstream_bug: >
WebKit#153056
origin: >
Bootstrap#18859
-
browser: >
Safari (iOS)
summary: >
Tapping into an `<input>` within a `position:fixed` element scrolls to the top of the page
upstream_bug: >
WebKit#153224, Safari#24235301
origin: >
Bootstrap#17497
-
browser: >
Safari (iOS)
summary: >
`<body>` with `overflow:hidden` CSS is scrollable on iOS
upstream_bug: >
WebKit#153852
origin: >
Bootstrap#14839
-
browser: >
Safari (iOS)
summary: >
Scroll gesture in text field in `position:fixed` element sometimes scrolls `<body>` instead of scrollable ancestor
upstream_bug: >
WebKit#153856
origin: >
Bootstrap#14839
-
browser: >
Safari (iOS)
summary: >
Modal with `-webkit-overflow-scrolling: touch` doesn't become scrollable after added text makes it taller
upstream_bug: >
WebKit#158342
origin: >
Bootstrap#17695
-
browser: >
Safari (iOS)
summary: >
Don't make `:hover` sticky on touch-friendly webpages
upstream_bug: >
WebKit#158517
origin: >
Bootstrap#12832
-
browser: >
Safari (iOS)
summary: >
Element which is `position:fixed` disappears after opening a `<select>` menu
upstream_bug: >
WebKit#162362
origin: >
Bootstrap#20759
-
browser: >
Safari (iPad Pro)
summary: >
Rendering of descendants of `position: fixed` element gets clipped on iPad Pro in Landscape orientation
upstream_bug: >
WebKit#152637, Safari#24030853
origin: >
Bootstrap#18738
-149
View File
@@ -1,149 +0,0 @@
-
browser: >
Edge
summary: >
Focusable elements should fire focus event / receive :focus styling when they receive Narrator/accessibility focus
upstream_bug: >
A11yUserVoice#16717318
origin: >
Bootstrap#20732
-
browser: >
Edge
summary: >
Implement the [`:dir()` pseudo-class](https://developer.mozilla.org/en-US/docs/Web/CSS/:dir) from Selectors Level 4
upstream_bug: >
UserVoice#12299532
origin: >
Bootstrap#19984
-
browser: >
Edge
summary: >
Implement [sticky positioning](http://html5please.com/#position:sticky) from CSS Positioned Layout Level 3
upstream_bug: >
UserVoice#6263621
origin: >
Bootstrap#17021
-
browser: >
Edge
summary: >
Implement the HTML5 [`<dialog>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog)
upstream_bug: >
UserVoice#6508895
origin: >
Bootstrap#20175
-
browser: >
Edge
summary: >
Fire a [`transitioncancel` event](https://developer.mozilla.org/en-US/docs/Web/Events/transitioncancel) when a CSS transition is canceled
upstream_bug: >
UserVoice#15939898
origin: >
Bootstrap#20618
-
browser: >
Edge
summary: >
Implement the [`of <selector-list>` clause](https://caniuse.com/#feat=css-nth-child-of) of the `:nth-child()` pseudo-class
upstream_bug: >
UserVoice#15944476
origin: >
Bootstrap#20143
-
browser: >
Firefox
summary: >
Implement the [`of <selector-list>` clause](https://caniuse.com/#feat=css-nth-child-of) of the `:nth-child()` pseudo-class
upstream_bug: >
Mozilla#854148
origin: >
Bootstrap#20143
-
browser: >
Firefox
summary: >
Implement the HTML5 [`<dialog>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog)
upstream_bug: >
Mozilla#840640
origin: >
Bootstrap#20175
-
browser: >
Firefox
summary: >
When virtual focus is on a button or link, fire actual focus on the element, too
upstream_bug: >
Mozilla#1000082
origin: >
Bootstrap#20732
-
browser: >
Chrome
summary: >
Fire a [`transitioncancel` event](https://developer.mozilla.org/en-US/docs/Web/Events/transitioncancel) when a CSS transition is canceled
upstream_bug: >
Chromium#642487
origin: >
Chromium#437860
-
browser: >
Chrome
summary: >
Implement the [`of <selector-list>` clause](https://caniuse.com/#feat=css-nth-child-of) of the `:nth-child()` pseudo-class
upstream_bug: >
Chromium#304163
origin: >
Bootstrap#20143
-
browser: >
Chrome
summary: >
Implement the [`:dir()` pseudo-class](https://developer.mozilla.org/en-US/docs/Web/CSS/:dir) from Selectors Level 4
upstream_bug: >
Chromium#576815
origin: >
Bootstrap#19984
-
browser: >
Safari
summary: >
Fire a [`transitioncancel` event](https://developer.mozilla.org/en-US/docs/Web/Events/transitioncancel) when a CSS transition is canceled
upstream_bug: >
WebKit#161535
origin: >
Bootstrap#20618
-
browser: >
Safari
summary: >
Implement the [`:dir()` pseudo-class](https://developer.mozilla.org/en-US/docs/Web/CSS/:dir) from Selectors Level 4
upstream_bug: >
WebKit#64861
origin: >
Bootstrap#19984
-
browser: >
Safari
summary: >
Implement the HTML5 [`<dialog>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog)
upstream_bug: >
WebKit#84635
origin: >
Bootstrap#20175
-85
View File
@@ -1,85 +0,0 @@
- title: Getting started
pages:
- title: Introduction
- title: Download
- title: Contents
- title: Browsers & devices
- title: JavaScript
- title: Theming
- title: Build tools
# - title: Best practices # TODO: Write this content
- title: Webpack
- title: Accessibility
- title: Layout
pages:
- title: Overview
- title: Grid
- title: Media object
- title: Utilities for layout
- title: Content
pages:
- title: Reboot
- title: Typography
- title: Code
- title: Images
- title: Tables
- title: Figures
- title: Components
pages:
- title: Alerts
- title: Badge
- title: Breadcrumb
- title: Buttons
- title: Button group
- title: Card
- title: Carousel
- title: Collapse
- title: Dropdowns
- title: Forms
- title: Input group
- title: Jumbotron
- title: List group
- title: Modal
- title: Navs
- title: Navbar
- title: Pagination
- title: Popovers
- title: Progress
- title: Scrollspy
- title: Tooltips
- title: Utilities
pages:
- title: Borders
- title: Clearfix
- title: Close icon
- title: Colors
- title: Display
- title: Embed
- title: Flex
- title: Float
- title: Image replacement
- title: Position
- title: Screenreaders
- title: Sizing
- title: Spacing
- title: Text
- title: Vertical align
- title: Visibility
- title: Extend
pages:
# - title: Approach
- title: Icons
- title: Migration
- title: About
pages:
- title: Overview
- title: Brand
- title: License
- title: Translations
-19
View File
@@ -1,19 +0,0 @@
- name: 中文(繁體)
code: zh-tw
description: Bootstrap 4 繁體中文手冊
url: http://bootstrap.hexschool.com/
- name: Chinese
code: zh
description: Bootstrap 4 · 全球最流行的 HTML、CSS 和 JS 工具库。
url: http://code.z01.com/v4
- name: Chinese
code: zh
description: Bootstrap 4 中文文档教程
url: http://wiki.jikexueyuan.com/project/bootstrap4/
- name: Brazilian Portuguese
code: pt-BR
description: Bootstrap 4 Português do Brasil
url: http://getbootstrap.com.br/v4/
-1
View File
@@ -1 +0,0 @@
<script async src="https://cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=getbootstrapcom" id="_carbonads_js"></script>
@@ -1,3 +0,0 @@
{% callout info %}
Note that since browsers do not currently support [range context queries](https://www.w3.org/TR/mediaqueries-4/#range-context), we work around the limitations of [`min-` and `max-` prefixes](https://www.w3.org/TR/mediaqueries-4/#mq-min-max) and viewports with fractional widths (which can occur under certain conditions on high-dpi devices, for instance) by using values with higher precision for these comparisons.
{% endcallout %}
-63
View File
@@ -1,63 +0,0 @@
<header class="navbar navbar-expand navbar-dark flex-column flex-md-row bd-navbar">
<a class="navbar-brand mr-0 mr-md-2" href="{{ site.baseurl }}/" aria-label="Bootstrap">
{%- include icons/bootstrap.svg width="36" height="36" class="d-block" -%}
</a>
<div class="navbar-nav-scroll">
<ul class="navbar-nav bd-navbar-nav flex-row">
<li class="nav-item">
<a class="nav-link {% if page.layout == "home" %}active{% endif %}" href="{{ site.baseurl }}/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Bootstrap');">Home</a>
</li>
<li class="nav-item">
<a class="nav-link {% if page.layout == "docs" %}active{% endif %}" href="{{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/introduction/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Docs');">Documentation</a>
</li>
<li class="nav-item">
<a class="nav-link {% if page.title == "Examples" %}active{% endif %}" href="{{ site.baseurl }}/docs/{{ site.docs_version }}/examples/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Examples');">Examples</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ site.themes }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Themes');" target="_blank" rel="noopener">Themes</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ site.jobs }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Jobs');" target="_blank" rel="noopener">Jobs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ site.expo }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Expo');" target="_blank" rel="noopener">Expo</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ site.blog }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Blog');" target="_blank" rel="noopener">Blog</a>
</li>
</ul>
</div>
<ul class="navbar-nav flex-row ml-md-auto d-none d-md-flex">
<li class="nav-item dropdown">
<a class="nav-item nav-link dropdown-toggle mr-md-2" href="#" id="bd-versions" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
v4.0
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="bd-versions">
<a class="dropdown-item active" href="{{ site.baseurl }}/docs/{{ site.docs_version }}/">Latest (4.x)</a>
<a class="dropdown-item" href="https://v4-alpha.getbootstrap.com/">v4 Alpha 6</a>
<a class="dropdown-item" href="https://getbootstrap.com/docs/3.3/">v3.3.7</a>
<a class="dropdown-item" href="https://getbootstrap.com/2.3.2/">v2.3.2</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link p-2" href="{{ site.repo }}" target="_blank" rel="noopener" aria-label="GitHub">
{%- include icons/github.svg class="navbar-nav-svg" -%}
</a>
</li>
<li class="nav-item">
<a class="nav-link p-2" href="https://twitter.com/{{ site.twitter }}" target="_blank" rel="noopener" aria-label="Twitter">
{%- include icons/twitter.svg class="navbar-nav-svg" -%}
</a>
</li>
<li class="nav-item">
<a class="nav-link p-2" href="{{ site.slack }}" target="_blank" rel="noopener" aria-label="Slack">
{%- include icons/slack.svg class="navbar-nav-svg" -%}
</a>
</li>
</ul>
<a class="btn btn-bd-download d-none d-lg-inline-block mb-3 mb-md-0 ml-md-3" href="{{ site.download.source }}">Download</a>
</header>
-57
View File
@@ -1,57 +0,0 @@
<form class="bd-search d-flex align-items-center">
<input type="search" class="form-control" id="search-input" placeholder="Search..." aria-label="Search for..." autocomplete="off">
<button class="btn btn-link bd-search-docs-toggle d-md-none p-0 ml-3" type="button" data-toggle="collapse" data-target="#bd-docs-nav" aria-controls="bd-docs-nav" aria-expanded="false" aria-label="Toggle docs navigation">
{%- include icons/menu.svg width="30" height="30" -%}
</button>
</form>
<nav class="collapse bd-links" id="bd-docs-nav">
{%- assign page_slug = page.url | split: '/' | last -%}
{%- for group in site.data.nav -%}
{%- assign link = group.pages | first -%}
{%- assign link_slug = link.title | slugify -%}
{%- assign group_slug = group.title | slugify -%}
{%- assign active = nil -%}
{%- if page.group == group_slug -%}
{%- assign active = 'active' -%}
{%- endif -%}
<div class="bd-toc-item{% unless active == nil %} {{ active }}{% endunless %}">
<a class="bd-toc-link" href="{{ site.baseurl }}/docs/{{ site.docs_version }}/{{ group_slug }}/{{ link_slug }}{% if link_slug %}/{% endif %}">
{{ group.title }}
</a>
<ul class="nav bd-sidenav">
{%- for doc in group.pages -%}
{%- assign doc_slug = doc.title | slugify -%}
{%- assign active = nil -%}
{%- if page.group == group_slug and page_slug == doc_slug -%}
{%- assign active = 'active bd-sidenav-active' -%}
{%- endif -%}
<li{% unless active == nil %} class="{{ active }}"{% endunless %}>
<a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/{{ group_slug }}/{{ doc_slug }}/">
{{ doc.title }}
</a>
{%- comment -%}
{% unless doc.sections == nil %}
<ul class="nav">
{% for section in doc.sections %}
<li>
<a href="#{{ section.title | downcase | replace: ' ', '-' }}">
{{ section.title }}
</a>
</li>
{% endfor %}
</ul>
{% endunless %}
{%- endcomment -%}
</li>
{%- endfor -%}
</ul>
</div>
{%- endfor -%}
</nav>
-9
View File
@@ -1,9 +0,0 @@
<!-- Favicons -->
<link rel="apple-touch-icon" href="{{ site.baseurl }}/assets/img/favicons/apple-touch-icon.png" sizes="180x180">
<link rel="icon" href="{{ site.baseurl }}/assets/img/favicons/favicon-32x32.png" sizes="32x32" type="image/png">
<link rel="icon" href="{{ site.baseurl }}/assets/img/favicons/favicon-16x16.png" sizes="16x16" type="image/png">
<link rel="manifest" href="{{ site.baseurl }}/assets/img/favicons/manifest.json">
<link rel="mask-icon" href="{{ site.baseurl }}/assets/img/favicons/safari-pinned-tab.svg" color="#563d7c">
<link rel="icon" href="{{ site.baseurl }}/favicon.ico">
<meta name="msapplication-config" content="{{ site.baseurl }}/assets/img/favicons/browserconfig.xml">
<meta name="theme-color" content="#563d7c">
-12
View File
@@ -1,12 +0,0 @@
<footer class="bd-footer text-muted">
<div class="container-fluid p-3 p-md-5">
<ul class="bd-footer-links">
<li><a href="{{ site.repo }}">GitHub</a></li>
<li><a href="https://twitter.com/getbootstrap">Twitter</a></li>
<li><a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/examples/">Examples</a></li>
<li><a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/about/overview/">About</a></li>
</ul>
<p>Designed and built with all the love in the world by <a href="https://twitter.com/mdo" target="_blank" rel="noopener">@mdo</a> and <a href="https://twitter.com/fat" target="_blank" rel="noopener">@fat</a>. Maintained by the <a href="https://github.com/orgs/twbs/people">core team</a> with the help of <a href="https://github.com/twbs/bootstrap/graphs/contributors">our contributors</a>.</p>
<p>Currently v{{ site.current_version }}. Code licensed <a href="https://github.com/twbs/bootstrap/blob/master/LICENSE" target="_blank" rel="license noopener">MIT</a>, docs <a href="https://creativecommons.org/licenses/by/3.0/" target="_blank" rel="license noopener">CC BY 3.0</a>.</p>
</div>
</footer>
-39
View File
@@ -1,39 +0,0 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="{{ page.description | default: site.description | smartify }}">
<meta name="author" content="{{ site.authors }}">
<meta name="generator" content="Jekyll v{{ jekyll.version }}">
<title>
{%- if page.title -%}
{{ page.title | smartify }} · {{ site.title | smartify }}
{%- else -%}
{{ site.title | smartify }} · {{ site.description | smartify }}
{%- endif -%}
</title>
<!-- Bootstrap core CSS -->
{% if site.github %}
<link href="{{ site.baseurl }}/dist/css/bootstrap.min.css" rel="stylesheet">
{% else %}
<link href="{{ site.baseurl }}/dist/css/bootstrap.css" rel="stylesheet">
{% endif %}
<!-- Documentation extras -->
{% if page.layout == "docs" %}
<link href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" rel="stylesheet">
{% endif %}
<link href="{{ site.baseurl }}/assets/css/docs.min.css" rel="stylesheet">
{% include favicons.html %}
{% include social.html %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-146052-10', 'getbootstrap.com');
ga('send', 'pageview');
</script>
-1
View File
@@ -1 +0,0 @@
<svg{% if include.class %} class="{{ include.class }}"{% endif %}{% if include.width %} width="{{ include.width }}"{% endif %}{% if include.height %} height="{{ include.height }}"{% endif %} viewbox="0 0 612 612" xmlns="http://www.w3.org/2000/svg" focusable="false"><title>Bootstrap</title><path fill="currentColor" d="M510 8a94.3 94.3 0 0 1 94 94v408a94.3 94.3 0 0 1-94 94H102a94.3 94.3 0 0 1-94-94V102a94.3 94.3 0 0 1 94-94h408m0-8H102C45.9 0 0 45.9 0 102v408c0 56.1 45.9 102 102 102h408c56.1 0 102-45.9 102-102V102C612 45.9 566.1 0 510 0z"/><path fill="currentColor" d="M196.77 471.5V154.43h124.15c54.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 89zm39.55-180.4h63.28c46.8 0 72.29-18.68 72.29-53 0-31.42-21.53-48.78-60-48.78h-75.57zm78.22 145.46c47.68 0 72.73-19.34 72.73-56s-25.93-55.37-76.46-55.37h-74.49v111.4z"/></svg>

Before

Width:  |  Height:  |  Size: 890 B

-1
View File
@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" focusable="false"{% if include.width %} width="{{ include.width }}"{% endif %}{% if include.height %} height="{{ include.height }}"{% endif %} fill="none" stroke="currentcolor" stroke-width="2"{% if include.class %} class="{{ include.class }}"{% endif %} viewBox="0 0 32 32" stroke-linecap="round" stroke-linejoin="round"><title>Download icon</title><path d="M9 22c-9 1-8-10 0-9C6 2 23 2 22 10c10-3 10 13 1 12m-12 4l5 4 5-4m-5-10v14"/></svg>

Before

Width:  |  Height:  |  Size: 482 B

-1
View File
@@ -1 +0,0 @@
<svg{% if include.class %} class="{{ include.class }}"{% endif %} xmlns="http://www.w3.org/2000/svg" viewbox="0 0 512 499.36"{% if include.width %} width="{{ include.width }}"{% endif %}{% if include.height %} height="{{ include.height }}"{% endif %} focusable="false"><title>GitHub</title><path d="M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z" fill="currentColor" fill-rule="evenodd"/></svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

-1
View File
@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" focusable="false"{% if include.width %} width="{{ include.width }}"{% endif %}{% if include.height %} height="{{ include.height }}"{% endif %} fill="none" stroke="currentcolor" stroke-width="2"{% if include.class %} class="{{ include.class }}"{% endif %} viewBox="0 0 32 32" stroke-linecap="round" stroke-linejoin="round"><title>Import icon</title><path d="M28 22v8H4v-8M16 4v20m-8-8l8 8 8-8"/></svg>

Before

Width:  |  Height:  |  Size: 441 B

-1
View File
@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" focusable="false"{% if include.width %} width="{{ include.width }}"{% endif %}{% if include.height %} height="{{ include.height }}"{% endif %} fill="none" stroke="currentcolor" stroke-width="2"{% if include.class %} class="{{ include.class }}"{% endif %} viewBox="0 0 32 32" stroke-linecap="round" stroke-linejoin="round"><title>Lightning icon</title><path d="M18 13l8-11L8 13l6 6-8 11 18-11z"/></svg>

Before

Width:  |  Height:  |  Size: 442 B

-1
View File
@@ -1 +0,0 @@
<svg{% if include.class %} class="{{ include.class }}"{% endif %} xmlns="http://www.w3.org/2000/svg" viewbox="0 0 30 30"{% if include.width %} width="{{ include.width }}"{% endif %}{% if include.height %} height="{{ include.height }}"{% endif %} focusable="false"><title>Menu</title><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M4 7h22M4 15h22M4 23h22"/></svg>

Before

Width:  |  Height:  |  Size: 410 B

-1
View File
@@ -1 +0,0 @@
<svg{% if include.class %} class="{{ include.class }}"{% endif %} xmlns="http://www.w3.org/2000/svg" viewbox="0 0 512 512"{% if include.width %} width="{{ include.width }}"{% endif %}{% if include.height %} height="{{ include.height }}"{% endif %} focusable="false"><title>Slack</title><path fill="currentColor" d="M210.787 234.832l68.31-22.883 22.1 65.977-68.309 22.882z"/><path d="M490.54 185.6C437.7 9.59 361.6-31.34 185.6 21.46S-31.3 150.4 21.46 326.4 150.4 543.3 326.4 490.54 543.34 361.6 490.54 185.6zM401.7 299.8l-33.15 11.05 11.46 34.38c4.5 13.92-2.87 29.06-16.78 33.56-2.87.82-6.14 1.64-9 1.23a27.32 27.32 0 0 1-24.56-18l-11.46-34.38-68.36 22.92 11.46 34.38c4.5 13.92-2.87 29.06-16.78 33.56-2.87.82-6.14 1.64-9 1.23a27.32 27.32 0 0 1-24.56-18l-11.46-34.43-33.15 11.05c-2.87.82-6.14 1.64-9 1.23a27.32 27.32 0 0 1-24.56-18c-4.5-13.92 2.87-29.06 16.78-33.56l33.12-11.03-22.1-65.9-33.15 11.05c-2.87.82-6.14 1.64-9 1.23a27.32 27.32 0 0 1-24.56-18c-4.48-13.93 2.89-29.07 16.81-33.58l33.15-11.05-11.46-34.38c-4.5-13.92 2.87-29.06 16.78-33.56s29.06 2.87 33.56 16.78l11.46 34.38 68.36-22.92-11.46-34.38c-4.5-13.92 2.87-29.06 16.78-33.56s29.06 2.87 33.56 16.78l11.47 34.42 33.15-11.05c13.92-4.5 29.06 2.87 33.56 16.78s-2.87 29.06-16.78 33.56L329.7 194.6l22.1 65.9 33.15-11.05c13.92-4.5 29.06 2.87 33.56 16.78s-2.88 29.07-16.81 33.57z" fill="currentColor"/></svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

-1
View File
@@ -1 +0,0 @@
<svg{% if include.class %} class="{{ include.class }}"{% endif %} xmlns="http://www.w3.org/2000/svg" viewbox="0 0 512 416.32"{% if include.width %} width="{{ include.width }}"{% endif %}{% if include.height %} height="{{ include.height }}"{% endif %} focusable="false"><title>Twitter</title><path d="M160.83 416.32c193.2 0 298.92-160.22 298.92-298.92 0-4.51 0-9-.2-13.52A214 214 0 0 0 512 49.38a212.93 212.93 0 0 1-60.44 16.6 105.7 105.7 0 0 0 46.3-58.19 209 209 0 0 1-66.79 25.37 105.09 105.09 0 0 0-181.73 71.91 116.12 116.12 0 0 0 2.66 24c-87.28-4.3-164.73-46.3-216.56-109.82A105.48 105.48 0 0 0 68 159.6a106.27 106.27 0 0 1-47.53-13.11v1.43a105.28 105.28 0 0 0 84.21 103.06 105.67 105.67 0 0 1-47.33 1.84 105.06 105.06 0 0 0 98.14 72.94A210.72 210.72 0 0 1 25 370.84a202.17 202.17 0 0 1-25-1.43 298.85 298.85 0 0 0 160.83 46.92" fill="currentColor"/></svg>

Before

Width:  |  Height:  |  Size: 861 B

-54
View File
@@ -1,54 +0,0 @@
<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/popper.min.js"></script>
{%- if site.github -%}
<script src="{{ site.baseurl }}/dist/js/bootstrap.min.js"></script>
{%- else -%}
<script src="{{ site.baseurl }}/dist/js/bootstrap.js"></script>
{%- endif -%}
{%- if site.github -%}
<script src="{{ site.baseurl }}/assets/js/docs.min.js"></script>
{%- else -%}
<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>
<script src="{{ site.baseurl }}/assets/js/src/ie-emulation-modes-warning.js"></script>
<script src="{{ site.baseurl }}/assets/js/src/pwa.js"></script>
{%- endif -%}
{%- if page.layout == "docs" -%}
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
<script>
docsearch({
apiKey: '48cb48b22351bc71ea5f12f4d1ede198',
indexName: 'bootstrap-v4',
inputSelector: '#search-input',
handleSelected: function (input, event, suggestion) {
var url = suggestion.url;
url = suggestion.isLvl1 ? url.split('#')[0]: url;
// If it's a title we remove the anchor so it does not jump.
window.location.href = url;
},
transformData: function (hits) {
return hits.map(function (hit) {
hit.url = hit.url.replace('https://v4-alpha.getbootstrap.com', '/docs/4.0');
return hit;
});
},
debug: false // Set debug to true if you want to inspect the dropdown
});
</script>
{%- endif -%}
<script>
Holder.addTheme('gray', {
bg: '#777',
fg: 'rgba(255,255,255,.75)',
font: 'Helvetica',
fontweight: 'normal'
});
</script>
-18
View File
@@ -1,18 +0,0 @@
<!-- Twitter -->
<meta name="twitter:card" content="{% if page.title %}summary{% else %}summary_large_image{% endif %}">
<meta name="twitter:site" content="@{{ site.twitter }}">
<meta name="twitter:creator" content="@{{ site.twitter }}">
<meta name="twitter:title" content="{{ page.title | default: site.title | smartify }}">
<meta name="twitter:description" content="{{ page.description | default: site.description | smartify }}">
<meta name="twitter:image" content="{% if page.title %}{{ site.url | append: site.social_logo_path }}{% else %}{{ site.url | append: site.social_image_path }}{% endif %}">
<!-- Facebook -->
<meta property="og:url" content="{{ site.url | append: page.url }}">
<meta property="og:title" content="{{ page.title | default: site.title | smartify }}">
<meta property="og:description" content="{{ page.description | default: site.description | smartify }}">
<meta property="og:type" content="website">
<meta property="og:image" content="{{ site.url | replace: 'https://', 'http://' | append: site.social_image_path }}">
<meta property="og:image:secure_url" content="{{ site.url | append: site.social_image_path }}">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
-26
View File
@@ -1,26 +0,0 @@
<!doctype html>
<html lang="en">
<head>
{% include header.html %}
</head>
<body>
<a id="skippy" class="sr-only sr-only-focusable" href="#content">
<div class="container">
<span class="skiplink-text">Skip to main content</span>
</div>
</a>
{% include docs-navbar.html %}
{% if page.layout == "simple" %}
{{ content }}
{% else %}
<main id="content" role="main">
{{ content }}
</main>
{% endif %}
{% include footer.html %}
{% include scripts.html %}
</body>
</html>
-38
View File
@@ -1,38 +0,0 @@
<!doctype html>
<html lang="en">
<head>
{% include header.html %}
</head>
<body>
<a id="skippy" class="sr-only sr-only-focusable" href="#content">
<div class="container">
<span class="skiplink-text">Skip to main content</span>
</div>
</a>
{% include docs-navbar.html %}
<div class="container-fluid">
<div class="row flex-xl-nowrap">
<div class="col-12 col-md-3 col-xl-2 bd-sidebar">
{% include docs-sidebar.html %}
</div>
{% if page.toc %}
<div class="d-none d-xl-block col-xl-2 bd-toc">
{{ content | toc_only }}
</div>
{% endif %}
<main class="col-12 col-md-9 col-xl-8 py-md-3 pl-md-5 bd-content" role="main">
<h1 class="bd-title" id="content">{{ page.title | smartify }}</h1>
<p class="bd-lead">{{ page.description | smartify }}</p>
{% include ads.html %}
{{ content }}
</main>
</div>
</div>
{% include scripts.html %}
</body>
</html>
-20
View File
@@ -1,20 +0,0 @@
<!doctype html>
<html lang="en">
<head>
{% include header.html %}
</head>
<body>
<a id="skippy" class="sr-only sr-only-focusable" href="#content">
<div class="container">
<span class="skiplink-text">Skip to main content</span>
</div>
</a>
{% include docs-navbar.html %}
{{ content }}
{% include footer.html %}
{% include scripts.html %}
</body>
</html>
-38
View File
@@ -1,38 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Bootstrap · Content moved</title>
<link rel="canonical" href="{{ page.redirect.to }}">
<meta http-equiv="refresh" content="0; url={{ page.redirect.to }}">
<meta name="robots" content="noindex">
<style>
html {
display: flex;
align-items: center;
justify-content: center;
margin: 0;
width: 100vw;
height: 100vh;
text-align: center;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
h1 {
margin-top: 0;
margin-bottom: .5rem;
}
a {
color: #007bff;
text-decoration: none;
}
</style>
</head>
<body>
<h1>Redirecting&hellip;</h1>
<a href="{{ page.redirect.to }}">Click here if you are not redirected</a>
<script>window.location="{{ page.redirect.to }}";</script>
</body>
</html>
-12
View File
@@ -1,12 +0,0 @@
---
layout: default
---
<div class="container my-5">
<main class="bd-content" role="main">
<h1 class="bd-title" id="content">{{ page.title | smartify }}</h1>
<p class="bd-lead">{{ page.description | smartify }}</p>
{% include ads.html %}
{{ content }}
</main>
</div>
-27
View File
@@ -1,27 +0,0 @@
module Jekyll
module BugFilter
def bugify(input)
upstream_map = {
"Bootstrap" => "https://github.com/twbs/bootstrap/issues/",
"Edge" => ["https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/", "Edge issue"],
"A11yUserVoice" => ["https://microsoftaccessibility.uservoice.com/forums/307429-microsoft-accessibility-feedback/suggestions/", "Microsoft A11y UserVoice idea"],
"UserVoice" => ["https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/", "Edge UserVoice idea"],
"Mozilla" => ["https://bugzilla.mozilla.org/show_bug.cgi?id=", "Mozilla bug"],
"Chromium" => ["https://bugs.chromium.org/p/chromium/issues/detail?id=", "Chromium issue"],
"WebKit" => ["https://bugs.webkit.org/show_bug.cgi?id=", "WebKit bug"],
"Safari" => ["https://openradar.appspot.com/", "Apple Safari Radar"],
"Normalize" => ["https://github.com/necolas/normalize.css/issues/", "Normalize"]
}
upstream_map.each do |key, data|
url = data.is_a?(Array) ? data[0] : data
label = data.is_a?(Array) ? "#{data[1]} " : ""
input = input.gsub(/#{key}#(\d+)/, "<a href=\"#{url}\\1\">#{label}#\\1</a>")
end
return input
end
end
end
Liquid::Template.register_filter(Jekyll::BugFilter)
-28
View File
@@ -1,28 +0,0 @@
# Source: https://stackoverflow.com/questions/19169849/how-to-get-markdown-processed-content-in-jekyll-tag-plugin
module Jekyll
module Tags
class CalloutTag < Liquid::Block
def initialize(tag_name, type, tokens)
super
type.strip!
if %w(info danger warning).include?(type)
@type = type
else
puts "#{type} callout not supported. Defaulting to info"
@type = "info"
end
end
def render(context)
site = context.registers[:site]
converter = site.find_converter_instance(::Jekyll::Converters::Markdown)
output = converter.convert(super(context))
"<div class=\"bd-callout bd-callout-#{@type}\">#{output}</div>"
end
end
end
end
Liquid::Template.register_tag('callout', Jekyll::Tags::CalloutTag)
-95
View File
@@ -1,95 +0,0 @@
module Jekyll
module Tags
class ExampleBlock < Liquid::Block
include Liquid::StandardFilters
# The regular expression syntax checker. Start with the language specifier.
# Follow that by zero or more space separated options that take one of three
# forms: name, name=value, or name="<quoted list>"
#
# <quoted list> is a space-separated list of numbers
SYNTAX = /^([a-zA-Z0-9.+#-]+)((\s+\w+(=((\w|[0-9_-])+|"([0-9]+\s)*[0-9]+"))?)*)$/
def initialize(tag_name, markup, tokens)
super
if markup.strip =~ SYNTAX
@lang = $1.downcase
@options = {}
if defined?($2) && $2 != ''
# Split along 3 possible forms -- key="<quoted list>", key=value, or key
$2.scan(/(?:\w+(?:=(?:(?:\w|[0-9_-])+|"[^"]*")?)?)/) do |opt|
key, value = opt.split('=')
# If a quoted list, convert to array
if value && value.include?("\"")
value.gsub!(/"/, "")
value = value.split
end
@options[key.to_sym] = value || true
end
end
@options[:linenos] = false
else
raise SyntaxError.new <<-eos
Syntax Error in tag 'example' while parsing the following markup:
#{markup}
Valid syntax: example <lang> [id=foo]
eos
end
end
def render(context)
prefix = context["highlighter_prefix"] || ""
suffix = context["highlighter_suffix"] || ""
code = super.to_s.strip
output = case context.registers[:site].highlighter
when 'rouge'
render_rouge(code)
end
rendered_output = example(code) + add_code_tag(output)
prefix + rendered_output + suffix
end
def example(output)
"<div class=\"bd-example\"" + (@options[:id] ? " data-example-id=\"#{@options[:id]}\"" : "") + ">\n#{output}\n</div>"
end
def remove_holderjs(code)
code = code.gsub(/data-src="holder.js.+?"/, 'src="..."')
end
def remove_example_classes(code)
# Find `bd-` classes and remove them from the highlighted code. Because of how this regex works, it will also
# remove classes that are after the `bd-` class. While this is a bug, I left it because it can be helpful too.
# To fix the bug, replace `(?=")` with `(?=("|\ ))`.
code = code.gsub(/(?!class=".)\ *?bd-.+?(?=")/, "")
# Find empty class attributes after the previous regex and remove those too.
code = code.gsub(/\ class=""/, "")
end
def render_rouge(code)
require 'rouge'
formatter = Rouge::Formatters::HTML.new(line_numbers: @options[:linenos], wrap: false)
lexer = Rouge::Lexer.find_fancy(@lang, code) || Rouge::Lexers::PlainText
code = remove_holderjs(code)
code = remove_example_classes(code)
code = formatter.format(lexer.lex(code))
"<div class=\"highlight\"><pre>#{code}</pre></div>"
end
def add_code_tag(code)
# Add nested <code> tags to code blocks
code = code.sub(/<pre>\n*/,'<pre><code class="language-' + @lang.to_s.gsub("+", "-") + '" data-lang="' + @lang.to_s + '">')
code = code.sub(/\n*<\/pre>/,"</code></pre>")
code.strip
end
end
end
end
Liquid::Template.register_tag('example', Jekyll::Tags::ExampleBlock)
-20
View File
@@ -1,20 +0,0 @@
module Jekyll
class MarkdownBlock < Liquid::Block
alias_method :render_block, :render
def initialize(tag_name, markup, tokens)
super
end
# Uses the default Jekyll markdown parser to
# parse the contents of this block
#
def render(context)
site = context.registers[:site]
converter = site.find_converter_instance(::Jekyll::Converters::Markdown)
converter.convert(render_block(context))
end
end
end
Liquid::Template.register_tag('markdown', Jekyll::MarkdownBlock)
-6
View File
@@ -1,6 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 180 612 612">
<g fill="#FFF" sodipodi:docname="twitter_bootstrap_logo.svg" inkscape:version="0.48.1 r9760" xmlns:svg="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape">
<path d="M510 186c25.5 0 49.6 10 67.8 28.2S606 256.5 606 282v408c0 25.5-10 49.6-28.2 67.8S535.5 786 510 786H102c-25.5 0-49.6-10-67.8-28.2S6 715.5 6 690V282c0-25.5 10-49.6 28.2-67.8S76.5 186 102 186h408m0-6H102C45.9 180 0 225.9 0 282v408c0 56.1 45.9 102 102 102h408c56.1 0 102-45.9 102-102V282c0-56.1-45.9-102-102-102z"/>
<path d="M166.3 313h173.5c32 0 57.7 7.3 77 22s29 36.8 29 66.5c0 18-4.4 33.4-13.2 46.2-8.8 12.8-21.4 22.8-37.8 29.8v1c22 4.7 38.7 15.1 50 31.2 11.3 16.2 17 36.4 17 60.8 0 14-2.5 27.1-7.5 39.2-5 12.2-12.8 22.7-23.5 31.5s-24.3 15.8-41 21-36.5 7.8-59.5 7.8h-164V313zm62.5 149.5h102c15 0 27.5-4.2 37.5-12.8s15-20.8 15-36.8c0-18-4.5-30.7-13.5-38s-22-11-39-11h-102v98.6zm0 156.5h110.5c19 0 33.8-4.9 44.2-14.8 10.5-9.8 15.8-23.8 15.8-41.8 0-17.7-5.2-31.2-15.8-40.8s-25.2-14.2-44.2-14.2H228.8V619z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

-6
View File
@@ -1,6 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 180 612 612">
<g fill="#FFF" sodipodi:docname="twitter_bootstrap_logo.svg" inkscape:version="0.48.1 r9760" xmlns:svg="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape">
<path d="M383.5 521.8c-10.5-9.5-25.2-14.2-44.2-14.2H228.8V619h110.5c19 0 33.8-4.9 44.2-14.8 10.5-9.8 15.8-23.8 15.8-41.8-.1-17.6-5.3-31.2-15.8-40.6zm-15.3-72c10-8.5 15-20.8 15-36.8 0-18-4.5-30.7-13.5-38s-22-11-39-11h-102v98.5h102c15 0 27.5-4.3 37.5-12.7z"/>
<path d="M510 180H102C45.9 180 0 225.9 0 282v408c0 56.1 45.9 102 102 102h408c56.1 0 102-45.9 102-102V282c0-56.1-45.9-102-102-102zm-55.8 429.8c-5 12.2-12.8 22.7-23.5 31.5s-24.3 15.8-41 21-36.5 7.8-59.5 7.8h-164V313h173.5c32 0 57.7 7.3 77 22s29 36.8 29 66.5c0 18-4.4 33.4-13.2 46.2-8.8 12.8-21.4 22.8-37.8 29.8v1c22 4.7 38.7 15.1 50 31.2 11.3 16.2 17 36.4 17 60.8 0 14-2.5 27.1-7.5 39.3z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 KiB

-6
View File
@@ -1,6 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 612 612">
<g sodipodi:docname="twitter_bootstrap_logo.svg" inkscape:version="0.48.1 r9760" xmlns:svg="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape">
<path fill="#563D7C" d="M612 510c0 56.1-45.9 102-102 102H102C45.9 612 0 566.1 0 510V102C0 45.9 45.9 0 102 0h408c56.1 0 102 45.9 102 102v408z"/>
<path fill="#FFF" d="M166.3 133h173.5c32 0 57.7 7.3 77 22s29 36.8 29 66.5c0 18-4.4 33.4-13.2 46.2-8.8 12.8-21.4 22.8-37.8 29.8v1c22 4.7 38.7 15.1 50 31.2 11.3 16.2 17 36.4 17 60.8 0 14-2.5 27.1-7.5 39.2-5 12.2-12.8 22.7-23.5 31.5s-24.3 15.8-41 21-36.5 7.8-59.5 7.8h-164V133zm62.5 149.5h102c15 0 27.5-4.2 37.5-12.8s15-20.8 15-36.8c0-18-4.5-30.7-13.5-38s-22-11-39-11h-102v98.6zm0 156.5h110.5c19 0 33.8-4.9 44.2-14.8 10.5-9.8 15.8-23.8 15.8-41.8 0-17.7-5.2-31.2-15.8-40.8s-25.2-14.2-44.2-14.2H228.8V439z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

-8
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

-11
View File
@@ -1,11 +0,0 @@
---
---
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="{{ site.baseurl }}/assets/img/favicons/mstile-150x150.png"/>
<TileColor>#563d7c</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 310 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 491 B

-22
View File
@@ -1,22 +0,0 @@
---
---
{
"name": "Bootstrap",
"short_name": "Bootstrap",
"icons": [
{
"src": "{{ site.baseurl }}/assets/img/favicons/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "{{ site.baseurl }}/assets/img/favicons/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"start_url": "/",
"theme_color": "#563d7c",
"background_color": "#563d7c",
"display": "standalone"
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

-20
View File
@@ -1,20 +0,0 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="700.000000pt" height="700.000000pt" viewBox="0 0 700.000000 700.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.11, written by Peter Selinger 2001-2013
</metadata>
<g transform="translate(0.000000,700.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M975 6983 c-494 -88 -870 -467 -959 -965 -13 -72 -15 -404 -14 -2513
0 -1970 3 -2446 13 -2515 46 -295 206 -564 445 -747 60 -46 164 -113 175 -113
3 0 31 -13 62 -28 73 -35 146 -58 260 -82 84 -17 196 -18 2563 -16 2334 1
2479 3 2545 19 39 10 77 20 85 22 74 18 226 87 310 139 92 58 255 209 298 276
9 14 28 41 43 60 36 48 111 200 138 280 12 36 30 106 40 155 18 86 19 188 17
2570 l-1 2480 -27 95 c-52 188 -106 300 -207 434 -170 225 -400 372 -691 442
-71 17 -200 18 -2545 20 -2111 2 -2482 0 -2550 -13z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

-25
View File
File diff suppressed because one or more lines are too long
-105
View File
@@ -1,105 +0,0 @@
// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT
// IT'S ALL JUST JUNK FOR OUR DOCS!
// ++++++++++++++++++++++++++++++++++++++++++
/*!
* JavaScript for Bootstrap's docs (https://getbootstrap.com)
* Copyright 2011-2017 The Bootstrap Authors
* Copyright 2011-2017 Twitter, Inc.
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
* details, see https://creativecommons.org/licenses/by/3.0/.
*/
/* global Clipboard, anchors */
(function ($) {
'use strict'
$(function () {
// Tooltip and popover demos
$('.tooltip-demo').tooltip({
selector: '[data-toggle="tooltip"]',
container: 'body'
})
$('[data-toggle="popover"]').popover()
// Demos within modals
$('.tooltip-test').tooltip()
$('.popover-test').popover()
// Indeterminate checkbox example
$('.bd-example-indeterminate [type="checkbox"]').prop('indeterminate', true)
// Disable empty links in docs examples
$('.bd-content [href="#"]').click(function (e) {
e.preventDefault()
})
// Modal relatedTarget demo
$('#exampleModal').on('show.bs.modal', function (event) {
var $button = $(event.relatedTarget) // Button that triggered the modal
var recipient = $button.data('whatever') // Extract info from data-* attributes
// If necessary, you could initiate an AJAX request here (and then do the updating in a callback).
// Update the modal's content. We'll use jQuery here, but you could use a data binding library or other methods instead.
var $modal = $(this)
$modal.find('.modal-title').text('New message to ' + recipient)
$modal.find('.modal-body input').val(recipient)
})
// Activate animated progress bar
$('.bd-toggle-animated-progress').on('click', function () {
$(this).siblings('.progress').find('.progress-bar-striped').toggleClass('progress-bar-animated')
})
// Insert copy to clipboard button before .highlight
$('.highlight').each(function () {
var btnHtml = '<div class="bd-clipboard"><button class="btn-clipboard" title="Copy to clipboard">Copy</button></div>'
$(this).before(btnHtml)
$('.btn-clipboard')
.tooltip()
.on('mouseleave', function () {
// explicitly hide tooltip, since after clicking it remains
// focused (as it's a button), so tooltip would otherwise
// remain visible until focus is moved away
$(this).tooltip('hide')
})
})
var clipboard = new Clipboard('.btn-clipboard', {
target: function (trigger) {
return trigger.parentNode.nextElementSibling
}
})
clipboard.on('success', function (e) {
$(e.trigger)
.attr('title', 'Copied!')
.tooltip('_fixTitle')
.tooltip('show')
.attr('title', 'Copy to clipboard')
.tooltip('_fixTitle')
e.clearSelection()
})
clipboard.on('error', function (e) {
var modifierKey = /Mac/i.test(navigator.userAgent) ? '\u2318' : 'Ctrl-'
var fallbackMsg = 'Press ' + modifierKey + 'C to copy'
$(e.trigger)
.attr('title', fallbackMsg)
.tooltip('_fixTitle')
.tooltip('show')
.attr('title', 'Copy to clipboard')
.tooltip('_fixTitle')
})
anchors.options = {
icon: '#'
}
anchors.add('.bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5')
$('.bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5').wrapInner('<div></div>')
})
}(jQuery))
@@ -1,46 +0,0 @@
// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT
// IT'S JUST JUNK FOR OUR DOCS!
// ++++++++++++++++++++++++++++++++++++++++++
// Intended to prevent false-positive bug reports about Bootstrap not working properly in old versions of IE due to folks testing using IE's unreliable emulation modes.
(function () {
'use strict'
function emulatedIEMajorVersion() {
var groups = /MSIE ([0-9.]+)/.exec(window.navigator.userAgent)
if (groups === null) {
return null
}
var ieVersionNum = parseInt(groups[1], 10)
var ieMajorVersion = Math.floor(ieVersionNum)
return ieMajorVersion
}
function actualNonEmulatedIEMajorVersion() {
// Detects the actual version of IE in use, even if it's in an older-IE emulation mode.
// IE JavaScript conditional compilation docs: https://msdn.microsoft.com/library/121hztk3%28v=vs.94%29.aspx
// @cc_on docs: https://msdn.microsoft.com/library/8ka90k2e%28v=vs.94%29.aspx
var jscriptVersion = new Function('/*@cc_on return @_jscript_version; @*/')() // eslint-disable-line no-new-func
if (typeof jscriptVersion === 'undefined') {
return 11 // IE11+ not in emulation mode
}
if (jscriptVersion < 9) {
return 8 // IE8 (or lower; haven't tested on IE<8)
}
return jscriptVersion // IE9 or IE10 in any mode, or IE11 in non-IE11 mode
}
var ua = window.navigator.userAgent
if (ua.indexOf('Opera') > -1 || ua.indexOf('Presto') > -1) {
return // Opera, which might pretend to be IE
}
var emulated = emulatedIEMajorVersion()
if (emulated === null) {
return // Not IE
}
var nonEmulated = actualNonEmulatedIEMajorVersion()
if (emulated !== nonEmulated) {
window.alert('WARNING: You appear to be using IE' + nonEmulated + ' in IE' + emulated + ' emulation mode.\nIE emulation modes can behave significantly differently from ACTUAL older versions of IE.\nPLEASE DON\'T FILE BOOTSTRAP BUGS based on testing in IE emulation modes!')
}
}())
-17
View File
@@ -1,17 +0,0 @@
/* eslint no-console:off */
(function setupSW() {
'use strict'
if ('serviceWorker' in navigator) {
window.addEventListener('load', function () {
navigator.serviceWorker.register('/sw.js').then(function (registration) { // eslint-disable-line compat/compat
console.log('ServiceWorker registration successful with scope: ', registration.scope)
}).catch(function (err) {
console.log('ServiceWorker registration failed: ', err)
})
})
} else {
console.log('Service workers are not supported.')
}
}())
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-13
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More