]>
git.ipfire.org Git - thirdparty/bootstrap.git/log
XhmikosR [Tue, 9 Feb 2021 05:50:00 +0000 (07:50 +0200)]
Update devDependencies (#32967)
* @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
pricop [Mon, 8 Feb 2021 15:19:46 +0000 (17:19 +0200)]
_variables.scss: add missing newline before new section (#32868)
XhmikosR [Thu, 28 Jan 2021 21:26:08 +0000 (23:26 +0200)]
Switch to jsDelivr for jQuery too. (#32918)
XhmikosR [Wed, 27 Jan 2021 16:37:18 +0000 (18:37 +0200)]
Update devDependencies (#32852)
Pin karma and linkinator due to failures
XhmikosR [Tue, 19 Jan 2021 16:16:38 +0000 (18:16 +0200)]
Release v4.6.0. (#32726)
* Bump version to v4.6.0.
* Dist
XhmikosR [Tue, 19 Jan 2021 06:18:19 +0000 (08:18 +0200)]
Backport #32037 (#32833)
* Backport #32037
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>
Mark Otto [Tue, 19 Jan 2021 05:22:27 +0000 (21:22 -0800)]
Backport #32759 (#32832)
Mention CSP and embedded SVGs in v4 docs
XhmikosR [Mon, 18 Jan 2021 18:59:59 +0000 (20:59 +0200)]
Backport #32760 (#32827)
Add a live toast example to the docs
voltaek [Sun, 17 Jan 2021 18:59:11 +0000 (13:59 -0500)]
Docs: Sass implementation and rounding precision (#32791)
* 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>
Mark Otto [Wed, 13 Jan 2021 23:06:49 +0000 (15:06 -0800)]
Lighten disabled dropdown text to $gray-500
Fixes #32474
XhmikosR [Thu, 14 Jan 2021 11:02:16 +0000 (13:02 +0200)]
Backport #32469 and #32799
Improve zip-examples.js by only including the assets we need
Mark Otto [Wed, 13 Jan 2021 19:06:07 +0000 (11:06 -0800)]
Document some basic code conventions for us (#32778)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
XhmikosR [Thu, 14 Jan 2021 10:51:14 +0000 (12:51 +0200)]
CI: change Node.js to `14` (#32796)
This is so that it's consistent with the JS workflow thus the cache should match.
Mark Otto [Fri, 15 Jan 2021 07:16:32 +0000 (23:16 -0800)]
Backport #32795 (#32809)
* Clarify Sass import and customize docs for how to modify variable defaults
* Add an npm starter project callout to a few pages
Patrick H. Lauke [Thu, 14 Jan 2021 10:19:19 +0000 (10:19 +0000)]
Remove role="button" from CTA links in carousel example (#32789)
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"`
XhmikosR [Wed, 13 Jan 2021 08:56:06 +0000 (10:56 +0200)]
Update devDependencies
XhmikosR [Wed, 13 Jan 2021 08:52:41 +0000 (10:52 +0200)]
Stylelint: disallow some property values (#32756)
* `border: none`
* `outline: none`
Mark Otto [Tue, 12 Jan 2021 13:33:58 +0000 (05:33 -0800)]
Mention stretched-link constraints with table elements (#32761)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
XhmikosR [Mon, 11 Jan 2021 11:05:05 +0000 (13:05 +0200)]
GitHub Actions cleanup (#32755)
* lowercase `runner.os`
* remove `CI` environment variable since it's already set by the runner
Patrick H. Lauke [Mon, 11 Jan 2021 07:50:11 +0000 (07:50 +0000)]
Darken dropdown item hover style
Backport of https://github.com/twbs/bootstrap/pull/32754
Patrick H. Lauke [Sun, 10 Jan 2021 14:50:29 +0000 (14:50 +0000)]
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)
Patrick H. Lauke [Sun, 10 Jan 2021 14:41:49 +0000 (14:41 +0000)]
Suppress focus outline for buttons when it shouldn't be visible in Chromium
Manual backport of https://github.com/twbs/bootstrap/pull/32689
Patrick H. Lauke [Sun, 10 Jan 2021 14:39:15 +0000 (14:39 +0000)]
Remove old/unnecessary reboot bug fix
Manual backport of https://github.com/twbs/bootstrap/pull/32631
XhmikosR [Sun, 10 Jan 2021 06:19:00 +0000 (08:19 +0200)]
Backport #32737
package.json: move `version_short` variable under the `config` object
This is so that it works on npm 7.x too.
XhmikosR [Tue, 12 Jan 2021 13:25:03 +0000 (15:25 +0200)]
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`
XhmikosR [Mon, 11 Jan 2021 11:55:22 +0000 (13:55 +0200)]
karma: run tests in parallel
XhmikosR [Fri, 8 Jan 2021 19:03:22 +0000 (21:03 +0200)]
docs: add v5.0 in versions (#32728)
XhmikosR [Fri, 8 Jan 2021 08:08:51 +0000 (10:08 +0200)]
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
XhmikosR [Thu, 7 Jan 2021 10:31:09 +0000 (12:31 +0200)]
Backport #32423
Add two new variables for pagination border-radius values
XhmikosR [Thu, 7 Jan 2021 10:25:32 +0000 (12:25 +0200)]
Backport #32632
Docs: Tweak the wording for collapse to indicate button is preferred/more semantic
XhmikosR [Thu, 7 Jan 2021 10:22:17 +0000 (12:22 +0200)]
Backport #32685
Clarify the `$enable-shadows` option in our docs
XhmikosR [Thu, 7 Jan 2021 10:19:16 +0000 (12:19 +0200)]
Backport #32713
Bump copyright year to 2021
Patrick H. Lauke [Tue, 5 Jan 2021 20:04:06 +0000 (20:04 +0000)]
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>
XhmikosR [Tue, 5 Jan 2021 19:56:31 +0000 (21:56 +0200)]
CI: update to actions/setup-node@v2 (#32635)
XhmikosR [Sun, 20 Dec 2020 15:12:22 +0000 (17:12 +0200)]
Tooltips: add missing space (#32529)
XhmikosR [Thu, 17 Dec 2020 06:14:43 +0000 (08:14 +0200)]
Backport #32489
Fix popover docs example
XhmikosR [Wed, 16 Dec 2020 10:45:48 +0000 (12:45 +0200)]
BrowserStack: test on macOS Catalina instead of High Sierra (#32486)
Patrick H. Lauke [Tue, 15 Dec 2020 07:43:12 +0000 (07:43 +0000)]
Docs: style clipboard button on `:focus`, not just `:hover` (#32461)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
XhmikosR [Tue, 15 Dec 2020 07:14:03 +0000 (09:14 +0200)]
Update CodeQL Action (#32452)
XhmikosR [Thu, 10 Dec 2020 09:52:22 +0000 (11:52 +0200)]
CI: add a 30-min timeout for BrowserStack (#32238)
XhmikosR [Thu, 10 Dec 2020 08:55:11 +0000 (10:55 +0200)]
CONTRIBUTING: mention dist files (#32314)
* CONTRIBUTING: mention dist files
* Update CONTRIBUTING.md
Co-authored-by: Mark Otto <markd.otto@gmail.com>
Christian Oliff [Wed, 9 Dec 2020 21:45:27 +0000 (06:45 +0900)]
Remove duplicated 'follow Bootstrap on Twitter' link in Community section (#32399)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
XhmikosR [Mon, 7 Dec 2020 17:06:17 +0000 (19:06 +0200)]
build-plugins: switch to "bundled" for babel helpers (#32312)
XhmikosR [Tue, 1 Dec 2020 10:57:58 +0000 (12:57 +0200)]
README: fix path to search.js (#32257)
XhmikosR [Fri, 8 Jan 2021 08:05:56 +0000 (10:05 +0200)]
karma: add `v4` in Browserstack build ID (#32502)
Aleksandr Gorbatov [Fri, 8 Jan 2021 07:53:22 +0000 (10:53 +0300)]
docs: Add Russian translation (#32253)
Patrick H. Lauke [Tue, 5 Jan 2021 23:42:55 +0000 (23:42 +0000)]
v4: Add an actual `data-touch="false"` example in the carousel docs (#32639)
* v4: Add an actual `data-touch="false"` example in the carousel docs
Backport of https://github.com/twbs/bootstrap/pull/32638
* Remove data-ride from example carousel
* Correct attribute table explanation and remove slide class from example
i believe the correct option is `slide` here, not `ride`.
the `if "carousel"` bit was rather unclear/confusing
* Edits...
sorry, trying to make sense of our quirky carousel stuff, it seems some illogical things have been there ever since
* Add data-interval to suppress autoplay
* Tweak carousel options formatting
* Update site/content/docs/4.5/components/carousel.md
Co-authored-by: Mark Otto <markd.otto@gmail.com>
* Tweak language
mostly based on @mdo's suggestion, but also adds the word "attribute" after `data-ride` for better flow/legibility
Co-authored-by: Mark Otto <markd.otto@gmail.com>
Patrick H. Lauke [Tue, 15 Dec 2020 09:06:00 +0000 (09:06 +0000)]
v4 backport: Replace Lorem Ipsum placeholder text with more representative (or at least english language) text (#32462)
Backport and expansion (for v4) of #32246 and #32479
Patrick H. Lauke [Tue, 15 Dec 2020 07:22:34 +0000 (07:22 +0000)]
Add mention of the bs-custom-file-input plugin needed for the custom file input (#32457)
Kyle Tsang [Thu, 10 Dec 2020 09:02:28 +0000 (01:02 -0800)]
v4: Move negative margin-bottom from .nav-item to .nav-link (#32211)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Mark Otto [Thu, 10 Dec 2020 09:01:13 +0000 (01:01 -0800)]
Add hex values to colors (#32411)
XhmikosR [Wed, 9 Dec 2020 22:42:38 +0000 (00:42 +0200)]
Revert colors.yml accidental changes (#32206)
* Revert colors.yml accidental changes
* Bring colors data files up to par with the vars
Gaël Poupard [Tue, 8 Dec 2020 06:59:13 +0000 (07:59 +0100)]
Remove useless `.text-left` in Layout / Overview (#32363)
Rohit Sharma [Wed, 25 Nov 2020 07:35:36 +0000 (13:05 +0530)]
Partially backport #32217 (#32225)
Remove unnecessary `_getCustomClass` method.
`customClass` will be in the configuration already, even if it is provided in the data attributes, and jQuery's [`addClass()`](https://api.jquery.com/addclass/) method will handle it, either `this.config.customClass` is a function or a class name (even if it is a blank string).
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Rohit Sharma [Tue, 24 Nov 2020 13:58:47 +0000 (19:28 +0530)]
Fix typos (#32247)
XhmikosR [Tue, 24 Nov 2020 06:35:33 +0000 (08:35 +0200)]
Update codeql.yml (#32125)
Specify the branches and clean up the comments
XhmikosR [Mon, 23 Nov 2020 20:17:37 +0000 (22:17 +0200)]
introduction: split comments (#32223)
XhmikosR [Mon, 23 Nov 2020 19:34:38 +0000 (21:34 +0200)]
Update _syntax.scss (#32117)
* Update _syntax.scss with the latest chroma selectors
* Sort selectors
* Remove no longer needed chroma workaround
* remove comments
XhmikosR [Mon, 23 Nov 2020 19:32:25 +0000 (21:32 +0200)]
CI: specify `FORCE_COLOR:2` (#32222)
This should show any colors in the output
XhmikosR [Mon, 23 Nov 2020 14:11:16 +0000 (16:11 +0200)]
postcss.config.js: remove arrow return (#32235)
XhmikosR [Tue, 24 Nov 2020 06:20:10 +0000 (08:20 +0200)]
Update devDependencies
XhmikosR [Mon, 23 Nov 2020 07:45:46 +0000 (09:45 +0200)]
Manually backport #32226
docs: use `event` instead of `e`
XhmikosR [Sat, 21 Nov 2020 19:51:49 +0000 (21:51 +0200)]
Backport #32224
Be consistent with Popper's name.
Noah Rosenzweig [Sat, 21 Nov 2020 19:39:33 +0000 (20:39 +0100)]
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>
XhmikosR [Thu, 19 Nov 2020 11:38:48 +0000 (13:38 +0200)]
examples: add the version number in `title` (#32198)
XhmikosR [Wed, 18 Nov 2020 19:08:02 +0000 (21:08 +0200)]
Backport #32189
docs(dropdowns): clarify where is `.show` applied
XhmikosR [Tue, 17 Nov 2020 20:01:24 +0000 (22:01 +0200)]
Backport #32178 and #32182
Handle Chromium to run Karma
Rohit Sharma [Sat, 21 Nov 2020 20:14:28 +0000 (01:44 +0530)]
Backport #32179 (#32220)
Don't hide modal when `config.keyboard` is false
James Remeika [Fri, 20 Nov 2020 09:56:16 +0000 (04:56 -0500)]
tooltip/popover: add a `customClass` option (#31834)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
XhmikosR [Fri, 20 Nov 2020 09:36:35 +0000 (11:36 +0200)]
docs: update selector CodePen example (#32202)
Moving it to the CodePen org so that we can all edit it.
XhmikosR [Fri, 20 Nov 2020 07:54:33 +0000 (09:54 +0200)]
scss: remove needless Stylelint disables (#32212)
XhmikosR [Thu, 19 Nov 2020 18:35:28 +0000 (20:35 +0200)]
Backport #32158 (#32203)
Switch to jsDelivr for the remaining docs assets
Also, update feather icons and chart.js
Patrick H. Lauke [Thu, 19 Nov 2020 14:29:57 +0000 (14:29 +0000)]
Add overflow suppression to custom file label (#32160)
Avoids unsightly spilling out of long filename text, particularly for multi file inputs
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
XhmikosR [Fri, 13 Nov 2020 11:10:29 +0000 (13:10 +0200)]
Use the example shortcode in more places
Now, it's safe to do use it since it covers more cases
XhmikosR [Sun, 8 Nov 2020 12:28:52 +0000 (14:28 +0200)]
Fix syntax highlighting language
XhmikosR [Wed, 4 Nov 2020 14:39:29 +0000 (16:39 +0200)]
Switch to Hugo
This commit includes all the needed workarounds and most changes from the main branch for everything to work, like:
* removing empty lines in raw HTML that break output
* read .browserslistrc, CSS variables from disk instead of duplicating it
* using Hugo mounts
* using Hugo for the docs CSS/JS
* move ToC Sass code to a separate file while adapting it for Hugo
Thus, this patch makes our npm scripts faster since lint runs on one step and there's no separate docs assets processing.
XhmikosR [Thu, 19 Nov 2020 09:13:08 +0000 (11:13 +0200)]
homepage: split snippets and show copy buttons (#32196)
XhmikosR [Wed, 18 Nov 2020 19:29:41 +0000 (21:29 +0200)]
alerts.md: use Markdown (#32193)
Mark Otto [Fri, 13 Nov 2020 18:49:32 +0000 (10:49 -0800)]
Mention user-select-all support in docs (#32151)
XhmikosR [Fri, 13 Nov 2020 16:58:51 +0000 (18:58 +0200)]
Manually backport #32121 (#32141)
Use correct value order
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
Patrick H. Lauke [Fri, 13 Nov 2020 16:52:42 +0000 (16:52 +0000)]
Avoid invisible real file input "spilling" out of container (#32145)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
XhmikosR [Fri, 13 Nov 2020 15:45:11 +0000 (17:45 +0200)]
Fix caniuse.com redirects (#32147)
XhmikosR [Thu, 12 Nov 2020 07:42:48 +0000 (09:42 +0200)]
Update devDependencies and gems
XhmikosR [Sun, 8 Nov 2020 18:33:04 +0000 (20:33 +0200)]
download.md: link to JS files comparison too (#32087)
XhmikosR [Mon, 9 Nov 2020 18:47:02 +0000 (20:47 +0200)]
search.js: check for `search-input` element early (#32100)
XhmikosR [Mon, 9 Nov 2020 18:36:42 +0000 (20:36 +0200)]
package.json: fix clean-css level switch (#32097)
XhmikosR [Fri, 13 Nov 2020 10:44:27 +0000 (12:44 +0200)]
browsers-devices.md: make heading an `h3` (#32136)
XhmikosR [Thu, 12 Nov 2020 18:40:15 +0000 (20:40 +0200)]
navbar.md: remove `loading=lazy` from snippets (#32138)
XhmikosR [Thu, 12 Nov 2020 18:39:19 +0000 (20:39 +0200)]
input-group.md: fix wrong class `.visually-hidden` (#32137)
Mitchell Bryson [Thu, 12 Nov 2020 07:34:17 +0000 (07:34 +0000)]
Check for data-interval on the first slide of carousel - v4 (#31820)
When starting a cycle for a carousel, it only checks for a default interval, and not an interval defined on the slide element via data props. This adds a check in before creating the interval to move to the next slide.
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Mark Otto [Tue, 10 Nov 2020 07:36:04 +0000 (23:36 -0800)]
Clarify JS bundle docs once more for v4 (#32106)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Patrick H. Lauke [Mon, 9 Nov 2020 18:10:04 +0000 (18:10 +0000)]
Changes to navbar documentation/explanation (#32094)
XhmikosR [Sun, 8 Nov 2020 18:30:07 +0000 (20:30 +0200)]
docs: mention "Liberation Sans" (#32083)
Patrick H. Lauke [Mon, 2 Nov 2020 20:55:41 +0000 (20:55 +0000)]
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>
XhmikosR [Tue, 3 Nov 2020 05:59:12 +0000 (07:59 +0200)]
Update devDependencies
XhmikosR [Mon, 2 Nov 2020 13:02:16 +0000 (15:02 +0200)]
Backport #32045
tests: fix sanitizer test.
The test template does not include a `script` tag so the test always returned true.
XhmikosR [Sun, 1 Nov 2020 14:31:11 +0000 (16:31 +0200)]
ESLint: enable new-cap rule but ignore properties (#32036)
XhmikosR [Sun, 1 Nov 2020 12:30:36 +0000 (14:30 +0200)]
CODE_OF_CONDUCT.md: fix redirect (#32033)
XhmikosR [Sun, 1 Nov 2020 05:42:19 +0000 (07:42 +0200)]
Clarify PRs section (#32027)
XhmikosR [Sat, 31 Oct 2020 07:30:57 +0000 (09:30 +0200)]
Lint: stop ignoring package.js (#32021)