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

1452 Commits

Author SHA1 Message Date
Christian Oliff
8ed1218294
update grid example docs (#35308) 2021-11-01 08:29:31 +02:00
Barabas
2e87f9aef0
images.md: remove zero-width space (#35234)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-10-28 14:22:32 +03:00
Oxydent
dc06b9966e
fix(offcanvas): Adding titles class where missing (#35264)
Co-authored-by: louismaximepiton <louismaxime.piton@orange.com>
2021-10-26 14:37:45 +03:00
Gaël Poupard
a0fd92ed2b
Fix typo in RTL Hello World! sentence (#35236)
* docs(RTL): fix typo in Hello World! sentence

* chore(docs): Cspell arabic words update
2021-10-21 16:33:29 +03:00
Jesse Mandel
d7dec124eb
Update nuget docs to specify only .NET Framework projects are supported. (#35124)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-10-11 19:31:53 +03:00
XhmikosR
c44d64ed71 Merge remote-tracking branch 'remotes/origin/v513' 2021-10-09 18:28:28 +03:00
XhmikosR
1a6fdfae6b Bump version to 5.1.3. 2021-10-09 09:43:19 +03:00
XhmikosR
ec62be2724
ESLint: disable no-negated-condition rule (#35137) 2021-10-08 12:47:55 +03:00
XhmikosR
9f1579aa04 Enable unicorn/prefer-prototype-methods rule 2021-10-05 19:52:11 +03:00
Mark Otto
57d80fcd32
Separate container classes from $enable-grid-classes option (#35005)
* Separate container classes from enable-grid-classes optoin

* Document the new option

* Mention in migration guide

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-10-05 19:46:33 +03:00
XhmikosR
5ecef8ac01
Release v5.1.2 (#35114) 2021-10-05 18:50:18 +03:00
Julien Déramond
fc21dcf758
Fix capitalization after period in contents.md (#35111) 2021-10-05 17:46:08 +03:00
Alex Gibson
630d2707a3
docs: remove data-bs-dismiss="modal" leftover (#35042) 2021-09-28 18:46:09 +03:00
Rohit Sharma
337447c5cc
Add offcanvas to the components requiring JavaScript (#35013)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-09-28 12:33:33 +03:00
Julien Déramond
b1e27a456b
examples: Add role="switch" to switches (#35022) 2021-09-28 12:28:30 +03:00
XhmikosR
c5d03d93fc
Rename e to event (#34979) 2021-09-15 14:27:46 +03:00
cdalexndr
55a352d023 Fix responsive img docs
https://github.com/twbs/bootstrap/issues/34885
2021-09-13 22:19:13 -06:00
Christian Oliff
8c4f66733e
Changes some latin/dummy text to English (#34946)
Changes some latin/dummy text to English so spellcheck linter passes
2021-09-10 14:02:58 +03:00
Christian Oliff
cb87ed2a79
docs: Add role="switch" to switches (#34824)
* docs: Add role="switch" to switches

* Tweak/expand explanation about assistive technologies

Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2021-09-09 14:37:52 +03:00
Christian Oliff
f7c361f553
replace dummy text with English for Text truncation page (#34936) 2021-09-09 14:30:41 +03:00
Christian Oliff
8db02e24d6
Non-blocking typo fix (#34935) 2021-09-09 09:44:44 +03:00
Christian Oliff
24daa47131
Fix Backdroped typo (#34920) 2021-09-08 10:55:01 -07:00
Christian Oliff
de68df20cd
fix utilities typo (#34923) 2021-09-08 16:59:17 +03:00
XhmikosR
395b50a5b5
docs: Update RFS version & move "v" prefix to config.yml (#34918) 2021-09-08 09:03:04 +03:00
Christian Oliff
acc0836f08
fix predefined typo (#34922) 2021-09-08 08:59:27 +03:00
Christian Oliff
7e1aa85fad
Fix JavaScript typo (#34921) 2021-09-08 08:55:43 +03:00
XhmikosR
0d81d3cbc1
Release v5.1.1 (#34869)
* Prepare v5.1.1.

* Dist
2021-09-07 18:37:44 +03:00
XhmikosR
23b3d636e1
Typo fixes (#34914) 2021-09-07 09:45:27 +03:00
Patrick H. Lauke
aa06dffdf6
Disabled link cleanup (#34886)
* Disabled link cleanup

per https://www.w3.org/TR/html-aria/#docconformance

> It is NOT RECOMMENDED to use `aria-disabled="true"` on an `a` element with an `href` attribute.
>
>NOTE
>If a link needs to be "disabled", remove the `href` attribute.

This PR removes the unnecessary `href="#"`, `tabindex="-1"`, and `aria-disabled="true"` from disabled links in both docs pages and examples. `aria-disabled="true"` *is* kept for disabled link-based buttons (that have `role="button"`) as there it's appropriate to use (you *want* to convey to assistive technologies that this thing you're claiming is a button is also disabled at the moment)

Further, the PR extends the "Link functionality caveat" to show the "proper" way (removing `href` and adding `.disabled` class only) to disable a link, but then explains what to do if that's not possible (and then keeps an example with all the traditional `href="#" tabindex="-1" aria-disabled="true"`, but explains clearly that it's not ideal). Same sort of explanation is also added to the pointer event utilities page

* Turn big note into actual normal doc text

Co-authored-by: Mark Otto <markd.otto@gmail.com>

Co-authored-by: Mark Otto <markd.otto@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-09-06 22:14:21 +03:00
Julien Déramond
16aab88a67
docs: make use of the .Site.Params.docs_version variable (#34913)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-09-06 21:59:04 +03:00
Christian Oliff
6411799e60
Docs: Add Callout to Stacks Helper page about limited flexbox gap support (#34910)
* Docs: Add Callout to Stacks Helper page about limited flexbox gap support

Fixes: #34737

* Update stacks.md

* Delete callout-warning-flexbox-gap.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-09-06 21:48:35 +03:00
Julien Déramond
2a1aa2a9f4
Fix a11y issues in .hstack example and placeholder 'How it works' example (#34892) 2021-09-04 09:36:18 +03:00
Alan Oliveira
58edf0ecbe
docs: add $enable-smooth-scroll to Sass options page (#34877) 2021-09-03 00:14:20 +03:00
Mark Otto
d91480e3c7
Include root.scss in all dist builds (#34773)
* Remove the font-family-* override vars from Reboot build

* Update Reboot docs to mention CSS variables
2021-09-02 08:41:58 +03:00
XhmikosR
283cbd9026 Use path.Join when joining paths 2021-08-31 17:24:38 +03:00
XhmikosR
f22966c920 example: remove unneeded escape characters 2021-08-31 17:24:38 +03:00
XhmikosR
5cc633dfab Minor shortcode tweaks and consistency changes 2021-08-31 17:24:38 +03:00
XhmikosR
9050b2698a Remove .html suffix from shortcodes calls.
It's the default.
2021-08-31 17:24:38 +03:00
XhmikosR
365d6d9fb1 Tweak scss-docs shortcode 2021-08-31 17:24:38 +03:00
Julien Déramond
a0da3a0f42
Enhance Alerts > Live Example section (#34769) 2021-08-30 16:00:16 +03:00
Marius A
10fc1fec6a
clarify importing all vs specific plugins (#34840) 2021-08-30 15:36:53 +03:00
XhmikosR
9e1d81a851
Progress page: remove toggle animation button (#34787)
We don't use the same approach with a button on the Placeholders page.
2021-08-21 06:54:53 +03:00
SaintMalik
bfad22f23c
docs: fix typos in approach and placeholders (#34781) 2021-08-20 18:25:03 +03:00
XhmikosR
7207cd1919
dashboard-rtl: use the same scripts as the dashboard example (#34766) 2021-08-18 18:51:12 +03:00
Kyle Tsang
b10c1a76c7
Fix typo in placeholder docs (#34752) 2021-08-18 07:30:06 +03:00
GeoSot
1e5e655670
Fix modal when is triggered by bs-toggle, to hide other open instances (#34701) 2021-08-10 17:55:34 +03:00
Christian Oliff
fdc2f723a5
docs: Fix placeholders typo (#34686) 2021-08-05 08:36:00 +03:00
XhmikosR
f20fece3a8
Prepare v5.1.0. (#34674) 2021-08-04 18:41:51 +03:00
Mark Otto
7409271b56 Document the utility API's new css-var boolean
Co-Authored-By: Gaël Poupard <ffoodd@users.noreply.github.com>
2021-08-03 17:06:06 -07:00
Mark Otto
4d7911a27b Add and document additional :root CSS variables
- Adds grayscale colors
- Adds root and body variables

Note that some Sass variables default to `null`, so as we generate and use the CSS variable, we'll be potentially adding some lines of code.
2021-08-03 17:06:06 -07:00