aboutsummaryrefslogtreecommitdiff
path: root/site
AgeCommit message (Collapse)AuthorFilesLines
2021-09-08Convert navbar to CSS variablesMark Otto3-36/+55
2021-09-08fix utilities typo (#34923)Christian Oliff1-1/+1
2021-09-08docs: Update RFS version & move "v" prefix to config.yml (#34918)XhmikosR1-3/+3
2021-09-08fix predefined typo (#34922)Christian Oliff2-3/+3
2021-09-08Fix JavaScript typo (#34921)Christian Oliff1-1/+1
2021-09-07Release v5.1.1 (#34869)v5.1.1XhmikosR2-2/+2
* Prepare v5.1.1. * Dist
2021-09-07Typo fixes (#34914)XhmikosR15-15/+15
2021-09-06Disabled link cleanup (#34886)Patrick H. Lauke19-69/+76
* 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 <[email protected]> Co-authored-by: Mark Otto <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2021-09-06docs: make use of the `.Site.Params.docs_version` variable (#34913)Julien Déramond1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2021-09-06Docs: Add Callout to Stacks Helper page about limited flexbox gap support ↵Christian Oliff1-0/+4
(#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 <[email protected]>
2021-09-04Fix a11y issues in `.hstack` example and placeholder 'How it works' example ↵Julien Déramond2-2/+2
(#34892)
2021-09-03docs: add `$enable-smooth-scroll` to Sass options page (#34877)Alan Oliveira1-0/+1
2021-09-02Include root.scss in all dist builds (#34773)Mark Otto1-0/+6
* Remove the font-family-* override vars from Reboot build * Update Reboot docs to mention CSS variables
2021-08-31Use `path.Join` when joining pathsXhmikosR4-4/+4
2021-08-31example: remove unneeded escape charactersXhmikosR1-1/+1
2021-08-31Minor shortcode tweaks and consistency changesXhmikosR7-33/+37
2021-08-31Remove `.html` suffix from shortcodes calls.XhmikosR2-2/+2
It's the default.
2021-08-31Tweak scss-docs shortcodeXhmikosR1-18/+28
2021-08-30Enhance Alerts > Live Example section (#34769)Julien Déramond1-12/+2
2021-08-30clarify importing all vs specific plugins (#34840)Marius A1-3/+7
2021-08-21Progress page: remove toggle animation button (#34787)XhmikosR2-22/+2
We don't use the same approach with a button on the Placeholders page.
2021-08-20docs: fix typos in approach and placeholders (#34781)SaintMalik2-2/+2
2021-08-18dashboard-rtl: use the same scripts as the dashboard example (#34766)XhmikosR1-4/+4
2021-08-18Fix typo in placeholder docs (#34752)Kyle Tsang1-1/+1
2021-08-10Fix modal when is triggered by `bs-toggle`, to hide other open instances ↵GeoSot1-1/+1
(#34701)
2021-08-05docs: Fix placeholders typo (#34686)Christian Oliff1-1/+1
2021-08-04Prepare v5.1.0. (#34674)v5.1.0XhmikosR271-34/+35
2021-08-03Document the utility API's new css-var booleanMark Otto4-41/+151
Co-Authored-By: Gaël Poupard <[email protected]>
2021-08-03Add and document additional :root CSS variablesMark Otto2-1/+25
- 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-03Update color and background-color utilitiesMark Otto2-0/+95
- Adds new functions to generate additional Sass maps - Adds new root variables for rgb() versions of our theme colors, plus a few extras - Adds ability to change the alpha transparency of text color and background color utilities with new utilities, inline styles, or local CSS var - Updates documentation for color and background-color utilities pages - Deprecates .text-black-50 and .text-white-50 since those (and additional transparency levels) can be generated on the fly Change approach slightly to prevent cascade
2021-08-03Improved docs describing media-breakpoint-down breakpoints (#34637)Sean Hinton1-8/+8
Co-authored-by: XhmikosR <[email protected]>
2021-08-03Add new placeholder component (#31859)Jaume Sala3-0/+156
Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Jaume Sala <[email protected]> Co-authored-by: Mark Otto <[email protected]> Co-authored-by: Patrick H. Lauke <[email protected]>
2021-07-30Add missing newlines around fenced codeblocks (#34630)XhmikosR2-0/+2
2021-07-30Enable a few eslint-config-xo rules (#34620)XhmikosR1-1/+0
* unicorn/prefer-dom-node-append * unicorn/prefer-dom-node-remove
2021-07-29Collapse page: add a link to the accordion page (#34605)XhmikosR1-1/+1
2021-07-29Revert "Allow individual grid classes to override `.row-cols` (#33621)" (#34612)Mark Otto1-21/+2
This reverts commit f2b47e1c8a263f4406255991af9fd55984c22a0e.
2021-07-28Use a streamlined way to trigger component dismiss (#34170)GeoSot5-21/+31
* use a streamlined way to trigger component dismiss * add documentation Co-authored-by: XhmikosR <[email protected]>
2021-07-28Correct Toast docs (#34604)Mark Young1-2/+2
Removes incorrect references to scrollspy in Toasts documentation
2021-07-27Document change to hr in v5 (#34574)Mark Otto1-0/+2
Co-authored-by: XhmikosR <[email protected]>
2021-07-27Rename Build Tools page to Contribute (#34578)Mark Otto4-8/+9
Co-authored-by: XhmikosR <[email protected]>
2021-07-26Make note of _root.scss being requiredMark Otto1-6/+6
2021-07-26Clean up a couple CSS Grid issues (#34572)Mark Otto1-1/+1
- Moves the make-cssgrid() mixin to the grid mixins stylesheet - Updates the g-start-* classes to start at 1 instead of 0 as 0 is an invalid value (fixes #34399) Co-authored-by: XhmikosR <[email protected]>
2021-07-26Update the custom Sass import docs (#34573)Mark Otto1-2/+7
Now includes mentino of the two utilities stylesheets, plus how and why to include the API stylesheet last Fixes #34397 Co-authored-by: XhmikosR <[email protected]>
2021-07-26Update nav-tab.mdJitan Gupta1-4/+4
Updated the from anchor tag to button in sample examples
2021-07-25docs: minor image compression improvements (#34557)XhmikosR10-0/+0
Before: 121 KB (124.549 bytes) After: 121 KB (124.367 bytes)
2021-07-22docs: Add Github Octicons to the list (#34526)Ben Koshy1-2/+4
Co-authored-by: Mark Otto <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2021-07-22Toasts: Change showing timings and classes to keep toast `display:none` by ↵GeoSot1-3/+7
default (#33610)
2021-07-21Update devDependencies (#34552)XhmikosR1-0/+13
* @babel/cli ^7.14.5 → ^7.14.8 * @babel/core ^7.14.6 → ^7.14.8 * @babel/preset-env ^7.14.7 → ^7.14.8 * eslint-config-xo ^0.36.0 → ^0.37.0 * eslint-plugin-unicorn ^31.0.0 → ^34.0.1 * hugo-bin ^0.73.0 → ^0.74.0
2021-07-19modal: change `data-dismiss` so that it can be outside of a modal using ↵GeoSot1-0/+18
`bs-target` (#33403) * change data-dismiss, so can be outside modal, using a bs-target * Update site/content/docs/5.0/components/modal.md Co-authored-by: Gaël Poupard <[email protected]>
2021-07-17Add new offcanvas support to navbarscraftwerk1-0/+64
Co-Authored-By: craftwerk <[email protected]>