Skip to content

Commit 2574eb3

Browse files
Docs: apostrophe consistency (#42375)
1 parent dfc389c commit 2574eb3

60 files changed

Lines changed: 245 additions & 245 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

site/src/content/docs/components/accordion.mdx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The accordion uses native HTML `<details>` and `<summary>` elements, leveraging
1414

1515
Click the accordions below to expand/collapse the accordion content. Each `<details>` element shares the same `name` attribute value, creating an exclusive accordion where opening one item automatically closes the others.
1616

17-
To render an accordion that's expanded by default, add the `open` attribute to the `<details>` element.
17+
To render an accordion thats expanded by default, add the `open` attribute to the `<details>` element.
1818

1919
<Example code={`<div class="accordion">
2020
<details class="accordion-item" name="accordionExample" open>
@@ -23,7 +23,7 @@ To render an accordion that's expanded by default, add the `open` attribute to t
2323
<svg class="accordion-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="m2 5 6 6 6-6"/></svg>
2424
</summary>
2525
<div class="accordion-body">
26-
<strong>This is the first item's accordion body.</strong> It is shown by default because the <code>open</code> attribute is present. The native <code>&lt;details&gt;</code> element handles all the show/hide logic without any JavaScript. You can put any HTML content within the <code>.accordion-body</code>.
26+
<strong>This is the first items accordion body.</strong> It is shown by default because the <code>open</code> attribute is present. The native <code>&lt;details&gt;</code> element handles all the show/hide logic without any JavaScript. You can put any HTML content within the <code>.accordion-body</code>.
2727
</div>
2828
</details>
2929
<details class="accordion-item" name="accordionExample">
@@ -32,7 +32,7 @@ To render an accordion that's expanded by default, add the `open` attribute to t
3232
<svg class="accordion-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="m2 5 6 6 6-6"/></svg>
3333
</summary>
3434
<div class="accordion-body">
35-
<strong>This is the second item's accordion body.</strong> The <code>name</code> attribute groups this with other accordion items. When you open this item, any other open item in the same group will close automatically.
35+
<strong>This is the second items accordion body.</strong> The <code>name</code> attribute groups this with other accordion items. When you open this item, any other open item in the same group will close automatically.
3636
</div>
3737
</details>
3838
<details class="accordion-item" name="accordionExample">
@@ -41,7 +41,7 @@ To render an accordion that's expanded by default, add the `open` attribute to t
4141
<svg class="accordion-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="m2 5 6 6 6-6"/></svg>
4242
</summary>
4343
<div class="accordion-body">
44-
<strong>This is the third item's accordion body.</strong> This exclusive accordion behavior is built into the browser—no Bootstrap JavaScript required. Just use matching <code>name</code> attributes on your <code>&lt;details&gt;</code> elements.
44+
<strong>This is the third items accordion body.</strong> This exclusive accordion behavior is built into the browser—no Bootstrap JavaScript required. Just use matching <code>name</code> attributes on your <code>&lt;details&gt;</code> elements.
4545
</div>
4646
</details>
4747
</div>`} />
@@ -59,7 +59,7 @@ Use the contextual `.theme-{color}` classes to apply a semantic theme color to o
5959
<svg class="accordion-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="m2 5 6 6 6-6"/></svg>
6060
</summary>
6161
<div class="accordion-body">
62-
<strong>This is the first item's accordion body.</strong> It is shown by default because the <code>open</code> attribute is present. The native <code>&lt;details&gt;</code> element handles all the show/hide logic without any JavaScript. You can put any HTML content within the <code>.accordion-body</code>.
62+
<strong>This is the first items accordion body.</strong> It is shown by default because the <code>open</code> attribute is present. The native <code>&lt;details&gt;</code> element handles all the show/hide logic without any JavaScript. You can put any HTML content within the <code>.accordion-body</code>.
6363
</div>
6464
</details>
6565
<details class="accordion-item" name="accordionExampleTheme">
@@ -68,7 +68,7 @@ Use the contextual `.theme-{color}` classes to apply a semantic theme color to o
6868
<svg class="accordion-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="m2 5 6 6 6-6"/></svg>
6969
</summary>
7070
<div class="accordion-body">
71-
<strong>This is the second item's accordion body.</strong> The <code>name</code> attribute groups this with other accordion items. When you open this item, any other open item in the same group will close automatically.
71+
<strong>This is the second items accordion body.</strong> The <code>name</code> attribute groups this with other accordion items. When you open this item, any other open item in the same group will close automatically.
7272
</div>
7373
</details>
7474
<details class="accordion-item" name="accordionExampleTheme">
@@ -77,7 +77,7 @@ Use the contextual `.theme-{color}` classes to apply a semantic theme color to o
7777
<svg class="accordion-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="m2 5 6 6 6-6"/></svg>
7878
</summary>
7979
<div class="accordion-body">
80-
<strong>This is the third item's accordion body.</strong> This exclusive accordion behavior is built into the browser—no Bootstrap JavaScript required. Just use matching <code>name</code> attributes on your <code>&lt;details&gt;</code> elements.
80+
<strong>This is the third items accordion body.</strong> This exclusive accordion behavior is built into the browser—no Bootstrap JavaScript required. Just use matching <code>name</code> attributes on your <code>&lt;details&gt;</code> elements.
8181
</div>
8282
</details>
8383
</div>`} />
@@ -92,21 +92,21 @@ Add `.accordion-flush` to remove some borders and rounded corners to render acco
9292
Accordion Item #1
9393
<svg class="accordion-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="m2 5 6 6 6-6"/></svg>
9494
</summary>
95-
<div class="accordion-body">Placeholder content for this accordion, which is intended to demonstrate the <code>.accordion-flush</code> class. This is the first item's accordion body.</div>
95+
<div class="accordion-body">Placeholder content for this accordion, which is intended to demonstrate the <code>.accordion-flush</code> class. This is the first items accordion body.</div>
9696
</details>
9797
<details class="accordion-item" name="accordionFlushExample">
9898
<summary class="accordion-header">
9999
Accordion Item #2
100100
<svg class="accordion-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="m2 5 6 6 6-6"/></svg>
101101
</summary>
102-
<div class="accordion-body">Placeholder content for this accordion, which is intended to demonstrate the <code>.accordion-flush</code> class. This is the second item's accordion body. Let's imagine this being filled with some actual content.</div>
102+
<div class="accordion-body">Placeholder content for this accordion, which is intended to demonstrate the <code>.accordion-flush</code> class. This is the second items accordion body. Lets imagine this being filled with some actual content.</div>
103103
</details>
104104
<details class="accordion-item" name="accordionFlushExample">
105105
<summary class="accordion-header">
106106
Accordion Item #3
107107
<svg class="accordion-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="m2 5 6 6 6-6"/></svg>
108108
</summary>
109-
<div class="accordion-body">Placeholder content for this accordion, which is intended to demonstrate the <code>.accordion-flush</code> class. This is the third item's accordion body. Nothing more exciting happening here in terms of content, but just filling up the space to make it look, at least at first glance, a bit more representative of how this would look in a real-world application.</div>
109+
<div class="accordion-body">Placeholder content for this accordion, which is intended to demonstrate the <code>.accordion-flush</code> class. This is the third items accordion body. Nothing more exciting happening here in terms of content, but just filling up the space to make it look, at least at first glance, a bit more representative of how this would look in a real-world application.</div>
110110
</details>
111111
</div>`} />
112112

@@ -121,7 +121,7 @@ Omit the `name` attribute on each `<details>` element to allow multiple accordio
121121
<svg class="accordion-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="m2 5 6 6 6-6"/></svg>
122122
</summary>
123123
<div class="accordion-body">
124-
<strong>This is the first item's accordion body.</strong> Without the <code>name</code> attribute, each accordion item operates independently. You can open multiple items at the same time.
124+
<strong>This is the first items accordion body.</strong> Without the <code>name</code> attribute, each accordion item operates independently. You can open multiple items at the same time.
125125
</div>
126126
</details>
127127
<details class="accordion-item">
@@ -130,7 +130,7 @@ Omit the `name` attribute on each `<details>` element to allow multiple accordio
130130
<svg class="accordion-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="m2 5 6 6 6-6"/></svg>
131131
</summary>
132132
<div class="accordion-body">
133-
<strong>This is the second item's accordion body.</strong> Opening this won't close the first item because there's no <code>name</code> attribute linking them together.
133+
<strong>This is the second items accordion body.</strong> Opening this wont close the first item because theres no <code>name</code> attribute linking them together.
134134
</div>
135135
</details>
136136
<details class="accordion-item">
@@ -139,7 +139,7 @@ Omit the `name` attribute on each `<details>` element to allow multiple accordio
139139
<svg class="accordion-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="m2 5 6 6 6-6"/></svg>
140140
</summary>
141141
<div class="accordion-body">
142-
<strong>This is the third item's accordion body.</strong> Each item is completely independent—open or close them in any combination you like.
142+
<strong>This is the third items accordion body.</strong> Each item is completely independent—open or close them in any combination you like.
143143
</div>
144144
</details>
145145
</div>`} />
@@ -155,7 +155,7 @@ Accordions can be nested inside each other by placing a full `.accordion` within
155155
<svg class="accordion-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="m2 5 6 6 6-6"/></svg>
156156
</summary>
157157
<div class="accordion-body">
158-
<strong>This is the first item's accordion body.</strong> It contains a nested accordion below.
158+
<strong>This is the first items accordion body.</strong> It contains a nested accordion below.
159159
<div class="accordion mt-3">
160160
<details class="accordion-item" name="accordionNestedInner" open>
161161
<summary class="accordion-header">
@@ -193,7 +193,7 @@ Accordions can be nested inside each other by placing a full `.accordion` within
193193
<svg class="accordion-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="m2 5 6 6 6-6"/></svg>
194194
</summary>
195195
<div class="accordion-body">
196-
<strong>This is the second item's accordion body.</strong> It does not contain a nested accordion.
196+
<strong>This is the second items accordion body.</strong> It does not contain a nested accordion.
197197
</div>
198198
</details>
199199
<details class="accordion-item" name="accordionNested">
@@ -202,7 +202,7 @@ Accordions can be nested inside each other by placing a full `.accordion` within
202202
<svg class="accordion-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="m2 5 6 6 6-6"/></svg>
203203
</summary>
204204
<div class="accordion-body">
205-
<strong>This is the third item's accordion body.</strong> It does not contain a nested accordion.
205+
<strong>This is the third items accordion body.</strong> It does not contain a nested accordion.
206206
</div>
207207
</details>
208208
</div>`} />

site/src/content/docs/components/avatar.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Avatars are used to represent users or entities. They can display an image or in
1111

1212
### Image
1313

14-
Use `.avatar` with an `.avatar-img` for image-based avatars. The parent `.avatar` element provides an easy wrapper for additional avatar features like status indicators and stacks. You're welcome to use the `.avatar-img` class on its own if you only need a single HTML element.
14+
Use `.avatar` with an `.avatar-img` for image-based avatars. The parent `.avatar` element provides an easy wrapper for additional avatar features like status indicators and stacks. Youre welcome to use the `.avatar-img` class on its own if you only need a single HTML element.
1515

1616
<Example code={`<span class="avatar">
1717
<img class="avatar-img" src="https://github.com/mdo.png" alt="mdo">

site/src/content/docs/components/breadcrumb.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Use any content you like—different icons, decorative elements, or themed separ
121121

122122
## Accessibility
123123

124-
Since breadcrumbs provide navigation, it's important to follow these practices:
124+
Since breadcrumbs provide navigation, its important to follow these practices:
125125

126126
- Add `aria-label="breadcrumb"` to the `<nav>` element to describe the navigation type
127127
- Add `aria-current="page"` to the `.breadcrumb-item` containing the current page

site/src/content/docs/components/button-group.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Combine sets of button groups into button toolbars for more complex components.
160160
</div>
161161
</div>`} />
162162

163-
Feel free to mix input groups with button groups in your toolbars. Similar to the example above, you'll likely need some utilities though to space things properly.
163+
Feel free to mix input groups with button groups in your toolbars. Similar to the example above, youll likely need some utilities though to space things properly.
164164

165165
<Example class="d-flex gap-3 flex-column" code={`<div class="btn-toolbar" role="toolbar" aria-label="Toolbar with button groups">
166166
<div class="btn-group" role="group" aria-label="First group">

site/src/content/docs/components/buttons.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Disabled buttons using the `<a>` element behave a bit different. Use the `.disab
141141
<Example code={`<a class="btn-solid theme-primary disabled" role="button" aria-disabled="true">Primary link</a>
142142
<a class="btn-solid theme-secondary disabled" role="button" aria-disabled="true">Link</a>`} />
143143

144-
If there's an `href` attribute, add `tabindex="-1"` and `aria-disabled="true"` to prevent keyboard focus and assistive technologies from interacting with the link.
144+
If theres an `href` attribute, add `tabindex="-1"` and `aria-disabled="true"` to prevent keyboard focus and assistive technologies from interacting with the link.
145145

146146
<Example code={`<a href="#" class="btn-solid theme-primary disabled" tabindex="-1" role="button" aria-disabled="true">Primary link</a>
147147
<a href="#" class="btn-solid theme-secondary disabled" tabindex="-1" role="button" aria-disabled="true">Link</a>`} />
@@ -311,7 +311,7 @@ Button sizes are defined in the `$button-sizes` Sass map. Each size specifies se
311311

312312
#### Variants
313313

314-
Button variants are defined in the `$button-variants` Sass map. Each variant specifies which theme color tokens to use for its base, hover, and active states. The map uses token names (like `"bg"`, `"contrast"`, `"border"`) that reference the current theme's color palette.
314+
Button variants are defined in the `$button-variants` Sass map. Each variant specifies which theme color tokens to use for its base, hover, and active states. The map uses token names (like `"bg"`, `"contrast"`, `"border"`) that reference the current themes color palette.
315315

316316
<ScssDocs name="btn-variants" file="scss/buttons/_button.scss" />
317317

@@ -343,7 +343,7 @@ To add a custom variant, extend the map before importing Bootstrap’s buttons:
343343
);
344344
```
345345

346-
To remove a variant you don't need, use Sass's `map.remove()`:
346+
To remove a variant you dont need, use Sasss `map.remove()`:
347347

348348
```scss
349349
@use "sass:map";

0 commit comments

Comments
 (0)