Commit Graph

65 Commits

Author SHA1 Message Date
zcl d2d4581790
Fix Default values and Description content in options table (#39846)
* Fix Default values and Description content in options table

* update default value
2024-06-12 18:59:42 -07:00
Julien Déramond aed7faacff Docs: drop unused `.bi-exclamation-triangle-fill` class 2024-06-12 21:41:55 -04:00
Tobias 76ed1c6b14
Fix `.btn-group-vertical` border radius with dropdown as first element (#40488)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-05-30 07:49:28 +02:00
Julien Déramond d6731ea2e6
docs: add missing `data-bs-theme="light"` in navbars color schemes markup (#40504) 2024-05-29 08:35:16 +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 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
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
Julien Déramond 43524225e2
Docs: enhance `.card-img-*` description (#39458) 2023-12-10 08:23:45 +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 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
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
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
zcl 3ea4168cb6
Streamline a certain amount and increase presentations in different directions (#38604) 2023-07-16 20:41:56 -07:00
Julien Déramond 8c135169e7
Fix tooltip generated markup documentation (#38902) 2023-07-15 07:45:35 +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
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
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
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
Julien Déramond b5772d4ec2 Use `.d-none` instead of inline styling 2023-05-31 19:28:32 -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
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
codemmmmm 758fd2a679
Modal: fix grammar (#38603)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-05-16 16:47:06 +03:00
Julien Déramond e8311211f3 Docs: fix text rendering of navbar external content 2023-04-10 09:47:45 -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
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
Julien Déramond 4ba2deb534
Docs: consistent deprecation messages in Close Button dark variant (#38247) 2023-03-16 18:22:20 +02:00
Julien Déramond c57be44686
Docs: consistent usage of CSS sections (#38175) 2023-03-13 11:41:27 +01: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
Louis-Maxime Piton 25579aad7c
Fix (#38191)
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2023-03-10 11:19:58 -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
Julien Déramond 38a431068f Docs: replace 'popover' by 'tooltip' in tooltip's page' options section 2023-03-02 10:23:38 -08:00
Louis-Maxime Piton 7bffd6ea8d
Docs: Progress fix + proposal (#38014)
* Fix + proposal

* fix(review)

---------

Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2023-02-13 18:38:21 -08:00
Julien Déramond 70bad9b1b6 Docs: uniformize disabled nav links for underline nav 2023-02-13 18:12:35 -08:00
Patrick H. Lauke 1299b163c7
Docs: tweak icon link and callouts (#37923)
* Tweak callout for icon link

- no need to talk about `alt` for `<img>` since these don't use `<img>`
- make start of sentence more readable

* Tweak language of dropdown warning callout

* Tweak popover warning callout

* Tweak rtl warning callouts

* Tweak color warning callout

* Add/move accessibility callout for color to relevant pages

* Update site/content/docs/5.3/helpers/icon-link.md

* Update site/layouts/partials/callouts/warning-color-assistive-technologies.md

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2023-01-21 09:51:45 -08:00
Patrick H. Lauke cfd3560c6d
Docs: add overflow and text color info to progress bar page (#37921)
* Docs: add overflow and text color info to progress bar page

* Add example/reference for color & background helper use

* Add mention of color modes/dark mode

* Tweak link text
2023-01-21 09:34:09 -08:00
Mark Otto 20ab8219a0
Sass docs updates (#37897)
* Add maps

* Redesign scss-docs rendering

* Update other CSS sections

* Fix linter
2023-01-16 18:57:24 -08:00
Louis-Maxime Piton 9042efd0f8
Deprecate the Sass var and remove any occurence of the `.text-muted` (#37890) 2023-01-16 15:55:28 -08:00
Maciej Kubień 934d7a0c1a Changed ```popover``` to ```tooltip``` in docs
Changed ```popover``` to ```tooltip``` in tooltip component docs page.
2023-01-15 10:47:05 -08:00