From a7e01146e099db6c24fd91bedcd87d57502e71b3 Mon Sep 17 00:00:00 2001
From: "louismaxime.piton"
Date: Wed, 8 Mar 2023 16:53:33 +0100
Subject: [PATCH 001/225] Remove useless import
---
scss/bootstrap-grid.scss | 1 -
1 file changed, 1 deletion(-)
diff --git a/scss/bootstrap-grid.scss b/scss/bootstrap-grid.scss
index 0ea62372e2..52bd577e3a 100644
--- a/scss/bootstrap-grid.scss
+++ b/scss/bootstrap-grid.scss
@@ -8,7 +8,6 @@ $include-column-box-sizing: true !default;
@import "variables-dark";
@import "maps";
-@import "mixins/lists";
@import "mixins/breakpoints";
@import "mixins/container";
@import "mixins/grid";
From 1f7e7ebd1033aa50ba39fdd66b2fb48b8540a05d Mon Sep 17 00:00:00 2001
From: "louismaxime.piton"
Date: Wed, 8 Mar 2023 14:51:49 +0100
Subject: [PATCH 002/225] Better use the CSS
---
site/assets/scss/_scrolling.scss | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/site/assets/scss/_scrolling.scss b/site/assets/scss/_scrolling.scss
index dcd9f3d395..84db8809a7 100644
--- a/site/assets/scss/_scrolling.scss
+++ b/site/assets/scss/_scrolling.scss
@@ -1,5 +1,10 @@
// When navigating with the keyboard, prevent focus from landing behind the sticky header
-main *:focus {
- scroll-margin-top: 100px;
+main {
+ a,
+ button,
+ [tabindex="0"] {
+ scroll-margin-top: 100px;
+ scroll-margin-bottom: 100px;
+ }
}
From 8e27427fd971c1fff25890e9614f4a44751d277c Mon Sep 17 00:00:00 2001
From: "louismaxime.piton"
Date: Wed, 8 Mar 2023 12:34:10 +0100
Subject: [PATCH 003/225] Improve `scss-docs` link
---
site/layouts/shortcodes/scss-docs.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/site/layouts/shortcodes/scss-docs.html b/site/layouts/shortcodes/scss-docs.html
index 919a951ac7..2bfdf8de5e 100644
--- a/site/layouts/shortcodes/scss-docs.html
+++ b/site/layouts/shortcodes/scss-docs.html
@@ -41,7 +41,7 @@
@@ -67,7 +67,7 @@ In the example below, we take a typical card component and recreate it with plac
-
+
```
@@ -83,7 +83,7 @@ We apply additional styling to `.btn`s via `::before` to ensure the `height` is
-
+
{{< /example >}}
{{< callout info >}}
From 2a9308b85520d4c55d0015bd6ef7a0fcf051a0ed Mon Sep 17 00:00:00 2001
From: "louismaxime.piton"
Date: Wed, 8 Mar 2023 12:12:13 +0100
Subject: [PATCH 005/225] Update workflow
---
.github/workflows/docs.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index bdeae6043d..4dcc794bb5 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -41,6 +41,9 @@ jobs:
- name: Validate HTML
run: npm run docs-vnu
+ - name: Check for unused templates
+ run: npm run docs-check-unused-templates
+
- name: Run linkinator
uses: JustinBeckwith/linkinator-action@v1
with:
From 24130a4e6361fa72f7d1062b5a2fef8ea3e31e17 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Julien=20D=C3=A9ramond?=
Date: Fri, 10 Mar 2023 18:19:21 +0100
Subject: [PATCH 006/225] Fix typo in `utilities/colors.md` (#38194)
---
site/content/docs/5.3/utilities/colors.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/site/content/docs/5.3/utilities/colors.md b/site/content/docs/5.3/utilities/colors.md
index 3aa551550d..e132a2f113 100644
--- a/site/content/docs/5.3/utilities/colors.md
+++ b/site/content/docs/5.3/utilities/colors.md
@@ -42,7 +42,7 @@ Color utilities like `.text-*` that generated from our original `$theme-colors`
{{< /callout >}}
{{< callout warning >}}
-**Deprecation:** With the addition of the expanded theme colors and variables, the `.text-muted` utility has been deprecated as of v5.3.0. Its default value has also has been reassigned to the new `--bs-secondary-color` CSS variable to better support color modes. It will be removed in v6.0.0.
+**Deprecation:** With the addition of the expanded theme colors and variables, the `.text-muted` utility has been deprecated as of v5.3.0. Its default value has also been reassigned to the new `--bs-secondary-color` CSS variable to better support color modes. It will be removed in v6.0.0.
{{< /callout >}}
## Opacity
From 25579aad7c6db5423524bc6c41b2b070d547054c Mon Sep 17 00:00:00 2001
From: Louis-Maxime Piton
Date: Fri, 10 Mar 2023 18:19:58 +0100
Subject: [PATCH 007/225] Fix (#38191)
Co-authored-by: Patrick H. Lauke
---
site/content/docs/5.3/components/scrollspy.md | 2 +-
site/layouts/_default/docs.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/site/content/docs/5.3/components/scrollspy.md b/site/content/docs/5.3/components/scrollspy.md
index 4bb5978f3a..d1abf75e3e 100644
--- a/site/content/docs/5.3/components/scrollspy.md
+++ b/site/content/docs/5.3/components/scrollspy.md
@@ -12,7 +12,7 @@ Scrollspy toggles the `.active` class on anchor (``) elements when the elemen
- To start, scrollspy requires two things: a navigation, list group, or a simple set of links, plus a scrollable container. The scrollable container can be the `` or a custom element with a set `height` and `overflow-y: scroll`.
-- On the scrollable container, add `data-bs-spy="scroll"` and `data-bs-target="#navId"` where `navId` is the unique `id` of the associated navigation. Be sure to also include a `tabindex="0"` to ensure keyboard access.
+- On the scrollable container, add `data-bs-spy="scroll"` and `data-bs-target="#navId"` where `navId` is the unique `id` of the associated navigation. If there is no focusable element inside the element, be sure to also include a `tabindex="0"` to ensure keyboard access.
- As you scroll the "spied" container, an `.active` class is added and removed from anchor links within the associated navigation. Links must have resolvable `id` targets, otherwise they're ignored. For example, a `home` must correspond to something in the DOM like ``
diff --git a/site/layouts/_default/docs.html b/site/layouts/_default/docs.html
index ed23045a6d..cbf06a554f 100644
--- a/site/layouts/_default/docs.html
+++ b/site/layouts/_default/docs.html
@@ -1,4 +1,4 @@
-{{ define "body_override" }}{{ end }}
+{{ define "body_override" }}{{ end }}
{{ define "main" }}