aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/5.0/components
AgeCommit message (Collapse)AuthorFilesLines
2020-11-19docs: update selector CodePen example (#32163)XhmikosR2-2/+2
2020-11-18correct "breakpoint" typo (#32191)Matt Shaw1-1/+1
breakpoing --> breakpoint
2020-11-18docs(dropdowns): clarify where is `.show` applied (#32189)Gaël Poupard1-1/+1
Fixes #32712
2020-11-14popovers.md: unbreak line (#32153)XhmikosR1-2/+1
2020-11-14Update the remaining filesXhmikosR2-20/+20
2020-11-14Add `bs` in data attributesRohit Sharma15-323/+323
- Add `bs` in data APIs everywhere - Update unit tests
2020-11-12Fix caniuse.com URLS to prevent redirects (#32135)Christian Oliff1-1/+1
Shorter URLS which are faster as they avoid HTTP redirects
2020-11-09Drop `.btn-block` classes, replace with utilities (#31995)Mark Otto1-7/+38
Co-authored-by: XhmikosR <[email protected]>
2020-11-09[Docs] Changes to navbar documentation/explanation (#32090)Patrick H. Lauke1-11/+11
* Expand "external content" section for navbar - rephrase the intro to make a bit more sense - add note about dangers of focus/reading order problems * Remove pointless intro sentence * Small wording changes/additions/fixes
2020-11-06Fix missing border & add transitionsMartijn Cuppens1-6/+6
2020-11-06Add dedicated accordion component based on Collapse JSMark Otto3-55/+106
2020-11-02Add callouts about using light colors ideally on a dark background (#32040)Patrick H. Lauke1-0/+4
* Add callout about using light colors ideally on a dark background * Add callout to helpers > colored links as well
2020-10-31Contrast colors added to theme-colors (#30044)Sead Memic2-4/+4
* Contrast colors added to theme-colors * redundant colors removed froms docs, theme-colors refactor * Add spaces for consistency * Adapt to the recent changes Co-authored-by: Sead Memic <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2020-10-29Minor Markdown fixes (#32009)XhmikosR1-1/+1
* add missing language after fenced block * add missing end of file newline
2020-10-27list-group.md: fix snippet (#31981)XhmikosR1-15/+15
2020-10-25Rename Navs to Navs and Tabs (#31965)Mark Otto4-4/+5
* Rename Navs to Navs and Tabs Fixes #31378 * Add title to renamed file * Update navs-tabs.md * Add alias/redirect * Fix references to renamed file, tweak title Co-authored-by: Patrick H. Lauke <[email protected]>
2020-10-19docs: switch to fenced codeblocks (#31806)XhmikosR15-208/+256
2020-10-19Slow down spinners when `prefers-reduced-motion: reduce` (#31882)Gaël Poupard1-0/+4
* feature(spinners): slow down spinners when prefers-reduced-motion * docs(spinners): add reduced motion callout and mention slowing down in accessibility page * Update spinners.md * docs(accessibility): rewording Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Patrick H. Lauke <[email protected]>
2020-10-14Remove redundant visually hidden "(current)" from pagination controls (#31892)Patrick H. Lauke1-13/+4
* Replace visually hidden span with aria-current in tests * Remove redundant visually hidden "(current)" when `aria-current` already used Closes #31891
2020-10-13Revert "Improve callout shortcode. (#31802)" (#31871)XhmikosR17-80/+80
This reverts commit 5c6925385ee926a749ead6a4f2ebbfc64e701f36.
2020-10-13Split up dropdown sizing docs to improve rendering (#31861)Mark Otto1-55/+55
- Drop the included .btn-toolbar, no need - Split large and small button examples Closes #31841 Co-authored-by: XhmikosR <[email protected]>
2020-10-12Improve callout shortcode. (#31802)XhmikosR17-80/+80
Remove the `markdownify` call, and instead rely on Hugo's proper syntax; `{{% callout %}}` when we want to the content to be processed as Markdown. This allows for stuff like: {{% callout info %}} ##### I'm an info callout! ```css .foo { color: #fff; } ``` {{< example >}} <div class="alert alert-warning alert-dismissible fade show" role="alert"> <strong>Holy guacamole!</strong> You should check in on some of those fields below. <button type="button" class="btn-close" data-dismiss="alert" aria-label="Close"></button> </div> {{< /example >}} {{% /callout %}}
2020-10-05docs: fix contrast color against `.bg-info` (#31839)Gaël Poupard2-3/+3
* docs(badge): ensure info badge's contrast * docs(colors): fix contrasts in example using .bg-info * Update card.md Co-authored-by: XhmikosR <[email protected]>
2020-10-05carousel: add missing `to` description and fix `nextwhenvisible` description ↵Ankit Mishra1-0/+4
(#31809)
2020-10-02Explain the "dispose" method appropriately (#30838)Rohit Sharma9-9/+9
2020-09-30Update btn-close-white docs to filter (not backdrop-filter) (#31796)Christian Oliff1-1/+1
This PR fixes an error in the v5 docs. The btn-close-white class actually uses the filter (not backdrop-filter)
2020-09-29docs(Modal): Add xxl fullscreen example (#31583)Kyle Tsang1-0/+22
* docs(Modal): Add xxl fullscreen example * Update modal.md Co-authored-by: XhmikosR <[email protected]>
2020-09-29Change grid classes to utilities to make vertical nav example more resilient ↵Mark Otto1-37/+29
to narrow viewports (#31785) Co-authored-by: XhmikosR <[email protected]>
2020-09-28Replace ellipsis Unicode symbol with three dots. (#31774)XhmikosR1-2/+2
2020-09-24Carousel enhancements, including .carousel-dark (#31650)Mark Otto1-0/+44
* Replace existing carousel control icons with chevrons from Bootstrap Icons * Add .carousel-dark variant * Test * Add variable for .carousel-dark filter * Update _variables.scss Co-authored-by: XhmikosR <[email protected]>
2020-09-24Add .dropdown-menu-dark (#30171)Mark Otto1-0/+46
* Add .dropdown-menu-dark * Match background color to navbar dark * Update docs to include a navbar example * Update dropdowns.md Co-authored-by: XhmikosR <[email protected]>
2020-09-22Update toasts dismiss (moving more styles to CSS instead of utilities), fix ↵Mark Otto2-42/+33
some more close examples, and add a new .btn-close-white variant
2020-09-22Update some close button examplesMark Otto2-7/+3
2020-09-22Rename .close to .btn-close, replace times sign with background SVG, update ↵Mark Otto3-68/+23
focus state
2020-09-15docs(scrollspy): mention keyboard access and apply tabindex=0 (#31578)Gaël Poupard1-7/+12
2020-09-15Add getInstance method in the docs for tooltip (#31636)Rohit Sharma1-0/+9
Co-authored-by: XhmikosR <[email protected]>
2020-09-10Remove `loading=lazy` from navbar snippetsXhmikosR1-2/+2
2020-09-10Fix the remaining instances using the old logos.XhmikosR1-2/+2
2020-09-10Docs: (subjectively) nicer looking accordion example (#31137)Patrick H. Lauke1-7/+7
* Docs: (subjectively) nicer looking accordion example the use of `.btn-link` currently just looks a bit odd, subjectively (as in v5 we now force the underline to always be there, while in v4 at least it was only on hover/focus). `.btn-light` seems more fitting * Add extra classes for nicer overall look as suggested by @ysds * Tweak accessibility note for accordions and optional keyboard interactions
2020-07-31Add accessibility note about dismissible alerts and focus (#31358)Patrick H. Lauke1-2/+7
2020-07-12toasts: make default duration 5s (#31109)Rohit Sharma1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2020-07-06Docs: separate button group out of checks/radios, expand button groups page ↵Patrick H. Lauke1-51/+101
(#31201) * Keep checks/radio toggle buttons on topic - give examples of the pure toggle checks and radios, without the button group class. show that these work fine without `.btn-group`, but still cross-reference it - move the explanation from "Checkbox toggle buttons" directly to "Toggle buttons", as the mention of using button classes applies equally to the subsequent "Radio toggle buttons" and "Outlined styles" subsections. * Expand button group description as it's not just single line, but vertical as well * Expand button group examples - add more colour ... `.btn-secondary` is just dull and uninspiring - new section to showcase "Checkbox and radio button groups" - add a mixed styles example - add an example of vertical radio button group
2020-07-03Rename `sr-only`/`sr-only-focusable` (#31139)Patrick H. Lauke5-48/+48
* Rename `sr-only`/`sr-only-focusable` To be more representative of the fact that these are not necessarily "screen reader" specific, but actually apply to assistive technologies in general (and also things like Alexa/Siri/etc). Goes hand-in-hand with #31133 Co-authored-by: XhmikosR <[email protected]>
2020-07-03Docs: improve/expand button documentation (#31093)Patrick H. Lauke1-4/+8
* Docs: improve/expand button documentation - since we're not doing the disabled cursor thing anymore anyway, remove confusing/unnecessary mention for link-based disabled buttons - make the disabled toggle example using a link actually follow the preceding advice of also having `tabindex="-1"` and `aria-disabled="true"` - tweak the link functionality callout to also still mention `aria-disabled` to reinforce the idea - tweak toggle state description (not just `<button>`s, but also links etc...so just remove mention of `<button>` there; also reinforce accessibility aspect once more) - add a new callout that cross-references checkbox-based toggles, and what the similarity/difference between them is - add a matching cross-reference callout to the checkbox-based toggle buttons page * Update link to now renamed checks-radios.md
2020-07-01Use the site param for iconsXhmikosR1-1/+1
2020-06-27Add code to method/property tables (#31130)Patrick H. Lauke10-139/+139
Co-authored-by: XhmikosR <[email protected]>
2020-06-19Change whitelist to allowlist (#31066)Patrick H. Lauke2-5/+5
Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2020-06-18Add new toasts examples (#30572)Mark Otto1-0/+50
* Add two new toasts examples - Adds a new custom content example that removes the toast header and adds a custom close icon - Adds docs for how to create your own color schemes - Adds example of additional buttons * Update toasts examples - Remove span and place aria on SVG element - Add .border-0 to color scheme example for crisper edges * Update toasts.md Co-authored-by: XhmikosR <[email protected]>
2020-06-18Fix tooltip when hovering a children element (delegateTarget) (#30928)Tanguy Krotoff1-0/+11
Co-authored-by: XhmikosR <[email protected]>
2020-06-17Docs: clarify rationale for button group on links (#31071)Patrick H. Lauke1-2/+2