2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00
Commit Graph

19399 Commits

Author SHA1 Message Date
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