0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-10 22:24:19 +01:00
Commit Graph

19639 Commits

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