1. 26 Dec, 2022 4 commits
  2. 25 Dec, 2022 1 commit
  3. 24 Dec, 2022 2 commits
  4. 21 Dec, 2022 1 commit
  5. 20 Dec, 2022 3 commits
  6. 19 Dec, 2022 1 commit
  7. 18 Dec, 2022 3 commits
  8. 09 Dec, 2022 1 commit
  9. 01 Dec, 2022 2 commits
  10. 30 Nov, 2022 1 commit
  11. 29 Nov, 2022 5 commits
    • Julien Déramond's avatar
    • Patrick H. Lauke's avatar
      Docs: rewrite/reorganise carousel docs page (#37354) · 0444d2cf
      Patrick H. Lauke authored
      
      * Instantiate/initialize all non-autoplaying carousels in docs pages
      
      * Rewrite/reorganise carousel docs page
      
      * start with static/non-autoplaying examples
      * explicitly mention that carousels currently need to be manually initialized
      * split out and explain autoplaying and the weird "autoplay after first interaction" behaviour, as well as the pause on hover/focus
      
      * Add callout about autoplaying and accessibility
      
      * Don't have the dark variant example autoplay
      
      * Add "autoplaying" to cspell custom dictionary
      
      * Tweal wording, move Page Visibility API to autoplay section
      
      * Tweak explanation for methods, add line break in js code for consistency with last code block on the page
      
      * Tweak method descriptions
      
      * Tweak headings (plural "carousels")
      
      * Move some paragraphs out of intro and into basic example, reword the nested and accessibility paragraph
      
      * Tweak warning about `.active` slide
      
      * Tweak callout wording
      
      * Further prose tweaks
      
      move the sentence about not double-initialising autoplaying carousels to the callout right at the top
      instead of talking about `data-bs...` attributes, talk about the "option" instead, as authors may be setting these not via data attributes, but at instatiation time with options in the constructor
      remove the incorrect statement about pausing when keyboard focus is in the carousel
      
      * Instantiate/initialize all non-autoplaying carousels in docs pages
      
      * Rewrite/reorganise carousel docs page
      
      * start with static/non-autoplaying examples
      * explicitly mention that carousels currently need to be manually initialized
      * split out and explain autoplaying and the weird "autoplay after first interaction" behaviour, as well as the pause on hover/focus
      
      * Add callout about autoplaying and accessibility
      
      * Don't have the dark variant example autoplay
      
      * Add "autoplaying" to cspell custom dictionary
      
      * Tweal wording, move Page Visibility API to autoplay section
      
      * Tweak explanation for methods, add line break in js code for consistency with last code block on the page
      
      * Tweak method descriptions
      
      * Tweak headings (plural "carousels")
      
      * Move some paragraphs out of intro and into basic example, reword the nested and accessibility paragraph
      
      * Tweak warning about `.active` slide
      
      * Tweak callout wording
      
      * Further prose tweaks
      
      move the sentence about not double-initialising autoplaying carousels to the callout right at the top
      instead of talking about `data-bs...` attributes, talk about the "option" instead, as authors may be setting these not via data attributes, but at instatiation time with options in the constructor
      remove the incorrect statement about pausing when keyboard focus is in the carousel
      
      * Fix relative link
      
      * Update site/assets/js/snippets.js
      
      Co-authored-by: default avatarGeoSot <geo.sotis@gmail.com>
      
      * Fix snippet.js
      
      * Tweak content organisation just a bit
      
      Co-authored-by: default avatarGeoSot <geo.sotis@gmail.com>
      Co-authored-by: default avatarJulien Déramond <juderamond@gmail.com>
      Co-authored-by: default avatarJulien Déramond <julien.deramond@orange.com>
      Co-authored-by: default avatarMark Otto <markdotto@gmail.com>
      0444d2cf
    • Patrick H. Lauke's avatar
      Rework progress bar markup and styles (#36831) · 26a3ef1b
      Patrick H. Lauke authored
      * Rework progress bar markup and styles
      
      Logically moves the various `role` and `aria-` attributes to the `.progress` element itself, leaving the `.progress-bar` to be used purely for the visual presentation. This fixes the problem #36736
      
       that in certain browser/AT combinations, zero-value/zero-width progress bars are completely ignored and not announced.
      
      For multiple/stacked progress bars, this PR introduces a new wrapper and class `.progress-stacked`, to accommodate for the fact that with the more logical structure above, we need full `.progress` elements with child `.progress-bar` elements, and can't get away with the fudge we had before of having a single `.progress` with multiple `.progress-bar`s.
      
      Note that the old markup structures still work with this change, so this could be considered a non-breaking change - though one we definitely want to highlight as it's more accessible (as it now guarantees that zero-value/zero-width progress bars, whether on their own or as part of a multi/stacked bar, are actually announced)
      
      * Add a note about progress bar change in migration guide
      
      * Add notes with old markup examples and explanation
      
      * Fix bundlewatch
      
      * Update site/content/docs/5.2/components/progress.md
      
      Co-authored-by: default avatarJulien Déramond <julien.deramond@orange.com>
      
      * Reintroduce deleted styles
      
      Turns out they're needed for correct positioning of text inside progress bar
      
      * Move changes in markup to Migrationg guide, link to that from top of progress page, rewrite some content
      
      * Fix typo in callout
      
      * Clarify "Sizing" section
      
      * Remove redundant "now"
      
      Co-authored-by: default avatarJulien Déramond <julien.deramond@orange.com>
      Co-authored-by: default avatarJulien Déramond <juderamond@gmail.com>
      Co-authored-by: default avatarMark Otto <markdotto@gmail.com>
      Co-authored-by: default avatarMark Otto <markd.otto@gmail.com>
      26a3ef1b
    • EricDunsworth's avatar
      Docs: Add black text/background examples (#37538) · 019a9774
      EricDunsworth authored
      
      These classes have existed since 5.1 but weren't previously documented.
      
      Specifically:
      
      * .text-black
      
      * .bg-black
      
      * .bg-black.bg-gradient
      
      Co-authored-by: default avatarMark Otto <markd.otto@gmail.com>
      019a9774
    • Mark Otto's avatar
      Add dark mode support (#35857) · fc3f4b67
      Mark Otto authored
      
      * Add dark mode to docs
      
      * Minor fix: missing space indentation
      
      * Minor fix: revert utilities/z-index added-in modification
      
      * Remove prev: and next: from doc because extracted to another PR
      
      * Use .bg-body-tertiary in all Utilities > Overflow examples
      
      * fix example
      
      * Fix up spacing examples
      
      * Update box-shadow Sass variables and utilities to auto-adjust to color modes
      
      * Remove unused docs class
      
      * Refactor form styles to use CSS variable for background images on .form-check and .form-switch
      
      * Fix docs selector
      
      * Rename shortcut for clarity
      
      * Heading consistency
      
      * Reintroduce missing 4th grid item in Utilities > Spacing example
      
      * Fix bundlewatch
      
      * .bd-callout* rendering is OK so removing comments in the code
      
      * Update scss/_utilities.scss
      
      Co-authored-by: default avatarJulien Déramond <julien.deramond@orange.com>
      
      * Fix gutters example styling
      
      * Fix text colors on background utils docs
      
      * redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
      
      * fix some color utils examples
      
      * Deprecate mixin notice
      
      * Deprecate notice for list-group-item-variant() mixin
      
      * Revamp new link CSS vars
      
      * Use map-keys in some each Sass files
      
      * Remove list-group-item-variant mixin ref in sass loop desc
      
      * Display CSS vars scoped to our built-in dark mode
      
      * Revert previous commit
      
      * Fix list group variant link
      
      * Fix typo
      
      * Remove imports of alert/list-group mixins in scss/_mixins.scss
      
      * Small formatting + comments removal in scss/_content.scss
      
      * Fix alert links colors
      
      * fix dropdown border-radius mixin
      
      * fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
      
      * fix colors on docs navbar for dark mode
      
      * remove two changes
      
      * missing ref
      
      * another link underline fix, just use sass vars for link decoration for now
      
      * missing color bg docs, plus move dropdown override to scss
      
      * more changes from review
      
      * fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
      
      * Few fixes around type
      
      - Restored CSS variable for color on headings, this time with a fallback value
      - In conjunction, restored and wrapped the default CSS var with a null value check
      - Split headings and paragraphs docs in Reboot, elaborated on them
      
      * Restyle custom details > summary element in docs
      
      * Rewrite some migration docs
      
      * fix form checks
      
      * Fix up some navbar styling, tweak docs callout
      
      * Fix select images, mostly for validation styling
      
      * Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
      
      * Update site/content/docs/5.2/components/scrollspy.md
      
      Co-authored-by: default avatarJulien Déramond <julien.deramond@orange.com>
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarJulien Déramond <julien.deramond@orange.com>
      
      * mention form control css vars in migration guide
      
      * Tweak grid and flex docs background examples
      
      * clarify some docs
      
      * fix some more things
      
      Co-authored-by: default avatarJulien Déramond <juderamond@gmail.com>
      Co-authored-by: default avatarJulien Déramond <julien.deramond@orange.com>
      fc3f4b67
  12. 25 Nov, 2022 1 commit
  13. 21 Nov, 2022 1 commit
  14. 17 Nov, 2022 1 commit
  15. 16 Nov, 2022 1 commit
  16. 14 Nov, 2022 4 commits
  17. 12 Nov, 2022 2 commits
  18. 31 Oct, 2022 1 commit
  19. 30 Oct, 2022 5 commits