Skip to content

Commit c66f29b

Browse files
committed
2 parents fbcc546 + b74ff6a commit c66f29b

File tree

11 files changed

+186
-164
lines changed

11 files changed

+186
-164
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
<h3 align="center">CoreUI</h3>
88

99
<p align="center">
10-
Open Source UI Components Library built on top of Bootstrap 5.
10+
An advanced UI library based on Bootstrap 5 – CoreUI extends Bootstrap with PRO components, and ready-to-use admin templates for React, Angular, Vue, and more.
1111
<br>
12-
<a href="https://coreui.io/docs/"><strong>Explore CoreUI docs »</strong></a>
12+
<a href="https://coreui.io/bootstrap/docs/"><strong>Explore CoreUI docs »</strong></a>
1313
<br>
1414
<br>
1515
<a href="https://github.com/coreui/coreui/issues/new?template=bug_report.md">Report bug</a>
@@ -84,15 +84,18 @@ Read the [Getting started page](https://coreui.io/docs/getting-started/introduct
8484
- [Bootstrap Navbar](https://coreui.io/bootstrap/docs/components/navbar/)
8585
- [Bootstrap Offcanvas](https://coreui.io/bootstrap/docs/components/offcanvas/)
8686
- [Bootstrap Pagination](https://coreui.io/bootstrap/docs/components/pagination/)
87+
- [Bootstrap Password Input](https://coreui.io/bootstrap/docs/forms/password-input/) **PRO**
8788
- [Bootstrap Placeholder](https://coreui.io/bootstrap/docs/components/placeholder/)
8889
- [Bootstrap Popover](https://coreui.io/bootstrap/docs/components/popover/)
8990
- [Bootstrap Progress](https://coreui.io/bootstrap/docs/components/progress/)
9091
- [Bootstrap Radio](https://coreui.io/bootstrap/docs/forms/radio/)
9192
- [Bootstrap Range](https://coreui.io/bootstrap/docs/forms/range/)
93+
- [Bootstrap Range Slider](https://coreui.io/bootstrap/docs/forms/range-slider/) **PRO**
9294
- [Bootstrap Rating](https://coreui.io/bootstrap/docs/forms/rating/) **PRO**
9395
- [Bootstrap Select](https://coreui.io/bootstrap/docs/forms/select/)
9496
- [Bootstrap Sidebar](https://coreui.io/bootstrap/docs/components/sidebar/)
9597
- [Bootstrap Spinner](https://coreui.io/bootstrap/docs/components/spinner/)
98+
- [Bootstrap Stepper](https://coreui.io/bootstrap/docs/forms/stepper/) **PRO**
9699
- [Bootstrap Switch](https://coreui.io/bootstrap/docs/forms/switch/)
97100
- [Bootstrap Table](https://coreui.io/bootstrap/docs/content/tables/)
98101
- [Bootstrap Textarea](https://coreui.io/bootstrap/docs/forms/textarea/)

docs/content/components/alerts.md

Lines changed: 72 additions & 52 deletions
Large diffs are not rendered by default.

docs/content/components/tooltips.md

Lines changed: 98 additions & 100 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#### Asynchronous methods and transitions
22

3-
All API methods are **asynchronous** and start a **transition**. They return to the caller as soon as the transition is started but **before it ends**. In addition, a method call on a **transitioning component will be ignored**.
3+
All our API methods are **asynchronous** and initiate a **transition**. They return to the caller as soon as the transition begins but **before it concludes**. Furthermore, a method call on a **transitioning component will be ignored**.
44

5-
[See our JavaScript documentation for more information](/getting-started/javascript/#asynchronous-functions-and-transitions).
5+
[Refer to our JavaScript documentation for further details](/getting-started/javascript/#asynchronous-functions-and-transitions).
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
The animation effect of this component is dependent on the `prefers-reduced-motion` media query. See the [reduced motion section of our accessibility documentation](/getting-started/accessibility/#reduced-motion).
1+
This component's animation effect relies on the `prefers-reduced-motion` media query. For more information, refer to the [reduced motion section of our accessibility documentation](/getting-started/accessibility/#reduced-motion).
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
By default, this component uses the built-in content sanitizer, which strips out any HTML elements that are not explicitly allowed. See the [sanitizer section in our JavaScript documentation](/getting-started/javascript/#sanitizer) for more details.
1+
By default, this component utilizes the built-in content sanitizer, which removes any HTML elements that are not explicitly allowed. Refer to the [sanitizer section in our JavaScript documentation](/getting-started/javascript/#sanitizer) for more details.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
##### Conveying meaning to assistive technologies
22

3-
Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies – such as screen readers. Ensure that information denoted by the color is either obvious from the content itself (e.g. the visible text), or is included through alternative means, such as additional text hidden with the `.visually-hidden` class.
3+
Relying on color to convey meaning creates a visual cue that assistive technologies, like screen readers, cannot perceive. It's essential that any information represented by color is either apparent from the content itself (e.g., the visible text) or supplemented by alternative methods, such as extra text using the `.visually-hidden` class.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Feel free to use either `title` or `data-coreui-title` in your HTML. When `title` is used, Popper will replace it automatically with `data-coreui-title` when the element is rendered.
1+
You can choose to use either `title` or `data-coreui-title` in your HTML. If you opt for `title,` Popper will automatically change it to `data-coreui-title` upon rendering the element.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
As options can be passed via data attributes or JavaScript, you can append an option name to `data-coreui-`, as in `data-coreui-animation="{value}"`. Make sure to change the case type of the option name from "_camelCase_" to "_kebab-case_" when passing the options via data attributes. For example, use `data-coreui-custom-class="beautifier"` instead of `data-coreui-customClass="beautifier"`.
1+
Options can be passed using data attributes or JavaScript. To do this, append an option name to `data-coreui-`, such as `data-coreui-animation="{value}"`. Remember to convert the case of the option name from "_camelCase_" to "_kebab-case_" when using data attributes. For instance, you should write `data-coreui-custom-class="beautifier"` rather than `data-coreui-customClass="beautifier"`.
22

3-
As of CoreUI 4.2.0, all components support an **experimental** reserved data attribute `data-coreui-config` that can house simple component configuration as a JSON string. When an element has `data-coreui-config='{"delay":0, "title":123}'` and `data-coreui-title="456"` attributes, the final `title` value will be `456` and the separate data attributes will override values given on `data-coreui-config`. In addition, existing data attributes are able to house JSON values like `data-coreui-delay='{"show":0,"hide":150}'`.
3+
Starting with CoreUI 4.2.0, all components support an **experimental** reserved data attribute named `data-coreui-config`, which can contain simple component configurations as a JSON string. If an element has attributes `data-coreui-config='{"delay":50, "title":689}'` and `data-coreui-title="Custom Title"`, then the final value for `title` will be `Custom Title`, as the standard data attributes will take precedence over values specified in `data-coreui-config`. Moreover, existing data attributes can also hold JSON values like `data-coreui-delay='{"show":50, "hide":250}'`.

docs/layouts/shortcodes/markdown.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{{- .Inner | markdownify -}}
1+
{{ .Inner | htmlUnescape | markdownify }}

scss/_nav.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,8 @@
231231
border: var(--#{$prefix}nav-enclosed-link-border-width) solid transparent;
232232
@include border-radius(calc(var(--#{$prefix}nav-enclosed-border-radius) - var(--#{$prefix}nav-enclosed-padding)));
233233

234-
&.disabled {
234+
&.disabled,
235+
&:disabled {
235236
color: var(--#{$prefix}nav-enclosed-link-disabled-color);
236237
}
237238
}

0 commit comments

Comments
 (0)