Skip to content

Commit 4f48e24

Browse files
committed
docs: update content
1 parent 5eeeca4 commit 4f48e24

File tree

8 files changed

+9
-40
lines changed

8 files changed

+9
-40
lines changed

docs/content/components/alerts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ Alerts use local CSS variables on `.alert` for enhanced real-time customization.
226226

227227
### SASS mixin
228228

229-
{{< deprecated-in "5.0.0" >}}
229+
{{< deprecated-in "4.3.0" >}}
230230

231231
Used in combination with `$alert-variants` to create contextual modifier classes for our alerts.
232232

docs/content/components/buttons.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ You can combine button with our [CoreUI Icons](https://icons.coreui.io/).
5454
{{< example >}}
5555
{{< buttons.inline >}}
5656
{{- range (index $.Site.Data "theme-colors") }}
57-
<button type="button" class="btn btn-{{ .name }}"><span class="cil-contrast me-2"></span> {{ .name | title }}</button>
57+
<button type="button" class="btn btn-{{ .name }}"><span class="cil-contrast"></span> {{ .name | title }}</button>
5858
{{- end -}}
5959
{{< /buttons.inline >}}
6060

docs/content/components/list-group.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ List groups use local CSS variables on `.list-group` for enhanced real-time cust
487487

488488
### SASS mixins
489489

490-
{{< deprecated-in "5.0.0" >}}
490+
{{< deprecated-in "4.3.0" >}}
491491

492492
Used in combination with `$theme-colors` to generate the [contextual variant classes](#contextual-classes) for `.list-group-item`s.
493493

docs/content/components/offcanvas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Heads up! Dark variants for components were deprecated in v5.3.0 with the introd
152152
<div class="offcanvas offcanvas-start show text-bg-dark" tabindex="-1" id="offcanvasDark" aria-labelledby="offcanvasDarkLabel">
153153
<div class="offcanvas-header">
154154
<h5 class="offcanvas-title" id="offcanvasDarkLabel">Offcanvas</h5>
155-
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="offcanvasDark" aria-label="Close"></button>
155+
<button type="button" class="btn-close btn-close-white" data-coreui-dismiss="offcanvasDark" aria-label="Close"></button>
156156
</div>
157157
<div class="offcanvas-body">
158158
<p>Place offcanvas content here.</p>

docs/content/customize/color-modes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,9 @@ $theme-colors-border-subtle-dark: map-merge($theme-colors-border-subtle-dark, $c
237237
// etc
238238
```
239239

240-
## CSS
240+
## Customizing
241241

242-
### Variables
242+
### CSS variables
243243

244244
Dozens of root level CSS variables are repeated as overrides for dark mode. These are scoped to the color mode selector, which defaults to `data-coreui-theme` but [can be configured](#building-with-sass) to use a `prefers-color-scheme` media query. Use these variables as a guideline for generating your own new color modes.
245245

docs/content/customize/css-variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ a {
7272

7373
## Focus variables
7474

75-
{{< added-in "5.0.0" >}}
75+
{{< added-in "4.3.0" >}}
7676

7777
Bootstrap provides custom `:focus` styles using a combination of Sass and CSS variables that can be optionally added to specific components and elements. We do not yet globally override all `:focus` styles.
7878

docs/content/utilities/api.md

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -586,34 +586,3 @@ $utilities: map-merge(
586586

587587
@import "@coreui/coreui/scss/utilities/api";
588588
```
589-
590-
<!---
591-
TODO: add in v5
592-
#### Remove utility in RTL
593-
594-
Some edge cases make [RTL styling difficult](https://rtlstyling.com/posts/rtl-styling#common-things-that-might-not-work-for-rtl), such as line breaks in Arabic. Thus utilities can be dropped from RTL output by setting the `rtl` option to `false`:
595-
596-
```scss
597-
$utilities: (
598-
"word-wrap": (
599-
property: word-wrap word-break,
600-
class: text,
601-
values: (break: break-word),
602-
rtl: false
603-
),
604-
);
605-
```
606-
607-
Output:
608-
609-
```css
610-
/* rtl:begin:remove */
611-
.text-break {
612-
word-wrap: break-word !important;
613-
word-break: break-word !important;
614-
}
615-
/* rtl:end:remove */
616-
```
617-
618-
This doesn't output anything in RTL, thanks to [the RTLCSS `remove` control directive](https://rtlcss.com/learn/usage-guide/control-directives/#remove).
619-
-->

docs/content/utilities/borders.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@ Use the scaling classes for larger or smaller rounded corners. Sizes range from
178178
{{< placeholder width="75" height="75" class="rounded-5" title="Example extra large rounded image" >}}
179179
{{< /example >}}
180180

181-
## CSS
181+
## Customizing
182182

183-
### Variables
183+
### CSS variables
184184

185185
{{< scss-docs name="root-border-var" file="scss/_root.scss" >}}
186186

0 commit comments

Comments
 (0)