Patrick H. Lauke
80f5812a97
Revert separate/unrelated change to CTA links
...
moved to separate PR
2021-01-13 23:46:46 +00:00
Patrick H. Lauke
7e1855d23d
Merge branch 'main' into patrickhlauke-carousel
2021-01-13 23:20:05 +00:00
voltaek
f7d3870567
Docs v5: Fix Sass rounding precision and state Sass implementation ( #32512 )
...
* Add Sass section to Getting Started > Build Tools, mention Sass implementation used, mention current precision of 10 due to Dart Sass, and mention recommended minimum precision (value of 6 used in BS v4). Remove outdated Sass precision from Customize > Sass docs page.
* Remove more mentions of deprecated Sass implementations. Add links to Sass compiler mentions so we can keep all pertinent Sass compiler information in just one location instead of spread through the docs, which makes it hard to find the details and/or keep them up-to-date.
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-14 00:41:42 +02:00
Mark Otto
80c0d4deab
Add mention of CSPs and SVGs ( #32759 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-14 00:15:18 +02:00
XhmikosR
f95004f654
Revert "docs: Fix popover example showing above navbar ( #32445 )" ( #32533 )
...
This reverts commit 517446069a .
2021-01-13 22:51:39 +02:00
Mark Otto
d21fb9b627
Document some basic code conventions for us ( #32778 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-13 21:06:07 +02:00
Gaël Poupard
20a9d491a2
Improve docs regarding RTL migration ( #32771 )
...
* docs(migrations): add a note regarding migration from v4 used for RTL layouts
* docs(RTL): LTR & RTL at the same time
* docs(utilities): how-to use the API to rename utilities
* docs(RTL): mention issue when nesting styles with .ltr / .rtl
2021-01-13 21:01:36 +02:00
ghost_32
82e5fe2d8c
Migration: mention the removal of .rounded-sm/lg utilities ( #32758 )
...
* Changes made in migration.md file of documentation
Added information about the removal of `.rounded-sm` and `.rounded-lg`.
And addition of `.rounded-0` to `.rounded-3`
* Moved the edited line
Added `rounded-0` to `rounded-3` under v5.0.0-alpha3
* Moved correctly
* Added link
Added link to issue #31687
* docs(migration): last typo thinggies
* Update migration.md
Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-13 09:18:56 -08:00
Mark Otto
05249c8c04
Document size and multiple aren't supported on floating label selects ( #32744 )
...
* Document size and multiple aren't supported on floating label selects
Closes #32660
* Update floating-labels.md
2021-01-13 09:15:05 -08:00
Marcin Kasperski
408b2558dc
Update toasts.md ( #32782 )
...
* dropped mention of `backdrop-filter`
* changed mention of `.text-white` to `.btn-close-white` on close button
2021-01-13 19:05:25 +02:00
Mark Otto
69afafe811
Mention stretched-link constraints with table elements ( #32761 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-12 15:33:58 +02:00
Patrick H. Lauke
a2447ba7c9
Merge branch 'main' into patrickhlauke-carousel
2021-01-10 14:40:17 +00:00
Brian Thompson
ee8546da18
Fix typo ( #32740 )
...
* Fix typo
* Rewrite description to avoid awkward phrasing
Co-authored-by: Mark Otto <otto@github.com>
2021-01-09 13:06:41 -08:00
Théophile Helleboid - chtitux
80557b3ac0
Move "active" class from .nav-item to .nav-link ( #32730 )
2021-01-08 20:53:04 +02:00
Gaël Poupard
70175db429
docs(sidebar): active link
2021-01-08 09:49:18 +02:00
XhmikosR
d9adaae5b0
Move migration sidebar entry to sidebar.yml
2021-01-08 09:49:18 +02:00
Patrick H. Lauke
1493ac0bf1
Merge branch 'patrickhlauke-carousel' of https://github.com/twbs/bootstrap into patrickhlauke-carousel
2021-01-07 10:23:30 +00:00
Patrick H. Lauke
c72d23b8b7
Clarify that controls can be button or link
...
also adds code ticks to `id`
2021-01-07 10:22:28 +00:00
Patrick H. Lauke
eda76bb0a0
Merge branch 'main' into patrickhlauke-carousel
2021-01-07 10:13:16 +00:00
XhmikosR
f2c504397e
Bump copyright year to 2021 ( #32713 )
2021-01-07 12:12:53 +02:00
Patrick H. Lauke
13eb932bc4
Edit carousel examples
...
- use buttons instead of links for prev/next
- remove `role="button"` from links that are actually links
2021-01-07 09:54:07 +00:00
Mark Otto
cefdcf6954
Clarify the $enable-shadows option in our docs ( #32685 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-07 10:16:21 +02:00
Florian Lacreuse
e635a49536
Fix navbar docs - active nav-link ( #32589 )
...
* Fix navbar docs - active nav-link
* Update navbar.md
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-07 09:24:57 +02:00
Gaël Poupard
acec356c81
fix(ratio): missing variable prefix ( #32501 )
...
This is the only unprefixed custom property, and its name is very common so I think we'd better prefix it too.
2021-01-06 08:14:54 +02:00
Patrick H. Lauke
d1a62b47c3
Tweak wording for no-touch carousel ( #32688 )
...
based on changes made in the backport https://github.com/twbs/bootstrap/pull/32639
2021-01-06 00:59:44 +00:00
Jonathan
88d35b725b
Hyphen to dash for ranges ( #32488 )
...
* Hyphen to dash for ranges
* Hyphen to dash for ranges
* Hyphen to dash for ranges
* Hyphen to dash for ranges
* Hyphen to dash for ranges
2021-01-05 13:56:44 -08:00
Patrick H. Lauke
7b718ca159
Merge branch 'main' into patrickhlauke-carousel
2021-01-05 20:48:45 +00:00
Théophile Helleboid - chtitux
265605bba0
carousel example: Move "active" class on .nav-link element ( #32647 ) ( #32647 )
...
The "active" CSS class must be on "nav-link" element, see `_navbar.scss`:
```css
.nav-link.active {
color: $navbar-dark-active-color;
}
```
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-05 22:15:59 +02:00
Mark Otto
dfe1b156d1
Fixes #32557 : Add functions and variables to the utilities API docs imports ( #32684 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-05 22:11:56 +02:00
Patrick H. Lauke
fd48a8732f
Remove incorrect mention of dropdowns for dynamic tab behavior ( #32634 )
...
While technically it still works, we're already saying authors shouldn't do it later on, and we removed any examples of this. This was a straggler.
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-05 22:04:06 +02:00
Patrick H. Lauke
e1e6f5684e
Tweak the wording for collapse to indicate button is preferred/more semantic ( #32632 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-05 21:53:50 +02:00
Patrick H. Lauke
d753f4a279
Use buttons for newly-merged extra carousel
2020-12-29 16:27:06 +00:00
Patrick H. Lauke
50ac915bf2
Merge branch 'main' into patrickhlauke-carousel
2020-12-29 16:03:14 +00:00
Patrick H. Lauke
b05145c951
Add an actual data-bs-touch="false" example in the carousel docs ( #32638 )
...
* Add an actual `data-touch="false"` example in the carousel docs
this can also make it easier to actually check/debug any issues we may have with this data attribute
* Correct attribute table explanation and remove slide class from example
2020-12-29 15:40:42 +02:00
Patrick H. Lauke
b749662c7c
Merge branch 'main' into patrickhlauke-carousel
2020-12-29 13:40:22 +00:00
dependabot[bot]
122b2bdd48
Bump eslint-plugin-unicorn from 24.0.0 to 25.0.0 ( #32644 )
...
* Bump eslint-plugin-unicorn from 24.0.0 to 25.0.0
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 24.0.0 to 25.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v24.0.0...v25.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Fix renamed eslint-plugin-unicorn options
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-29 12:52:32 +02:00
Patrick H. Lauke
f328d01d3a
Carousel: use buttons, not links, for prev/next
...
- expand the styles to neutralise border/background
- change docs page
- add extra unit test to check that links or buttons work as controls
- modify visual test to use buttons as well
2020-12-27 19:58:46 +00:00
XhmikosR
9b7bb7b568
docs(sidebar): invalid CSS value ( #32575 )
...
Co-authored-by: Gaël Poupard <gael.poupard@orange.com>
2020-12-21 18:54:03 +02:00
Nils K
2d46e47464
Support Popper virtual elements ( #32376 )
...
Adds the ability to use objects implementing the virtual element interface as the value for the reference option of a dropdown config.
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-21 14:32:11 +02:00
XhmikosR
44667d89fa
API docs: add missing comma ( #32543 )
2020-12-21 11:12:28 +02:00
Florian Lacreuse
86802f701c
Add keyboard-focusable elements for popover on disabled button ( #32490 )
2020-12-20 20:28:58 +02:00
XhmikosR
d140f50b35
Tooltips: add missing space ( #32529 )
2020-12-20 17:12:22 +02:00
joe
561c0d8cde
added class selector "." to "dropend" ( #32534 )
...
It was missing the `.` before `dropend`.
2020-12-19 08:23:50 +02:00
Siju Samson
517446069a
docs: Fix popover example showing above navbar ( #32445 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-18 10:19:30 +02:00
Marc Jansing
f07106e604
Add helpers to utilities bundle ( #32324 )
...
Adds currently missing utilities classes which are located in scss/helpers to
boostrap-utilities dist files.
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-18 07:39:39 +02:00
Dmytro Yaremenko
8984255158
Extended form validation states customization capabilities ( #31757 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-17 07:07:48 +02:00
Florian Lacreuse
4e7c9e56fc
Fix popover docs example ( #32489 )
2020-12-15 17:27:06 +02:00
Patrick H. Lauke
65f1bf027a
Docs: style clipboard button on :focus, not just :hover ( #32461 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-15 09:43:12 +02:00
Gaël Poupard
c2f67d72e8
docs(skip links): new powers for .visually-hidden-focusable
2020-12-15 09:22:14 +02:00
Patrick H. Lauke
eae52b1cb0
Expand visually-hidden-focusable so it can be used on a container, so the container becomes visible when focus is inside it / on one of its child elements.
2020-12-15 09:22:14 +02:00