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

2073 Commits

Author SHA1 Message Date
XhmikosR
fb4629f82e
docs: move examples inline shortcode to a partial (#39829)
Some checks failed
BrowserStack / browserstack (push) Has been skipped
Bundlewatch / bundlewatch (push) Successful in 56s
CodeQL / Analyze (push) Failing after 44s
cspell / cspell (push) Successful in 34s
CSS / css (push) Successful in 39s
Docs / docs (push) Failing after 12s
JS Tests / JS Tests (push) Failing after 33s
Lint / lint (push) Successful in 33s
CSS (node-sass) / css (push) Successful in 23s
Release notes / update_release_draft (push) Has been skipped
* docs: move examples inline shortcode to a partial

* Further tweaks
2024-04-01 22:00:09 +03:00
XhmikosR
ba73ed6906
docs: resize docs bundler images and fix dimensions (#39824)
The dimensions must be of the non-2x image.
2024-04-01 21:54:56 +03:00
XhmikosR
4093ed32ee
docs: add a new partial for responsive images and use imageConfig (#39779)
This way the dimensions are not hardcoded
2024-04-01 21:52:45 +03:00
XhmikosR
2ba7dae3c0
Add a render image hook (#39768)
Images are now lazyloaded, they have width and height attributes and the classes are centralized.

Only applies to Markdown images
2024-04-01 21:48:31 +03:00
Julien Déramond
24cc552343
Fix typo in site/assets/js/snippets.js comments (#39840)
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-26 17:25:27 +02:00
XhmikosR
9480a3d01d
docs: update sitemap template (#39819) 2024-03-25 21:28:37 +02: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
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
6a00d18fae
Further improve PNG compression (#39773) 2024-03-19 21:04:00 +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
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
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
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
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
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
XhmikosR
712e722165
docs: remove Google Analytics (#39725)
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
It no longer works
2024-03-04 20:34:48 +02:00
Julien Déramond
6e1f75f420
Release v5.3.3 (#39524)
* Release v5.3.3

* Dist

---------

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2024-02-20 17:14:29 +02:00
Julien Déramond
1bc85bfe2b
Fix product example mobile navbar toggler (#39657)
Some checks failed
BrowserStack / browserstack (push) Has been skipped
Bundlewatch / bundlewatch (push) Successful in 49s
CodeQL / Analyze (push) Failing after 20s
cspell / cspell (push) Successful in 17s
CSS / css (push) Successful in 46s
Docs / docs (push) Failing after 21s
JS Tests / JS Tests (push) Failing after 43s
Lint / lint (push) Successful in 46s
CSS (node-sass) / css (push) Successful in 38s
Release notes / update_release_draft (push) Has been skipped
2024-02-14 21:33:47 +01:00
Robert Martin
cb7467b428
Docs: fix typos in Vite, Parcel and Webpack guides (#39592)
Some checks failed
BrowserStack / browserstack (push) Has been skipped
Bundlewatch / bundlewatch (push) Successful in 1m0s
CodeQL / Analyze (push) Failing after 21s
cspell / cspell (push) Successful in 17s
CSS / css (push) Successful in 49s
Docs / docs (push) Failing after 22s
JS Tests / JS Tests (push) Failing after 44s
Lint / lint (push) Successful in 45s
CSS (node-sass) / css (push) Successful in 40s
Release notes / update_release_draft (push) Has been skipped
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-02-13 19:28:35 +01:00
DrejT
d30385b9df
Docs: update colors table to be responsive in Customize > Color page (#39663)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-02-13 09:06:40 +01:00
Julien Déramond
52cc9342cb Bump copyright year to 2024 2024-02-05 20:13:23 -08:00
XhmikosR
b75f637f4d
docs: clean up example.html (#39528)
Some checks failed
BrowserStack / browserstack (push) Has been skipped
Bundlewatch / bundlewatch (push) Successful in 55s
CodeQL / Analyze (push) Failing after 32s
cspell / cspell (push) Successful in 22s
CSS / css (push) Successful in 48s
Docs / docs (push) Failing after 21s
JS Tests / JS Tests (push) Failing after 38s
Lint / lint (push) Successful in 42s
CSS (node-sass) / css (push) Successful in 31s
Release notes / update_release_draft (push) Has been skipped
2024-02-02 09:56:42 +02:00
Julien Déramond
11272eca59
Docs: add missing comma in native font stack code source in Content > Reboot (#39617)
Some checks failed
BrowserStack / browserstack (push) Has been skipped
Bundlewatch / bundlewatch (push) Successful in 49s
CodeQL / Analyze (push) Failing after 43s
cspell / cspell (push) Successful in 16s
CSS / css (push) Successful in 46s
Docs / docs (push) Failing after 20s
JS Tests / JS Tests (push) Failing after 42s
Lint / lint (push) Successful in 45s
CSS (node-sass) / css (push) Successful in 30s
Release notes / update_release_draft (push) Has been skipped
2024-01-30 19:08:35 +01:00
Christian Oliff
047607816d
Docs: add missing type="button" to Cheatsheet example nav buttons (#39585)
Some checks failed
BrowserStack / browserstack (push) Has been skipped
Bundlewatch / bundlewatch (push) Successful in 54s
CodeQL / Analyze (push) Failing after 1m8s
cspell / cspell (push) Successful in 31s
CSS / css (push) Successful in 44s
Docs / docs (push) Failing after 21s
JS Tests / JS Tests (push) Failing after 48s
Lint / lint (push) Successful in 44s
CSS (node-sass) / css (push) Successful in 31s
Release notes / update_release_draft (push) Has been skipped
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-01-30 07:46:01 +01:00
Sarah Gilberg
8cc86cc5c5
Docs: fix 'media-breakpoint-between' typo in migration guide (#39604) 2024-01-29 17:51:05 +01:00
Julien Déramond
85b1d1c660
Docs: update desc of deprecated Sass mixins in alerts and list groups (#39537)
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
2023-12-30 08:48:21 +01:00
Christian Oliff
ce1bf1c660
Docs: update homepage links to prevent HTTP redirect (#39539) 2023-12-30 08:44:14 +01:00
dependabot[bot]
8ac1bdee8f
Build(deps-dev): Bump stylelint and stylelint-config-twbs-bootstrap (#39527)
* Build(deps-dev): Bump stylelint and stylelint-config-twbs-bootstrap

Bumps [stylelint](https://github.com/stylelint/stylelint) and [stylelint-config-twbs-bootstrap](https://github.com/twbs/stylelint-config-twbs-bootstrap). These dependencies needed to be updated together.

Updates `stylelint` from 15.11.0 to 16.0.2
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/15.11.0...16.0.2)

Updates `stylelint-config-twbs-bootstrap` from 12.0.0 to 13.0.0
- [Release notes](https://github.com/twbs/stylelint-config-twbs-bootstrap/releases)
- [Commits](https://github.com/twbs/stylelint-config-twbs-bootstrap/compare/v12.0.0...v13.0.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-major
- dependency-name: stylelint-config-twbs-bootstrap
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update _utilities.test.scss

* Update blog.css

* Update blog.rtl.css

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-12-23 18:49:29 +02:00