aboutsummaryrefslogtreecommitdiff
path: root/site/docs/4.1/components
AgeCommit message (Collapse)AuthorFilesLines
2018-12-21Prep for v4.2.0 releaseMark Otto24-8989/+0
- Move 4.1 docs to 4.2 - Update versions everywhere to 4.1.3 with release script - Manually bump the shorthand version in package.json - Add 4.2 to the versions docs page - Update some redirects - Fix tests asset URLs - Bump Nuget and more
2018-12-13SVG accessibility fixes (#27826)Patrick H. Lauke3-49/+49
* SVG accessibility fixes - add `focusable="false"` to all SVGs, to stop IE from including the `<svg>` in its default focus cycle - completely hide decorative SVGs using `aria-hidden="true"` - add `role="img"` to meaningful/"content" SVGs, ensure they have an appropriate `<title>` and/or `aria-label` - simplify placeholder default title * Simplify usage of placeholder.svg in the docs - in most cases, no need for separate/redundant text and title (now that we make text itself part of the alternative text explicitly) - no need (expect in rare cirumstances) to describe the placeholder image (unless the look of the image is important/the actual content, as is the case with the image thumbnail class) * Simplify example.html rewriting of <svg> to <img> code sample - as the `alt` for the placeholder isn't really important, just add an ellipsis instead (otherwise, to be correct, we'd have to construct the whole "title+text" construct like we do now in the placeholder.svg itself * Change svgo configuration to retain role attribute and add/force focusable=false - regarding `focusable=false`, see https://github.com/svg/svgo/issues/1011 (which would be the "proper" SVGO fix) and the (hacky) solution https://github.com/svg/svgo/pull/817
2018-12-12Add switch custom form control (#23004)Gijs Boddeus1-0/+16
2018-12-11Update Scrollspy doc to include missing method options (#27754)unaccomplished1-0/+12
2018-12-06Make disabled link in card examples non-focusable and add aria-disabled (#27788)Patrick H. Lauke1-2/+2
2018-12-05Allow Tooltips/Popovers to work in shadow DOMJohann-S2-0/+2
2018-12-04spinners: use `.sr-only` instead of text-hide technique (#27736)Shohei Yoshida1-18/+44
2018-11-28Revert "Use `h5` for callouts so that they are not included in ToC."XhmikosR4-6/+6
This reverts commit 11da1601140174e4fa4e0e25e7f66fc21c08e927. This is no longer needed with jekyll-toc 0.9.1.
2018-11-27Use `h5` for callouts so that they are not included in ToC.XhmikosR4-6/+6
Callouts are already excluded from ToC, but due to a limitation in jekyll-toc they are still being included. We should revisit this if the bug is fixed later.
2018-11-20Tweak placeholder.svg.XhmikosR1-18/+18
* always include the title * make it possible to skip adding the title by passing `title=' '` * remove viewBox since we don't need it
2018-11-20Replace holder.js with SVGs.Martijn Cuppens4-59/+59
2018-11-20Allows both OL and UL lists for tab buttonsTieson Trowbridge1-1/+1
2018-11-13Clean up some docs for toastsMark Otto1-57/+81
- Add headings to examples section - Clarify styles and customization options in examples - Add dismiss buttons to all toasts - Missing period added for consistency - Update roles, tweak text
2018-11-13Update toast documentation following pull #27155Laussel LOïc1-22/+27
Also remove close button everywhere just let it when autohide is set to false
2018-11-13Remove the show delay for our toast pluginJohann-S1-7/+3
2018-11-13Implement `data-dismiss="toast"` to allow user to interact itself with the ↵Laussel Loïc1-9/+35
component (#27155)
2018-11-13Fix toast documentation page.Johann-S1-0/+123
2018-11-13Add new toasts componentMark Otto1-0/+169
2018-11-13Customize browse text of the custom file input with HTML (#27651)Martijn Cuppens1-1/+13
2018-11-13Spinners: show all color variants.XhmikosR1-15/+7
2018-11-13Add Bootstrap's very first spinners omfg it's actually happeningMark Otto1-0/+167
2018-11-11Minor/Docs: tweak accordion example heading level (#27620)Patrick H. Lauke1-6/+6
2018-11-07Wrap checkboxes in `.form-group` (#27624)sts-ryan-holton2-15/+21
2018-11-06Docs: Improve accessibility of disabled link example (#27614)ysds4-24/+24
Add `tabindex="-1"` and `aria-disabled="true"` to disabled link
2018-11-05Increase readability card columns docs (#27609)Martijn Cuppens1-1/+1
2018-11-03Add Sass variable for prefers-reduced-motion, add callout to affected ↵Patrick H. Lauke6-0/+12
components (#27581) * Tweak the accessibility/reduced motion text include mention of carousel slides, remove the (now inaccurate, as Firefox 63 includes it too) mention that support is limited to Safari/macOS xref https://github.com/twbs/bootstrap/issues/27525 * Add new callout for reduced motion * Add variable to control prefers-reduced-motion media query support * Add callout about prefers-reduced-motion to all components currently using animation which are affected
2018-11-01Make meaning of tooltip's `selector` option clearer (#27573)Sebastian Hädrich1-1/+1
2018-10-23Improve pagination's documentation accessibility.Ng Yik Phang1-12/+16
- Remove `.sr-only` span for previous/next page, there is already`aria-label` - Add `aria-disabled="true"` and `aria-current="page"`
2018-10-22Use the example shortcode in more places.XhmikosR1-11/+3
Now that we don't have the ToC issue with the examples' headers in ToC, we can safely do this.no_toc_section_class
2018-10-21Add dropdown responsive alignment (#26255)ysds1-0/+38
2018-10-20swipe left/right without hammerjsJohann-S1-3/+1
2018-10-20Add touch support in our carousel with HammerJS.Johann-S1-0/+8
2018-10-20Add `show` and `hide` methods to dropdown (#27370)galczo51-0/+2
2018-10-19Fix doc typochocolateboy1-1/+1
2018-10-17Adding call out note directly to the page.Helmut Granda1-1/+5
Instead of using an external source since this is only a one time note it is safe to be placed within the document itself.
2018-10-17Adds a note about the limitations on content being larger than the image.Helmut Granda1-0/+1
In the event that the content is larger than the image, the content will continue to be displayed outside the image itself. There are some workarounds but they apply only to browsers that support this option and IE11 is not one of them.
2018-10-17Move media from layout to componentsMartijn Cuppens1-0/+144
2018-10-14Move periods outside of links.XhmikosR1-1/+1
2018-10-11refine deprecated holder.js color syntaxm5o1-1/+1
* refine deprecated holder.js color syntax * remove `#55595c:#373a3c` * harmonize with all other holder.js examples
2018-09-25Add explanation about accordion wrapper.Florian Lacreuse1-1/+1
2018-09-20Update forms.md719media1-4/+4
fix duplicate id attribute
2018-09-18Remove flex utilities from .list-group-item's as they're display: block; ↵Mark Otto1-3/+3
meaning the utilities have no affect. Closes #27162.
2018-09-18use bsCustomFileInput in our documentation (#27264)Johann-S1-1/+1
2018-09-18feature(carousel): carousel-item interval (#26667)Christopher Morrissey1-0/+29
adds the ability to assign data-interval to an individual carousel-item
2018-09-18Document input group wrapping behavior and override via utility classMark Otto1-0/+14
Fixes #25409
2018-09-18Clarify docs for custom form structureMark Otto1-1/+1
Fixes #25440
2018-09-03Added type="button" to <button>s without any type (#27174)Herst1-1/+1
(again) https://github.com/twbs/bootlint/wiki/W007
2018-08-19Fix section numbering in scrollspy doc exampleYannick Warnier1-2/+2
2018-08-18Recommend a plugin to animate custom file input (#27088)Johann-S1-0/+5
2018-08-13Tweak modal transform (#27005)Martijn Cuppens1-0/+6