Commit Graph

2214 Commits

Author SHA1 Message Date
XhmikosR 1401722f7e
docs: move examples icons to a partial (#39808) 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) 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) 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) 2024-03-11 09:26:03 +02:00
XhmikosR 930740afbc
Switch to using `hugo.IsProduction` (#39763) 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) 2024-03-07 16:11:00 +02:00
XhmikosR b003fc7880 docsref.html: move to variable 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
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)
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) 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
XhmikosR b75f637f4d
docs: clean up example.html (#39528) 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) 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
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
Julien Déramond 00317d2c76
Docs: use consistent HTML elements in Utilities > Background page (#39519) 2023-12-22 07:14:15 +01:00
Julien Déramond 240b78e2d0
Docs: drop unused `.theme-icon` class (#39520) 2023-12-21 17:34:16 +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
MewenLeHo 73e1dcf43e Fix color-mode.js 2023-10-31 09:42:15 -07: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
Christian Oliff 323f9d6f68
Docs: fix unnecessary right-margin for example code blocks (#39246) 2023-10-05 12:03:42 +02:00
XhmikosR 7d66339e98 Update favicon 2023-10-02 12:04:31 +03: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
Julien Déramond 344e912d04
Release v5.3.2 (#39173)
* Bump version to 5.3.2

* Dist
2023-09-14 17:19:27 +03:00
XhmikosR 317cb2ae09
download: Reword CDN paragraph (#39179) 2023-09-14 17:02:13 +03:00
Julien Déramond 8df9899e98
Fix: make theme selector tick icon visible when active in examples layout (#39177) 2023-09-14 17:01:50 +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
louismaxime.piton 4a7dfa404f Add form elements in focusable elements when scrolling 2023-08-05 15:09:56 -07:00
Julien Déramond 78b4e5d2d6 Use box-shadow CSS vars instead of Sass vars in assets and variables 2023-08-05 15:04:45 -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
XhmikosR 2a1bf52b73
Release v5.3.1 (#38956)
* Bump version to 5.3.1

* Dist
2023-07-26 10:46:38 +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
louismaximepiton cc5a8a9036 fix 2023-07-23 21:41:43 -07:00
Christian Oliff ea21de1674 Docs: Update float responsive examples 2023-07-23 21:38:53 -07:00
XhmikosR 01dacaf218
dashboard: fix offcanvas md display (#38952)
* dashboard: fix offcanvas md display

* Update index.html
2023-07-23 21:28:14 -07:00
Julien Déramond 4271d22b90 Docs: remove v4 reference in homepage 2023-07-23 21:27:00 -07:00
Julien Déramond 1c80bd9c4b
Fix some typos in Customize > Sass doc (#38948) 2023-07-23 22:07:23 +03:00
Kyle Tsang d45cc7ef51
Support `Home` and `End` keys in tabs (#38498)
* Support `Home` and `End` keys in tabs

* Update tab.js

* simplify tests

* Update navs-tabs.md

* Update .bundlewatch.config.json

---------

Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markdotto@gmail.com>
2023-07-23 22:06:14 +03:00
Julien Déramond 101ff73b4c Docs: fix carousel carousel colors of carousel examples in dark mode 2023-07-16 20:49:00 -07:00
Julien Déramond b3da789113
Fix dark mode rendering of Cheatsheet examples (#38905) 2023-07-16 20:48:33 -07:00
zcl 3ea4168cb6
Streamline a certain amount and increase presentations in different directions (#38604) 2023-07-16 20:41:56 -07:00
Julien Déramond 674ea99c8c Docs: add blank target and noopener rel to footer external links 2023-07-16 20:41:03 -07:00
Julien Déramond 6a9b9af59e New Sass variable to change vertical rule width 2023-07-16 20:39:54 -07:00
Julien Déramond 8c135169e7
Fix tooltip generated markup documentation (#38902) 2023-07-15 07:45:35 +02:00
Christian Oliff 42a055c7a8
Docs: Fix incorrect `.form-file` on migration guide (#38883) 2023-07-10 10:04:21 +02:00
ZhangChengLin 2c7f888c1e add a base class style display for toggle buttons 2023-07-05 22:28:57 -07:00
PARTHIBAN 6301ca1ee0 Update buttons.md 2023-07-05 22:28:35 -07:00
Julien Déramond 3515ac16a1 Docs: add missing `aria-disabled='true'` to disabled anchors 2023-07-05 22:28:00 -07:00
Christian Oliff 52d53696d2
Fix for text-reset example class name (#38844)
This example no longer uses muted text

Co-authored-by: Julien Déramond <juderamond@gmail.com>
2023-07-05 22:27:13 -07:00
Louis-Maxime Piton e2854b94da
Feature (#38838) 2023-07-05 22:11:04 -07:00
Mewen Le Hô 4315801856
Add docs search to homepage (#38850)
* Compliance to Success Criterion 3.2.3 Consistent Navigation

* Update docs-navbar.html

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2023-07-05 22:10:13 -07:00
Christian Oliff e0d54ffd32 Improve Text Alignment Example
On the Text alignment example  all the text is left-aligned to start with and doesn't change on any viewport change. I think it makes much more sense for it to end-aligned on certain breakpoints.

I also added a missing `text-xxl-end` class :-)

I didn't use dashes between the breakpoint size names to match the Breakpoints docs (https://getbootstrap.com/docs/5.3/layout/breakpoints/#available-breakpoints)
2023-07-05 22:08:53 -07:00
Christian Oliff 43e4bf97a8
Fix class name on migration guide (#38865)
`.custom-custom-radio` should be `.custom-radio`
2023-07-04 13:45:29 +02:00
Benedikt Willi 787dfea8a2 Explicitly add missing opacity-0 helper class example for clarity.
Add a missing opacity-0 helper class example. From existing examples, it wasn't obvious to me that this class exists. This commit makes it a bit more explicit.
2023-06-25 14:47:15 -07:00
Julien Déramond 6dc18c6adc
Update bottom border on dark navbar example (#38707)
* Docs: drop bottom border from dark navbar example

* Use `.border-body`
2023-06-25 14:46:29 -07:00
kyletsang 213888e17e Update flex utilities link in navs docs 2023-06-25 14:45:38 -07:00
Christian Oliff 2f61721575
Minor fixes for Docs Versions page (#38734) 2023-06-14 00:04:22 +03:00
Kyle Tsang d8883d753f
Fix stack examples (#38745) 2023-06-14 00:04:00 +03:00
EricDunsworth 6d24ccc9cc
Docs (tooltips): Fix "them" typo in markup section (#38751) 2023-06-14 00:03:34 +03:00
Christian Oliff bb92ec707a
Fix missing word issue on nav-tabs page (#38688)
Fix the sentence:

> Force your .nav’s contents to extend the full available width one of two modifier classes.

to:

> Force your .nav’s contents to extend the full available width with one of two modifier classes.
2023-06-08 07:49:58 +03:00
Mark Otto a70852fb02
Fix link colors in Sidebars example (#38711) 2023-06-06 08:14:24 +02:00
Julien Déramond 6e49236541 Docs: consistency between custom buttons, popovers and tooltips 2023-06-03 10:11:12 -07:00
ZhangChengLin beca2a6c7f collate distribution interval 2023-05-31 19:34:02 -07:00
Gaël Poupard a4918e33b8
docs(spinners): improve buttons examples accessibility (#38632)
* docs(spinners): improve buttons examples accessibility

* docs(spinners): missed occurrence of wrong role + aria-hidden

---------

Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2023-05-31 19:32:47 -07:00
Hannah Issermann b7e351b445
Docs: add more details on accessibility tips (#38583)
* Docs: add more details on accessibility tips

* Docs: add more details on accessibility tips

* Docs: add more details on accessibility tips

* Fix syntax

---------

Co-authored-by: Julien Déramond <juderamond@gmail.com>
2023-05-31 19:32:20 -07:00
Julien Déramond 9129e4a073 Doc: fix 'Events' JS example 2023-05-31 19:32:01 -07:00
Gaël Poupard 96b0fd67f5
docs(forms): switch to aria-describedby (#38592)
* docs(forms): switch to aria-describedby

* docs(forms): revert #37587 callout change

* docs(forms): improved sizing select examples labels
2023-05-31 19:30:28 -07:00
Julien Déramond b5772d4ec2 Use `.d-none` instead of inline styling 2023-05-31 19:28:32 -07:00
Thomas Landauer 785043c06b
Adding a link to `clearfix` (#38528)
* Adding a link to `clearfix`

* Update float.md

* Update float.md

---------

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markdotto@gmail.com>
2023-05-31 19:27:47 -07:00
Mark Otto 6bb60152b6
Update Sass docs to mention compiling and including (#38538)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2023-05-31 19:19:02 -07:00
Ian Haggerty 0d9715e063
Fix disabled element tooltip stackblitz (#38623)
* Load js for disabled button tooltip stackblitz

* Remove surrounding useless `<div>`

---------

Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-05-31 07:40:38 +03:00
XhmikosR c5f46b020c
Update code-examples.js (#38675) 2023-05-31 07:36:19 +03:00
XhmikosR 60098ac499
Release v5.3.0 (#38657)
* Bump version to 5.3.0

* Dist
2023-05-30 18:15:55 +03:00
Mark Cowan ad9cb223a9
Fix always-false boolean condition (#38665) 2023-05-30 09:00:26 +03:00
Jeroen Akkerman f0be063c97
Update color-modes.js (#38626)
* Update color-modes.js

Fix IF statement in the prefer-color-scheme change listener always evaluating to `true` and changing the theme to "dark" even when "light" is set as the preferred theme.

| `||` | `x !== "light"` | `x !== "dark"` | Result |
|--|:--:|:--:|:--:|
| `x = "light"` | ○ | ● | ● |
| `x = "dark"` | ● | ○ | ● |
| `x = "auto"` | ● | ● | ● |
| `x = "bogus"` | ● | ● | ● |
<hr>

| `&&` | `x !== "light"` | `x !== "dark"` | Result |
|--|:--:|:--:|:--:|
| `x = "light"` | ○ | ● | ○ |
| `x = "dark"` | ● | ○ | ○ |
| `x = "auto"` | ● | ● | ● |
| `x = "bogus"` | ● | ● | ● |

* Implement re-read of stored theme
2023-05-25 21:18:49 -07:00
Mark Otto a6dc107dfd
Add data attr selector for dark mode navbars (#38522)
* Add data attr selector for dark mode navbars

* Fix dark example
2023-05-19 09:05:09 -07:00
Julien Déramond e87852f2b6
Docs: new section to explain how to add a new color to the theme (#37737)
* Docs: new section to explain how to add a new color to the theme

* Commit to revert

* Edit copy

* Typo

* bundlewatch

* Restore blog example

* Remove Sass modifications

* Complete documentation

* Revert bootstrap.scss modifications

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2023-05-17 09:39:18 -07:00
codemmmmm 758fd2a679
Modal: fix grammar (#38603)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-05-16 16:47:06 +03:00
Julien Déramond 7d97fdff46 Docs: fix paragraph on how do the variants and accented tables work 2023-05-10 17:57:37 -07:00
XhmikosR 896c390a25
Update devDependencies (#38537)
* @babel/cli                       ^7.21.0  →  ^7.21.5
* @babel/core                      ^7.21.4  →  ^7.21.5
* @babel/preset-env                ^7.21.4  →  ^7.21.5
* find-unused-sass-variables        ^4.0.8  →   ^5.0.0
* rollup                           ^3.21.0  →  ^3.21.2
* stylelint-config-twbs-bootstrap   ^9.0.1  →  ^10.0.0
2023-05-01 00:40:57 +03:00
Mark Otto 2795421716
Fix sizing on masthead npm i snippet (#38521) 2023-04-27 18:32:56 -07:00
Mark Otto e468daac25
More darkmode examples (#38058)
* WIP darkmode examples

* Fix product css error, redo parts of blog

* wip dashboard

* updated rtl generated

* fix up some examples, namely dashboard

* jumbotron and sign-in fixes

* more fixes

* more

* Fixes from code review

* Remove duplicate `data-bs-target` in dashboard/index.html

* Modify `blog-rtl/index.html`

* Modify `dashboard-rtl/index.html`

* Modify `carousel-rtl/index.html`

* Keep JS on all pages for switcher

* Remove Feather from dashboard examples

---------

Co-authored-by: Julien Déramond <juderamond@gmail.com>
2023-04-27 18:13:35 -07:00
Mark Otto 6182c0d962
Add new docsref page, fix docs border-radius issues (#38491)
* Add new docsref page, fix docs border-radius issues

* Remove commented out code

* Update docsref.md

* Fix no-code example, fix mobile styles

* Updates from review

* Fix block margin, remove margin-right from pre on mobile since no clipboard icons, adjust masthead snippet

* Fix errant styles for border-radius on homepage

---------

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-04-26 15:57:27 -07:00
Louis-Maxime Piton 5400415bb5
Table: active `<tr>` fix (#37084)
* Adding the custom cascade to make `.active` work on `:hover` and on `.table-striped`.

* Prevent nesting backgrounds

* Small typo

* .

* Adding some docs

* Match variable syntax

* .

---------

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2023-04-25 20:32:27 -07:00
Julien Déramond 57df533e9f
Docs: change colors of position marker example to work with dark mode (#38445) 2023-04-20 20:10:31 -07:00
XhmikosR bb33b4bb8f
Fix Rubygems link to README.md (#38459) 2023-04-13 21:21:22 +03:00
XhmikosR 137bfbad7b
Slightly improve PNG files compression (#38438)
Used oxipng v8.0.0 with `oxipng -omax -Z`.

Before: 331 KB (339.560 bytes)
After:  329 KB (337.647 bytes)
2023-04-11 21:23:12 +03:00
XhmikosR fdd306f481
Update devDependencies (#38437)
* Update devDependencies

* @babel/preset-env                 ^7.20.2  →  ^7.21.4
* @rollup/plugin-node-resolve       ^15.0.1  →  ^15.0.2
* eslint                            ^8.37.0  →  ^8.38.0
* rtlcss                             ^4.0.0  →   ^4.1.0
* sass                              ^1.60.0  →  ^1.61.0
* stylelint                        ^14.16.1  →  ^15.4.0
* stylelint-config-twbs-bootstrap    ^7.0.0  →   ^9.0.1
* vnu-jar                           22.9.29  →  23.4.11

* Fix the new Stylelint issues
2023-04-11 11:44:19 +03:00
Mark Dumay b000f2ace1
Add hint to reduce screen flickering (#38426) 2023-04-10 09:58:48 -07:00
Julien Déramond e8311211f3 Docs: fix text rendering of navbar external content 2023-04-10 09:47:45 -07:00
Mark Otto 8986c5e0a5 Fix colors in diff syntax colors 2023-04-10 09:47:11 -07:00
Mark Otto 9004a58c00
Improve colored links interaction with link utilities (#38398)
* Fix missing paren in colored links color

* Restore important flag on colored links color and text-decoration-color for better interaction with link utilities

* Mention in migration guide
2023-04-10 09:46:52 -07:00
Julien Déramond 01364cb49c
Docs: consistent usage of CSS sections (#38219)
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2023-04-10 17:53:28 +02:00
Julien Déramond d0cc42c009
Docs: add missing `twbs/examples` and change sorting (#38407)
* Docs: add missing twbs/examples

* Change sorting of examples.yml

---------

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-04-05 09:10:47 +03:00
Julien Déramond b62fd60a6d
Docs: remove moot `hot` option from Vite guide (#38405) 2023-04-05 08:44:38 +03:00
XhmikosR ac576614a5
Release v5.3.0-alpha3 (#38357)
* Bump version to 5.3.0-alpha3

* Dist
2023-04-03 10:26:50 +03:00
Tien Do c0107d142e docs: add variables-dark import in home page 2023-04-01 17:35:51 -04:00
Patrick H. Lauke 74c6f2bcfb
Fix clipboard code (#38380) 2023-03-30 16:03:48 +03:00
XhmikosR ae43f0c48b
Tweak and re-organize ESLint config (#38369)
* Tweak and re-organize ESLint config

* merge individual configs to the root config
* enable more eslint-plugin-import rules
* lint markdown files

* Lint
2023-03-29 13:49:30 -04:00
Julien Déramond c5fde53c8d
Docs: update Webpack guide (#38345)
* Docs: remove `<script>` from `index.html` in Webpack guide

* Add `mode=production` to `build` step in Webpack guide
2023-03-28 17:02:37 +03:00
Julien Déramond 34c2725fe1
Docs: `js-docs` unindent automatically the code inside shortcode (#38349) 2023-03-28 17:01:47 +03:00
GeoSot 94c7dc717e
Add detailed explanation of the JS components configuration merging process (#37303)
* doc: add detailed explanation of the components config process & fix popover/tooltip docs

* Update site/layouts/partials/js-data-attributes.md

---------

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2023-03-27 12:30:27 +03:00
Hannah Issermann 06f7c3b6c7
Add js-docs shortcode to ensure consistency between doc and js code (#38316)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-03-27 12:10:25 +03:00
Hannah Issermann 31f93e2aff
Docs: fix Markdown table with empty column (#38342) 2023-03-27 10:48:42 +02:00
XhmikosR 1729bcca1b
docs: remove trailing newline when copying snippets (#38321) 2023-03-27 11:04:52 +03:00
Julien Déramond 2bbf670fc2
Change diff file path in Webpack guide (#38339) 2023-03-27 11:04:07 +03:00
David Miles d76ee2846f Fixed typo in 5.3.0-alpha2 migration 2023-03-26 17:10:33 -05:00
Mark Otto 208ba3d748 Document new .d-inline-grid utility 2023-03-24 19:42:10 -07:00
XhmikosR c877cefcef
Release v5.3.0-alpha2 (#38244)
* Bump version to 5.3.0-alpha2

* Dist
2023-03-24 16:30:16 +02:00
Louis-Maxime Piton f8a56da8b0
Docs: `scss-docs` unindent automatically the code inside shortcode 2023-03-24 16:11:22 +02:00
Hannah Issermann 2008c65c54
Docs: fix two class attributes on same button (#38317) 2023-03-24 16:05:56 +02:00
Julien Déramond 0653e7f648
Fix reference to twbs/examples/icons-font + fine-tune index.html SB location target (#38310)
* Fix reference to twbs/examples/icons-font + fine-tune index.html SB location target

* Use urlquery

* Add `rel="noopener"`

---------

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-03-24 16:00:58 +02:00
Julien Déramond aadfe7edce
Fix comment position in `assets/scss/_content.scss` (#38281) 2023-03-23 14:31:24 +02:00
Julien Déramond 99867eb9ba
Update Vite, Parcel and Webpack guides (#38305)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-03-23 08:07:04 +02:00
XhmikosR b3faa0cfac
docs: remove moot `v` from docs-versions.yml (#38301) 2023-03-22 10:24:17 +02:00
Louis-Maxime Piton a6d8aa827d
Proposal to use `scroll-margin-top` instead of introducing padding and negative margin (#38220) 2023-03-19 17:45:46 -07:00
XhmikosR 5d4048350f
Slightly improve examples PNG files (#38270)
Before: 97,4 KB (99.758 bytes)
After:  94,2 KB (96.512 bytes)
2023-03-19 17:42:52 -07:00
Julien Déramond f52d4a35b3
Fix `placeholder` shortcode color and background params when 'img' markup (#38263) 2023-03-19 17:42:30 -07:00
Mark Otto 6855ce9512
Revert "Guard more in color-modes.js (#38235)" (#38280)
This reverts commit 474bf2aed1.
2023-03-19 17:35:57 -07:00
Julien Déramond 2d0c94c05a
Docs: make all headings use `var(--bs-emphasis-color)` (#38262) 2023-03-19 16:57:35 -07:00
XhmikosR 8701d89b16
icon-link.md: remove moot aliases (#38246) 2023-03-17 07:58:09 +02:00
Julien Déramond 4ba2deb534
Docs: consistent deprecation messages in Close Button dark variant (#38247) 2023-03-16 18:22:20 +02:00
XhmikosR adf7b8dc40
Docs: use core mixins in a couple of places (#38236) 2023-03-15 06:40:58 +02:00
XhmikosR c400653990
Tweak stylelint config (#38228)
* rename to .stylelintrc.json
* add reportInvalidScopeDisables to config
* move reportNeedlessDisables to config
* merge the two configs
* remove unneeded disabled rules from the examples config
2023-03-15 06:30:45 +02:00
XhmikosR 474bf2aed1
Guard more in color-modes.js (#38235) 2023-03-14 20:30:11 +02:00
Julien Déramond c57be44686
Docs: consistent usage of CSS sections (#38175) 2023-03-13 11:41:27 +01:00
Julien Déramond 59c556cea6 Drop unused `bootstrap-social-logo.png` 2023-03-10 12:36:46 -06:00
Mark Otto 6f18ad9d69
Update buttons.md (#38169)
* Update buttons.md

Updates the buttons documentation to refer to the button styles as variants as opposed to "predefined styles" as that language was previously troublesome elsewhere in our docs, and variants makes more sense.

* Update site/content/docs/5.3/components/buttons.md

Co-authored-by: Julien Déramond <julien.deramond@orange.com>

---------

Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2023-03-10 12:35:58 -06:00
Hannah Issermann fd7cfac4cb
Improve docs on Modals, Alerts, Offcanvas and Toasts close triggers examples (#38182)
* Improve docs on Modals, Alerts, Offcanvas and Toasts close triggers examples

* Update site/layouts/shortcodes/js-dismiss.html

Co-authored-by: Julien Déramond <juderamond@gmail.com>

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2023-03-10 11:23:59 -06:00
Louis-Maxime Piton 25579aad7c
Fix (#38191)
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2023-03-10 11:19:58 -06:00
Julien Déramond 24130a4e63
Fix typo in `utilities/colors.md` (#38194) 2023-03-10 11:19:21 -06:00
Louis-Maxime Piton 2032a6aa8e
Docs: Remove unnecessary `href` and `tabindex="-1"` (#38196)
* Proposal

* fix(review)
2023-03-10 11:17:38 -06:00
louismaxime.piton 8e27427fd9 Improve `scss-docs` link 2023-03-10 11:16:59 -06:00
louismaxime.piton 1f7e7ebd10 Better use the CSS 2023-03-10 11:15:33 -06:00
mrlife 2a2c4abaf4
Docs: fix typo in Color modes page (#38198) 2023-03-08 15:16:34 +01:00
Mark Otto a3f8480d5b
Remove nesting color modes docs section (#38192)
* Update docs for nesting color modes to better communicate issues with nesting light in dark

* Remove nesting entirely actually, it's impossible to properly show an example when in dark mode
2023-03-07 21:53:31 -08:00
Mark Otto 3cec38c368 Fixes click area for header example snippet 2023-03-07 21:53:05 -08:00
Julien Déramond 423f112b23
Docs: minor modifications in our migration guide for the v5.3.0-alpha2 (#38177) 2023-03-07 06:49:38 +01:00
Julien Déramond cff5c60a45
Docs: vertically align starters images in example page (#38179) 2023-03-07 06:40:08 +01:00
Patrick H. Lauke d5f4532b3e
Docs: fix overflow:auto horizontal scrollbars covering last line of code blocks (#37694)
* Add dirty hack for Firefox

* Disable stylelint check for function-url-quotes

to make the hack go through unchallenged

* Make the fix across all browsers

It's not just Firefox - same issue can be seen (though slightly less horrible looking) on macOS / Chrome etc

* Tweak padding, move clipboard button down slightly

* Further CSS tweaks

Forcing `overflow: overlay` should normalise behaviour between Chrome/Win and other implementations. While visually the Chrome/Win scrollbar still looks big and ugly, its height/spacing is now taken into account as being part of the content, so styles can be applied consistently with extra padding at the bottom

* Linting fixes

* Linting fixes

* Apply suggestions from code review

---------

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2023-03-04 12:05:54 -08:00
Andrew Dawes ea19c3da8a Fixed some grammar issues 2023-03-04 11:50:05 -08:00
Louis-Maxime Piton b26233c1ab
Examples: color mode enhancement (#38144)
* Tool bar proposal inside examples

* Some examples fixes

* Change appearance and position of the color mode toggler

* Proposal

* .

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2023-03-04 11:49:07 -08:00
Louis-Maxime Piton 783213691a
Icon link: envariable + enhance the documentation (#38130)
* Envariable the icon-link helper

* Proposal

* .
2023-03-02 10:32:43 -08:00
Julien Déramond 912cfe5823 Fix dropdown toggle visible focus in headers example 2023-03-02 10:32:03 -08:00
Julien Déramond b8b81669f0 Docs: `.text-body-secondary` appears two times in Utilities > Colors 2023-03-02 10:24:58 -08:00
Julien Déramond 38a431068f Docs: replace 'popover' by 'tooltip' in tooltip's page' options section 2023-03-02 10:23:38 -08:00
Julien Déramond 34901f1bc7 Docs: rollback some modification about `.text-muted` deprecation messages 2023-03-02 10:23:03 -08:00
Louis-Maxime Piton 23d20fa54f
Utilities: add 0 value to `link-underline-opacity` (#38131) 2023-03-02 07:45:25 +01:00
Julien Déramond 80ba848443
Docs: fix code indentation in homepage JavaScript plugins section (#38112) 2023-02-25 19:05:15 +01:00
Julien Déramond 6b4b77e320
Docs: Drop unused `.focused` style (#38087) 2023-02-25 18:18:04 +01:00
Julien Déramond 51299bf4e1
Drop unused `--bs-focus-ring-box-shadow` and add documentation for `--bs-focus-ring-{x|y|blur}` (#38095) 2023-02-25 08:01:20 +01:00
Julien Déramond 78f879eb57
Docs: drop unused icons (#38103) 2023-02-23 07:55:56 +01:00
Julien Déramond 5241b988c0
Bump Chart.js from 2.9.4 to 4.2.1 in dashboard examples (#38071)
* Bump Chart.js from 2.9.4 to 4.2.1 in dashboard examples

* Rollback myChart var modification

* Add some padding between tooltip color and text

---------

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-02-19 10:34:15 +02:00