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

150 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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