Commit Graph

1269 Commits

Author SHA1 Message Date
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 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
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) 2024-03-22 11:50:03 +02:00
XhmikosR 45fe28c5a6 docs: use defer when possible for 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) 2024-03-15 21:23:19 +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 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 04a720bf7f dashboard: remove the unused bootstrap-icons.css
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 712e722165
docs: remove Google Analytics (#39725)
It no longer works
2024-03-04 20:34:48 +02:00
Julien Déramond 1bc85bfe2b
Fix product example mobile navbar toggler (#39657) 2024-02-14 21:33:47 +01:00
Robert Martin cb7467b428
Docs: fix typos in Vite, Parcel and Webpack guides (#39592)
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
Julien Déramond 11272eca59
Docs: add missing comma in native font stack code source in Content > Reboot (#39617) 2024-01-30 19:08:35 +01:00
Christian Oliff 047607816d
Docs: add missing `type="button"` to Cheatsheet example nav buttons (#39585)
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) 2023-12-30 08:48:21 +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
Julien Déramond 00317d2c76
Docs: use consistent HTML elements in Utilities > Background page (#39519) 2023-12-22 07:14:15 +01:00
XhmikosR 3486c9d9d8
Minor image compression improvements (#39503) 2023-12-17 22:15:19 +02:00
Julien Déramond f1cd1180b7
Docs: add `shift-color()` usage example in sass customization page (#39435) 2023-12-12 08:08:19 +01:00
Julien Déramond 43524225e2
Docs: enhance `.card-img-*` description (#39458) 2023-12-10 08:23:45 +01:00
Julien Déramond 00d4639400
Docs: change vite config path import in vite guide (#39418) 2023-11-21 14:30:34 +02:00
Julien Déramond e4f0d61c8f
Docs: fix color schemes description in Sass customization (#39417) 2023-11-18 09:52:03 +01:00
curious-broccoli adf7a98511
Docs: fix sentence in 'Scrolling long content' modal section (#39378)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2023-11-14 08:04:16 +01:00
Julien Déramond d769ae0e0f
Doc: add `dispose()` to Offcanvas methods (#39340) 2023-10-30 08:23:11 +01:00
Julien Déramond f7426c08e7 Doc: use `.text-bg-{color}` for all badges 2023-10-23 12:16:04 -07:00
Julien Déramond dac60074dc
Doc: add expanded accordion explanation (#39304)
Co-authored-by: Louis-Maxime Piton <louismaxime.piton@orange.com>
2023-10-23 19:25:53 +02:00
Julien Déramond d58e86e730
Docs: drop `.table-light` from table foot example (#39320) 2023-10-23 19:21:29 +02:00
oliv37 72d6722b34
Docs: fix emphasis text utilities usage in Utilities > Background (#39293) 2023-10-13 07:41:40 +02:00
Julien Déramond 790dc80753
Fix `getOrCreateInstance()` doc example (#39281) 2023-10-12 09:31:14 +02:00
Julien Déramond 4dd9bf050c
Doc: consistent rendering of 'Heads up!' callouts (#39249) 2023-09-29 06:55:51 +02:00
Kevin Sanders d9baa2f3a9
Fix typo in toggle buttons outlined styles section (#39200) 2023-09-18 07:43:18 +02:00
XhmikosR 317cb2ae09
download: Reword CDN paragraph (#39179) 2023-09-14 17:02:13 +03:00
Robert Jones 4bf483b3b5
Docs: add Discord (community) and Bootstrap subreddit links (#38873)
Co-authored-by: Rob Jones <robert@blumac.digital>
Co-authored-by: Mark Otto <markdotto@gmail.com>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2023-09-13 07:53:14 +02:00
Julien Déramond fca9c8258b
Docs: add alternative CDNs section in Getting Started > Download (#39145)
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2023-09-13 07:36:22 +02:00
John Hayes dc040fa2b2
Corrected a grammer error in by adding the word go to examples/starter-template (#39086) 2023-08-22 11:25:25 +03:00
Christian Oliff 6091dbadd7
Remove incorrect mention of .left utilities from migration guide (#39054)
There are no classes in Bootstrap 4.x beginning with `.left` or `.right`.

(You can do a `CTRL`+`F` on https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.css to check)
2023-08-22 11:24:19 +03:00
XhmikosR 18a400a329
Further improve image compression with oxipng and the latest jpegoptim (#39037) 2023-08-22 11:23:43 +03:00
XhmikosR 47da803f08
Migration: add back v5.0.0 heading (#39060)
* Migrations: add back v5.0.0 heading

* Update migration.md

* Update migration.md
2023-08-21 10:49:52 +03:00
Issayah 0fe3dd93f2
docs: add BootstrapVueNext to docs (#38970)
* docs: add BootstrapVueNext to docs

* Update javascript.md

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2023-08-05 15:10:33 -07:00
XhmikosR 913efd78c6
examples: update 3rd-party packages (#38994) 2023-08-02 21:12:18 +03:00
XhmikosR 742f5c92cf
introduction: drop `details` element (#38995)
* introduction: drop `details` element

* Update introduction.md
2023-08-02 21:12:06 +03:00
Christian Oliff 92aedd15fc
Docs: Fix popover template role error (#38978)
I'm quite sure this should be `role="tooltip"` and not `role="popover"`.  There isn't a popover role but there is a tooltip one.(https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/tooltip_role).. and Bootstrap 5 itself uses role="tooltip" for its popovers by default.
2023-07-29 12:04:50 +01:00
XhmikosR 5a97018a9a
Update gutters.md (#38968) 2023-07-27 18:12:54 +03:00
Julien Déramond 8e5dada5b1
Examples: improve spinner buttons accessibility (#38958) 2023-07-25 08:25:48 +03:00
Douglas Silva 57ddb42baf
Fix postcss plugin options (#38947) 2023-07-24 21:26:09 +03:00