aboutsummaryrefslogtreecommitdiff
path: root/site
AgeCommit message (Collapse)AuthorFilesLines
2021-09-28Remove extra spaces in Markdown files (#35047)Julien Déramond1-10/+10
2021-09-15docs: backport layouts updates from the main branchXhmikosR9-30/+34
2021-09-15docs-navbar: use the config variable and update to 5.1XhmikosR1-2/+2
2021-09-14Update description of active buttons (#34966)Mark Otto1-1/+1
2021-09-09v4: Disabled link cleanup (#34924)Patrick H. Lauke16-54/+58
manual backport of #34886 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
2021-09-08Move RFS version in config.yml and update it.XhmikosR1-1/+1
2021-09-08Replace Sass division with multiplication and custom divide() functionMark Otto3-6/+6
Fixes #34353. Co-Authored-By: Slaven Tomac <[email protected]>
2021-07-21Update devDependenciesXhmikosR1-1/+14
* @babel/cli ^7.14.3 → ^7.14.8 * @babel/core ^7.14.3 → ^7.14.8 * @babel/preset-env ^7.14.2 → ^7.14.8 * @rollup/plugin-commonjs ^19.0.0 → ^19.0.1 * @rollup/plugin-node-resolve ^13.0.0 → ^13.0.2 * autoprefixer ^10.2.5 → ^10.3.1 * eslint ^7.26.0 → ^7.31.0 * eslint-config-xo ^0.36.0 → ^0.37.0 * eslint-plugin-import ^2.23.2 → ^2.23.4 * eslint-plugin-unicorn ^31.0.0 → ^34.0.1 * globby ^11.0.3 → ^11.0.4 * hugo-bin ^0.71.1 → ^0.73.0 * karma ^6.3.2 → ^6.3.4 * karma-firefox-launcher ^2.1.0 → ^2.1.1 * linkinator ^2.13.6 → ^2.14.0 * nodemon ^2.0.7 → ^2.0.12 * node-sass ^6.0.0 → ^6.0.1 * postcss ^8.3.0 → ^8.3.5 * qunit ^2.15.0 → ^2.16.0 * rollup ^2.48.0 → ^2.53.3 * stylelint-config-twbs-bootstrap ^2.2.0 → ^2.2.3 * vnu-jar 21.4.9 → 21.6.11
2021-07-21Backport #34336XhmikosR1-2/+0
Remove unneeded `.text-white-50` CSS rule This is already part of Bootstrap 4.6 and 5.0.
2021-07-21Update Hugo config and sitemap.xml (#34074)XhmikosR1-3/+5
2021-06-09Fix repetition in the description.Christian Oliff1-1/+1
2021-06-02docs(color): wrong secondary hex code (#34159)Gaël Poupard1-1/+1
Closes #34146 --- Not sure what happened but indeed, [our current `$secondary` is not what's shown in docs](https://github.com/twbs/bootstrap/blob/c2f949c1fdad09e30793b533e5502808c5e2d423/scss/_variables.scss#L68).
2021-05-21Update devDependenciesXhmikosR1-0/+5
* @babel/cli ^7.13.14 → ^7.14.3 * @babel/core ^7.14.0 → ^7.14.3 * @babel/preset-env ^7.14.1 → ^7.14.2 * @rollup/plugin-commonjs ^18.0.0 → ^19.0.0 * @rollup/plugin-node-resolve ^11.2.1 → ^13.0.0 * clean-css-cli ^5.2.2 → ^5.3.0 * eslint ^7.23.0 → ^7.26.0 * eslint-config-xo ^0.35.0 → ^0.36.0 * eslint-plugin-import ^2.22.1 → ^2.23.2 * eslint-plugin-unicorn ^29.0.0 → ^31.0.0 * glob ^7.1.6 → ^7.1.7 * hugo-bin ^0.70.0 → ^0.71.1 * node-sass ^5.0.0 → ^6.0.0 * postcss ^8.2.9 → ^8.3.0 * qunit ^2.14.1 → ^2.15.0 * rollup ^2.44.0 → ^2.48.0 * stylelint ^13.12.0 → ^13.13.1 * stylelint-config-twbs-bootstrap ^2.1.0 → ^2.2.0 * vnu-jar 21.2.5 → 21.4.9
2021-05-21Replace freenode with libera IRC server (#34050)midzer1-1/+1
2021-05-21Update anchor.js to v4.3.1. (#33668)XhmikosR1-4/+4
2021-05-21docs: update clipboard.js to v2.0.8 (#33583)XhmikosR1-3/+3
2021-04-30Backport #33782 to v4Mark Otto1-15/+16
2021-04-15Remove aria-haspopup from dropdowns (#33624)Patrick H. Lauke12-72/+72
`aria-haspopup="true"` is really intended to signal that an ARIA `menu` will be opened on activation. as a result, some assistive technologies will announce controls with `aria-haspopup="true"` as a menu or menu item (e.g. JAWS and NVDA). In addition, `aria-haspopup` seems to trigger a bug in Edge/Narrator where the `aria-expanded` state is not correctly announced at the moment when `aria-haspopup` is present. This now makes the dropdown button more like a generic disclosure widget control - see also https://www.w3.org/TR/wai-aria-practices-1.2/examples/disclosure/disclosure-navigation.html01
2021-04-06fix typo in docs (#33562)Stefano Bartoletti1-1/+1
2021-03-18Manually backport #33386 to v4 to properly document Sass default variablesMark Otto1-11/+14
2021-03-11Manual backport of #32627 (#33165)Patrick H. Lauke2-30/+30
Carousel: use buttons, not links, for prev/next controls
2021-02-17Backport #32940XhmikosR1-1/+1
* Update the default value for $enable-deprecation-messages As seen in the https://github.com/twbs/bootstrap/blob/v4-dev/scss/_variables.scss, the `$enable-deprecation-messages` variable is set to `true` by default.
2021-02-17Add a callout for the sanitizer in popovers and tooltips (#32272)Patrick H. Lauke3-2/+11
* Add a callout for the sanitizer in popovers and tooltips * Add second reference to sanitizer in the options Co-authored-by: XhmikosR <[email protected]>
2021-02-15Simplify bugify.html (#33063)XhmikosR1-8/+4
* use `in` instead of `strings.Contains` since the latter is not documented * use `cond`
2021-01-27Update devDependencies (#32852)XhmikosR1-1/+1
Pin karma and linkinator due to failures
2021-01-19Release v4.6.0. (#32726)v4.6.0XhmikosR187-16/+17
* Bump version to v4.6.0. * Dist
2021-01-19Backport #32037 (#32833)XhmikosR1-0/+45
* Backport #32037 Add `.navbar-nav-scroll` for vertical scrolling of navbar content * drop the css var for a Sass css Co-authored-by: Mark Otto <[email protected]>
2021-01-19Backport #32759 (#32832)Mark Otto1-0/+14
Mention CSP and embedded SVGs in v4 docs
2021-01-18Backport #32760 (#32827)XhmikosR2-1/+50
Add a live toast example to the docs
2021-01-17Docs: Sass implementation and rounding precision (#32791)voltaek3-4/+12
* Backport of changes to v5 docs that updated and clarified information about the Sass compiler used and the minimum rounding precision we recommend with it. Co-authored-by: Mark Otto <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2021-01-15Document some basic code conventions for us (#32778)Mark Otto1-0/+8
Co-authored-by: XhmikosR <[email protected]>
2021-01-15Backport #32795 (#32809)Mark Otto4-3/+30
* Clarify Sass import and customize docs for how to modify variable defaults * Add an npm starter project callout to a few pages
2021-01-14Remove role="button" from CTA links in carousel example (#32789)Patrick H. Lauke1-6/+6
They're links, acting as links. Just because they're styled as buttons visually (as is often the case for "Call to action" (CTA) links) doesn't mean they need/get `role="button"`
2021-01-13Mention stretched-link constraints with table elements (#32761)Mark Otto1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2021-01-08docs: add v5.0 in versions (#32728)XhmikosR2-0/+8
2021-01-08Update devDependenciesXhmikosR1-2/+2
* @babel/cli ^7.12.8 → ^7.12.10 * @babel/core ^7.12.8 → ^7.12.10 * @babel/preset-env ^7.12.7 → ^7.12.11 * @rollup/plugin-babel ^5.2.1 → ^5.2.2 * @rollup/plugin-commonjs ^16.0.0 → ^17.0.0 * @rollup/plugin-node-resolve ^10.0.0 → ^11.0.1 * autoprefixer ^10.0.2 → ^10.2.1 * cross-env ^7.0.2 → ^7.0.3 * eslint ^7.14.0 → ^7.17.0 * eslint-config-xo ^0.33.1 → ^0.34.0 * eslint-plugin-unicorn ^23.0.0 → ^25.0.1 * find-unused-sass-variables ^3.0.0 → ^3.1.0 * hugo-bin ^0.66.2 → ^0.68.0 * linkinator ^2.2.2 → ^2.11.2 * nodemon ^2.0.6 → ^2.0.7 * postcss ^8.1.10 → ^8.2.3 * postcss-cli ^8.3.0 → ^8.3.1 * qunit ^2.12.0 → ^2.13.0 * rollup ^2.33.3 → ^2.36.1
2021-01-08Backport #32632XhmikosR1-1/+1
Docs: Tweak the wording for collapse to indicate button is preferred/more semantic
2021-01-08Backport #32685XhmikosR1-1/+1
Clarify the `$enable-shadows` option in our docs
2021-01-08Backport #32713XhmikosR2-4/+4
Bump copyright year to 2021
2021-01-08Remove incorrect mention of dropdowns for dynamic tab behavior (#32634)Patrick H. Lauke1-1/+1
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 <[email protected]>
2021-01-08Tooltips: add missing space (#32529)XhmikosR1-1/+1
2021-01-08Backport #32489XhmikosR1-22/+2
Fix popover docs example
2021-01-08Docs: style clipboard button on `:focus`, not just `:hover` (#32461)Patrick H. Lauke1-1/+2
Co-authored-by: XhmikosR <[email protected]>
2021-01-08Remove duplicated 'follow Bootstrap on Twitter' link in Community section ↵Christian Oliff1-1/+0
(#32399) Co-authored-by: XhmikosR <[email protected]>
2021-01-08docs: Add Russian translation (#32253)Aleksandr Gorbatov1-0/+5
2021-01-05v4: Add an actual `data-touch="false"` example in the carousel docs (#32639)Patrick H. Lauke1-5/+33
* v4: Add an actual `data-touch="false"` example in the carousel docs Backport of https://github.com/twbs/bootstrap/pull/32638 * Remove data-ride from example carousel * Correct attribute table explanation and remove slide class from example i believe the correct option is `slide` here, not `ride`. the `if "carousel"` bit was rather unclear/confusing * Edits... sorry, trying to make sense of our quirky carousel stuff, it seems some illogical things have been there ever since * Add data-interval to suppress autoplay * Tweak carousel options formatting * Update site/content/docs/4.5/components/carousel.md Co-authored-by: Mark Otto <[email protected]> * Tweak language mostly based on @mdo's suggestion, but also adds the word "attribute" after `data-ride` for better flow/legibility Co-authored-by: Mark Otto <[email protected]>
2020-12-15v4 backport: Replace Lorem Ipsum placeholder text with more representative ↵Patrick H. Lauke19-335/+296
(or at least english language) text (#32462) Backport and expansion (for v4) of #32246 and #32479
2020-12-15Add mention of the bs-custom-file-input plugin needed for the custom file ↵Patrick H. Lauke1-0/+4
input (#32457)
2020-12-10Add hex values to colors (#32411)Mark Otto1-3/+12
2020-12-10Revert colors.yml accidental changes (#32206)XhmikosR2-5/+5
* Revert colors.yml accidental changes * Bring colors data files up to par with the vars