0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-03-30 17:35:53 +02:00

19091 Commits

Author SHA1 Message Date
Patrick H. Lauke
210cb72872 Add a callout for the sanitizer in popovers and tooltips ()
* 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>
2021-02-17 06:54:38 +02:00
XhmikosR
6487ba72f5 vnu-jar.js: quote vnu path ()
Should work now with folders with spaces
2021-02-17 06:54:38 +02:00
XhmikosR
9c264dbea5 CI: remove the cache fallback and shorten cache key () 2021-02-17 06:54:38 +02:00
XhmikosR
254de4cb42 CI: switch to the coverallsapp/github-action tag ()
Unfortunately, they don't offer a `v1` tag
2021-02-17 06:54:38 +02:00
XhmikosR
a824d09ecd change-version: remove vendor, add resources () 2021-02-17 06:54:38 +02:00
Wesley Haines
9722106781
Fix minor visual bug in FF caused by moz-focusring (v4) ()
Avoid bug in Firefox where text appears "noisy" due to text-shadow applying to focused form fields.
2021-02-17 06:00:37 +02:00
Gaël Poupard
030af97fad
fix(forms): input-group and validation icons ()
Fixes 

Issue mentions `form-control` but it impacts `.custom-select` — but not `textarea` since it has a qualifying type selector that increases its specificty.

So another way could be to set `select.custom-select` and `input.form-control`. Would there be any other tag concerned by those classes?

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-15 21:13:43 +02:00
XhmikosR
29674b8426
Simplify bugify.html ()
* use `in` instead of `strings.Contains` since the latter is not documented
* use `cond`
2021-02-15 21:08:44 +02:00
XhmikosR
ce8af15ad1
Update devDependencies ()
* @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
* @rollup/plugin-babel          ^5.2.2  →    ^5.2.3
* @rollup/plugin-commonjs      ^17.0.0  →   ^17.1.0
* @rollup/plugin-node-resolve  ^11.1.0  →   ^11.1.1
* autoprefixer                 ^10.2.3  →   ^10.2.4
* eslint                       ^7.18.0  →   ^7.19.0
* karma                         ^5.2.3  →    ^6.0.4
* karma-qunit                   ^4.1.1  →    ^4.1.2
* linkinator                    2.11.2  →   ^2.13.4
* postcss                       ^8.2.4  →    ^8.2.5
* rollup                       ^2.38.0  →   ^2.38.5
* vnu-jar                      20.6.30  →    21.2.5
2021-02-09 07:50:00 +02:00
pricop
72a9fb4624
_variables.scss: add missing newline before new section () 2021-02-08 17:19:46 +02:00
XhmikosR
2267193d8f Switch to jsDelivr for jQuery too. () 2021-01-28 23:26:39 +02:00
XhmikosR
17d8fba548
Update devDependencies ()
Pin karma and linkinator due to failures
2021-01-27 18:37:18 +02:00
XhmikosR
6ffb0b48e4
Release v4.6.0. ()
* Bump version to v4.6.0.

* Dist
v4.6.0
2021-01-19 18:16:38 +02:00
XhmikosR
9d87bd7a30
Backport ()
* Backport 

Add `.navbar-nav-scroll` for vertical scrolling of navbar content

* drop the css var for a Sass css

Co-authored-by: Mark Otto <markdotto@gmail.com>
2021-01-19 08:18:19 +02:00
Mark Otto
9c4abcc6a1
Backport ()
Mention CSP and embedded SVGs in v4 docs
2021-01-19 07:22:27 +02:00
XhmikosR
d2477abecd
Backport ()
Add a live toast example to the docs
2021-01-18 20:59:59 +02:00
voltaek
ee282aff27
Docs: Sass implementation and rounding precision ()
* Backport of changes to v5 docs that updated and clarified information about the Sass compiler used and the minimum rounding precision we recommend with it.

Co-authored-by: Mark Otto <otto@github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-17 20:59:11 +02:00
Mark Otto
87e42ce7c5 Lighten disabled dropdown text to $gray-500
Fixes 
2021-01-15 09:22:27 +02:00
XhmikosR
5a17956e5e Backport and
Improve zip-examples.js by only including the assets we need
2021-01-15 09:22:27 +02:00
Mark Otto
05a108b3d5 Document some basic code conventions for us ()
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-15 09:22:27 +02:00
XhmikosR
ec1d745c10 CI: change Node.js to 14 ()
This is so that it's consistent with the JS workflow thus the cache should match.
2021-01-15 09:22:27 +02:00
Mark Otto
d674c33a04
Backport ()
* Clarify Sass import and customize docs for how to modify variable defaults

* Add an npm starter project callout to a few pages
2021-01-15 09:16:32 +02:00
Patrick H. Lauke
80aefd862c
Remove role="button" from CTA links in carousel example ()
They're links, acting as links. Just because they're styled as buttons visually (as is often the case for "Call to action" (CTA) links) doesn't mean they need/get `role="button"`
2021-01-14 12:19:19 +02:00
XhmikosR
2ed7504783 Update devDependencies 2021-01-13 11:03:32 +02:00
XhmikosR
aeccf0e270 Stylelint: disallow some property values ()
* `border: none`
* `outline: none`
2021-01-13 11:03:32 +02:00
Mark Otto
17521ed43a Mention stretched-link constraints with table elements ()
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-13 11:03:32 +02:00
XhmikosR
da458176f3 GitHub Actions cleanup ()
* lowercase `runner.os`
* remove `CI` environment variable since it's already set by the runner
2021-01-13 11:03:32 +02:00
Patrick H. Lauke
67c2f2c965 Darken dropdown item hover style
Backport of https://github.com/twbs/bootstrap/pull/32754
2021-01-13 11:03:32 +02:00
Patrick H. Lauke
e7cbb59d53 Consistently use outline:0 rather than outline:none
Manual backport of https://github.com/twbs/bootstrap/pull/32751 (which has not been merged yet, but assume it will shortly)
2021-01-13 11:03:32 +02:00
Patrick H. Lauke
dfe4810199 Suppress focus outline for buttons when it shouldn't be visible in Chromium
Manual backport of https://github.com/twbs/bootstrap/pull/32689
2021-01-13 11:03:32 +02:00
Patrick H. Lauke
4e6c981f4e Remove old/unnecessary reboot bug fix
Manual backport of https://github.com/twbs/bootstrap/pull/32631
2021-01-13 11:03:32 +02:00
XhmikosR
2e8f70f5a1 Backport
package.json: move `version_short` variable under the `config` object

This is so that it works on npm 7.x too.
2021-01-13 11:03:32 +02:00
XhmikosR
0f1069a32e Update karma config
* rename constants
* enforce the constants to be Boolean
* use the coverage plugin only one time, on the latest jQuery run
* fix karma `logLevel`
2021-01-13 10:49:09 +02:00
XhmikosR
f8da510367 karma: run tests in parallel 2021-01-13 10:49:09 +02:00
XhmikosR
37186db5fc
docs: add v5.0 in versions () 2021-01-08 21:03:22 +02:00
XhmikosR
6b788acf63 Update devDependencies
* @babel/cli                   ^7.12.8  →  ^7.12.10
* @babel/core                  ^7.12.8  →  ^7.12.10
* @babel/preset-env            ^7.12.7  →  ^7.12.11
* @rollup/plugin-babel          ^5.2.1  →    ^5.2.2
* @rollup/plugin-commonjs      ^16.0.0  →   ^17.0.0
* @rollup/plugin-node-resolve  ^10.0.0  →   ^11.0.1
* autoprefixer                 ^10.0.2  →   ^10.2.1
* cross-env                     ^7.0.2  →    ^7.0.3
* eslint                       ^7.14.0  →   ^7.17.0
* eslint-config-xo             ^0.33.1  →   ^0.34.0
* eslint-plugin-unicorn        ^23.0.0  →   ^25.0.1
* find-unused-sass-variables    ^3.0.0  →    ^3.1.0
* hugo-bin                     ^0.66.2  →   ^0.68.0
* linkinator                    ^2.2.2  →   ^2.11.2
* nodemon                       ^2.0.6  →    ^2.0.7
* postcss                      ^8.1.10  →    ^8.2.3
* postcss-cli                   ^8.3.0  →    ^8.3.1
* qunit                        ^2.12.0  →   ^2.13.0
* rollup                       ^2.33.3  →   ^2.36.1
2021-01-08 12:04:37 +02:00
XhmikosR
cafcca31ac Backport
Add two new variables for pagination border-radius values
2021-01-08 12:04:37 +02:00
XhmikosR
b633c2befe Backport
Docs: Tweak the wording for collapse to indicate button is preferred/more semantic
2021-01-08 12:04:37 +02:00
XhmikosR
4540436f3d Backport
Clarify the `$enable-shadows` option in our docs
2021-01-08 12:04:37 +02:00
XhmikosR
3768b6e5b6 Backport
Bump copyright year to 2021
2021-01-08 12:04:37 +02:00
Patrick H. Lauke
264a412589 Remove incorrect mention of dropdowns for dynamic tab behavior ()
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-08 12:04:37 +02:00
XhmikosR
1141a51789 CI: update to actions/setup-node@v2 () 2021-01-08 12:04:37 +02:00
XhmikosR
ccee913e59 Tooltips: add missing space () 2021-01-08 12:04:37 +02:00
XhmikosR
378f3939c8 Backport
Fix popover docs example
2021-01-08 12:04:37 +02:00
XhmikosR
bb99676a8a BrowserStack: test on macOS Catalina instead of High Sierra () 2021-01-08 12:04:37 +02:00
Patrick H. Lauke
9fbf50c3ce Docs: style clipboard button on :focus, not just :hover ()
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-08 12:04:37 +02:00
XhmikosR
984aacc32f Update CodeQL Action () 2021-01-08 12:04:37 +02:00
XhmikosR
b0e7e02ab6 CI: add a 30-min timeout for BrowserStack () 2021-01-08 12:04:37 +02:00
XhmikosR
fcfd2ce4b2 CONTRIBUTING: mention dist files ()
* CONTRIBUTING: mention dist files

* Update CONTRIBUTING.md

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2021-01-08 12:04:37 +02:00
Christian Oliff
fca04236ad Remove duplicated 'follow Bootstrap on Twitter' link in Community section ()
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-08 12:04:37 +02:00