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

22769 Commits

Author SHA1 Message Date
XhmikosR
813bb4e2e2
Merge branch 'main' into main-jd-add-focus-visible-outline-to-bd-navbar
All checks were successful
BrowserStack / browserstack (push) Has been skipped
2024-03-23 09:19:37 +02:00
Julien Déramond
9c39a17826
Use `` instead of hex value 2024-03-23 08:10:02 +01:00
Julien Déramond
7ed3a80854
Fix rendering for both Firefox and Chrome 2024-03-23 07:58:07 +01:00
XhmikosR
11037f8407
docs: use urls.JoinPath in more places (#39778)
Some checks failed
BrowserStack / browserstack (push) Has been cancelled
Bundlewatch / bundlewatch (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
cspell / cspell (push) Has been cancelled
CSS / css (push) Has been cancelled
Docs / docs (push) Has been cancelled
JS Tests / JS Tests (push) Has been cancelled
Lint / lint (push) Has been cancelled
CSS (node-sass) / css (push) Has been cancelled
Release notes / update_release_draft (push) Has been cancelled
2024-03-22 11:50:03 +02:00
Julien Déramond
897e49fdfc
Docs: add focus visible outline to navbar's nav links and toggler 2024-03-22 08:23:10 +01:00
XhmikosR
d1636a7540
Move theme toggler to a partial (#39807)
Some checks failed
BrowserStack / browserstack (push) Has been cancelled
Bundlewatch / bundlewatch (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
cspell / cspell (push) Has been cancelled
CSS / css (push) Has been cancelled
Docs / docs (push) Has been cancelled
JS Tests / JS Tests (push) Has been cancelled
Lint / lint (push) Has been cancelled
CSS (node-sass) / css (push) Has been cancelled
Release notes / update_release_draft (push) Has been cancelled
---------

Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-03-20 19:05:43 +02:00
XhmikosR
a0912dc543
masthead.html: add rel="noopener" target="_blank" (#39805) 2024-03-20 17:29:12 +02:00
XhmikosR
1401722f7e
docs: move examples icons to a partial (#39808)
Some checks are pending
BrowserStack / browserstack (push) Waiting to run
Bundlewatch / bundlewatch (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
cspell / cspell (push) Waiting to run
CSS / css (push) Waiting to run
Docs / docs (push) Waiting to run
JS Tests / JS Tests (push) Waiting to run
Lint / lint (push) Waiting to run
CSS (node-sass) / css (push) Waiting to run
Release notes / update_release_draft (push) Waiting to run
2024-03-19 21:31:49 +02:00
XhmikosR
859a134203
Optimize Sass SVG files (#39804) 2024-03-19 21:31:07 +02:00
XhmikosR
6a00d18fae
Further improve PNG compression (#39773) 2024-03-19 21:04:00 +02:00
XhmikosR
93bfbf8b13
package.json: stop ignoring jasmine (#39806) 2024-03-19 18:23:55 +02:00
dependabot[bot]
3921236e6e
Build(deps-dev): Bump @babel/preset-env from 7.24.0 to 7.24.1 (#39802)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.24.0 to 7.24.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.24.1/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>
2024-03-19 17:39:28 +02:00
dependabot[bot]
e1d6733543
Build(deps-dev): Bump @babel/cli from 7.23.9 to 7.24.1 (#39803)
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.23.9 to 7.24.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.24.1/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>
2024-03-19 17:35:13 +02:00
dependabot[bot]
85d3c27816
Build(deps-dev): Bump @babel/core from 7.24.0 to 7.24.1 (#39801)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.24.0 to 7.24.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.24.1/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>
2024-03-19 15:53:42 +02:00
XhmikosR
d1a648ab36
Update dependencies (#39800)
Some checks are pending
BrowserStack / browserstack (push) Waiting to run
Bundlewatch / bundlewatch (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
cspell / cspell (push) Waiting to run
CSS / css (push) Waiting to run
Docs / docs (push) Waiting to run
JS Tests / JS Tests (push) Waiting to run
Lint / lint (push) Waiting to run
CSS (node-sass) / css (push) Waiting to run
Release notes / update_release_draft (push) Waiting to run
* hugo-bin  ^0.120.8  →  ^0.121.0
* postcss    ^8.4.35  →   ^8.4.36
* sass       ^1.71.1  →   ^1.72.0
* terser     ^5.29.1  →   ^5.29.2
2024-03-19 11:33:08 +02:00
XhmikosR
f7f0026e4a docs: move algolia config to hugo config 2024-03-19 11:25:15 +02:00
XhmikosR
45fe28c5a6 docs: use defer when possible for JS 2024-03-19 11:25:15 +02:00
Julien Déramond
6922f5d9cb docs: move search style to its own CSS file 2024-03-19 11:25:15 +02:00
XhmikosR
d867ee08b9 docs: improve stackblitz.js
* tweak indentation
* stop extending the sdk object
* conditionally add `index.js`
2024-03-19 11:25:15 +02:00
XhmikosR
24f749cb76 docs: bundle assets with Hugo
Also:

* load any docs' third-party dependencies from node_modules (except for examples)
* exclude docsearch from layouts that don't use it
* preconnect to algolia only when not examples layout
* switch to `RelPermalink`
* refactor JS assets into partials
2024-03-19 11:25:15 +02:00
Tommaso Allegretti
e340674d06
Change floating label placeholder's color (#39494)
Co-authored-by: Louis-Maxime Piton <louismaxime.piton@orange.com>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-03-19 06:47:42 +01:00
Caleb Albritton
4219af2c0e
Fix broken comment link for reflow hack (#39791)
Some checks are pending
BrowserStack / browserstack (push) Waiting to run
Bundlewatch / bundlewatch (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
cspell / cspell (push) Waiting to run
CSS / css (push) Waiting to run
Docs / docs (push) Waiting to run
JS Tests / JS Tests (push) Waiting to run
Lint / lint (push) Waiting to run
CSS (node-sass) / css (push) Waiting to run
Release notes / update_release_draft (push) Waiting to run
2024-03-18 10:32:49 +02:00
dependabot[bot]
10f9c01908
Build(deps-dev): Bump follow-redirects from 1.15.5 to 1.15.6 (#39792)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.5...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 09:30:16 +02:00
XhmikosR
202a20f561
docs: mention text transform classes (#39782)
Some checks failed
BrowserStack / browserstack (push) Has been cancelled
Bundlewatch / bundlewatch (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
cspell / cspell (push) Has been cancelled
CSS / css (push) Has been cancelled
Docs / docs (push) Has been cancelled
JS Tests / JS Tests (push) Has been cancelled
Lint / lint (push) Has been cancelled
CSS (node-sass) / css (push) Has been cancelled
Release notes / update_release_draft (push) Has been cancelled
2024-03-15 21:23:19 +02:00
Edward Ezekiel
086a0e2a1c
Update masthead to HeroDevs EOL (#39749)
* feat(masthead):  Update masthead to HeroDevs EOL

Add box-arrow-up-right icon.

* Update masthead.html

* Update icons.html

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2024-03-15 10:23:43 -07:00
XhmikosR
545a650035
docs: move fathom site to hugo config (#39781)
Some checks failed
BrowserStack / browserstack (push) Has been cancelled
Bundlewatch / bundlewatch (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
cspell / cspell (push) Has been cancelled
CSS / css (push) Has been cancelled
Docs / docs (push) Has been cancelled
JS Tests / JS Tests (push) Has been cancelled
Lint / lint (push) Has been cancelled
CSS (node-sass) / css (push) Has been cancelled
Release notes / update_release_draft (push) Has been cancelled
2024-03-13 11:43:02 +02:00
Julien Déramond
3150c6985d
Docs: fix Reddit URL to avoid redirection (#39777)
Some checks are pending
BrowserStack / browserstack (push) Waiting to run
Bundlewatch / bundlewatch (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
cspell / cspell (push) Waiting to run
CSS / css (push) Waiting to run
Docs / docs (push) Waiting to run
JS Tests / JS Tests (push) Waiting to run
Lint / lint (push) Waiting to run
CSS (node-sass) / css (push) Waiting to run
Release notes / update_release_draft (push) Waiting to run
2024-03-12 16:10:02 +02:00
XhmikosR
ab1a765f75
examples: assorted tweaks (#39772)
* remove trailing slash
* use urls.JoinPath
* reindent
* use `imageConfig` so that we add dimensions automatically
2024-03-12 11:42:03 +02:00
XhmikosR
13f40f1791 Switch to lockfile v3 2024-03-12 09:50:25 +02:00
XhmikosR
7b8211ce64 Update globby to v14
Also:

* fix globals type
* switch to async
2024-03-12 09:50:25 +02:00
XhmikosR
2bc395b563 Update devDependencies and regenerate package-lock.json
* eslint-plugin-markdown    ^3.0.1  →    ^4.0.1
* hugo-bin                ^0.120.7  →  ^0.120.8
* rollup                   ^4.12.0  →   ^4.13.0
* terser                   ^5.27.2  →   ^5.29.1
2024-03-12 09:50:25 +02:00
Julien Déramond
6ce0c62e21
Docs: drop data-bs-scroll="true" from navbar (#39766)
Some checks failed
BrowserStack / browserstack (push) Has been cancelled
Bundlewatch / bundlewatch (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
cspell / cspell (push) Has been cancelled
CSS / css (push) Has been cancelled
Docs / docs (push) Has been cancelled
JS Tests / JS Tests (push) Has been cancelled
Lint / lint (push) Has been cancelled
CSS (node-sass) / css (push) Has been cancelled
Release notes / update_release_draft (push) Has been cancelled
2024-03-11 09:26:03 +02:00
XhmikosR
930740afbc
Switch to using hugo.IsProduction (#39763)
Some checks failed
BrowserStack / browserstack (push) Has been cancelled
Bundlewatch / bundlewatch (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
cspell / cspell (push) Has been cancelled
CSS / css (push) Has been cancelled
Docs / docs (push) Has been cancelled
JS Tests / JS Tests (push) Has been cancelled
Lint / lint (push) Has been cancelled
CSS (node-sass) / css (push) Has been cancelled
Release notes / update_release_draft (push) Has been cancelled
2024-03-08 12:41:17 +02:00
Louis-Maxime Piton
f545964f8f
Docs: fix position of search modal to avoid interface blocking at small breakpoints (#39739)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-03-08 09:04:12 +01:00
XhmikosR
f54befa74b
footer: remove unneeded trailing slash (#39757)
Some checks are pending
BrowserStack / browserstack (push) Waiting to run
Bundlewatch / bundlewatch (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
cspell / cspell (push) Waiting to run
CSS / css (push) Waiting to run
Docs / docs (push) Waiting to run
JS Tests / JS Tests (push) Waiting to run
Lint / lint (push) Waiting to run
CSS (node-sass) / css (push) Waiting to run
Release notes / update_release_draft (push) Waiting to run
2024-03-07 16:11:00 +02:00
XhmikosR
816d11ecae
README.md: fix source-maps link after 953b4b6 (#39748) 2024-03-07 06:50:52 +02:00
XhmikosR
b003fc7880 docsref.html: move to variable
Some checks are pending
BrowserStack / browserstack (push) Waiting to run
Bundlewatch / bundlewatch (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
cspell / cspell (push) Waiting to run
CSS / css (push) Waiting to run
Docs / docs (push) Waiting to run
JS Tests / JS Tests (push) Waiting to run
Lint / lint (push) Waiting to run
CSS (node-sass) / css (push) Waiting to run
Release notes / update_release_draft (push) Waiting to run
2024-03-06 15:50:18 +02:00
XhmikosR
1baec29637 Update hugo server options
Add --noHTTPCache --renderToMemory --printPathWarnings
2024-03-06 15:50:18 +02:00
XhmikosR
b3bca581f1 templates: use urls.JoinPath when handling URLs 2024-03-06 15:50:18 +02:00
XhmikosR
192b7f785e
docs: use a responsive image for bootstrap-logo-shadow.png (#39745) 2024-03-06 10:17:35 +02:00
XhmikosR
2c4e1cd660 Improve front matter "added" params
Add missing ones and add the ability to show or hide the badge

Fixes a few more 404 errors in the version picker
2024-03-06 09:52:50 +02:00
XhmikosR
953b4b6c1b Fix various redirects 2024-03-06 09:52:50 +02:00
XhmikosR
5cb92cd6c0 docs: fix missing trailing slashes causing redirects 2024-03-06 09:52:50 +02:00
XhmikosR
04a720bf7f dashboard: remove the unused bootstrap-icons.css
Some checks failed
BrowserStack / browserstack (push) Has been cancelled
Bundlewatch / bundlewatch (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
cspell / cspell (push) Has been cancelled
CSS / css (push) Has been cancelled
Docs / docs (push) Has been cancelled
JS Tests / JS Tests (push) Has been cancelled
Lint / lint (push) Has been cancelled
CSS (node-sass) / css (push) Has been cancelled
Release notes / update_release_draft (push) Has been cancelled
We should revisit this later because it's a lot simpler for people
to just include the CSS than copy around tens of icons, even if it
leads to unused CSS
2024-03-05 20:34:45 +02:00
XhmikosR
58880cfbac Remove useless crossorigin="anonymous" attributes 2024-03-05 20:34:45 +02:00
XhmikosR
59231069e9 header.html: remove unneeded relUrl 2024-03-05 20:34:45 +02:00
XhmikosR
e16ee0a191 Minor template cleanup 2024-03-05 20:34:45 +02:00
XhmikosR
b0ce89229b examples.html: Move color mode JS lower 2024-03-05 20:34:45 +02:00
XhmikosR
688d7e352a render-heading.html: use variables 2024-03-05 20:34:45 +02:00
XhmikosR
87be2b9d24
Fix docs-versions.html (#39738)
Cast to string when comparing the versions, otherwise we were comparing numbers with strings.

Also, move checks to variables.

Fixes 404 errors in the version picker.
2024-03-05 20:24:46 +02:00