Skip to content

Commit d1e6c54

Browse files
docs(expandable section): Updates images for v6. (#4581)
* docs(expandable section): Updates images for v6. * Updating an image. * Removing an outdated section of content (expandable with blue line). --------- Co-authored-by: Andrew Ronaldson <aronalds@redhat.com>
1 parent f5412de commit d1e6c54

6 files changed

Lines changed: 294 additions & 13 deletions

File tree

packages/documentation-site/patternfly-docs/content/design-guidelines/components/expandable-section/expandable-section.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ id: Expandable section
33
section: components
44
---
55

6+
import '../components.css';
7+
68
## Elements
79
An expandable section has two main elements.
810

9-
<img src="./img/elements.png" alt="Elements of expandable section" width="284"/>
11+
<div class="ws-docs-content-img">
12+
![Elements of an expandable section.](./img/exp-sect-elements.svg)
13+
</div>
1014

1115
1. **Caret:** Indicates whether the section is expanded or collapsed.
1216
2. **Toggle text:** Informs the user what will be shown when the component is expanded.
@@ -18,29 +22,29 @@ We recommend using the dynamic toggle text when designing with the expandable se
1822

1923
## Variations
2024

21-
### Expandable section with blue line
22-
Use an expandable section with a blue border to add more visual weight. This variation is recommended for marketing purposes.
23-
24-
<img src="./img/disclosure.png" alt="Disclosure example" width="1060"/>
25-
26-
27-
2825
### Expandable section in a form
2926

30-
<img src="./img/form.png" alt="Expandable section in a form" width="1514"/>
27+
<div class="ws-docs-content-img">
28+
![Example of an expandable section in a form.](./img/exp-sect-form.svg)
29+
</div>
3130

3231
### Expandable section in an inline alert
3332

34-
<img src="./img/inline-alert.png" alt="Expandable section in an inline alert" width="502"/>
33+
<div class="ws-docs-content-img">
34+
![Example of an expandable section in an inline alert.](./img/exp-sect-inline-alert.svg)
35+
</div>
3536

3637
### Expandable section in a side panel
3738

38-
<img src="./img/side-panel.png" alt="Expandable section in a side panel" width="1047"/>
39+
<div class="ws-docs-content-img">
40+
![Example of an expandable section in a side panel.](./img/exp-sect-panel.svg)
41+
</div>
3942

4043
### Expandable section in a documentation page
4144

42-
<img src="./img/documentation.png" alt="Expandable section in a documentation page" width="644"/>
43-
45+
<div class="ws-docs-content-img">
46+
![Example of an expandable section in a documentation page.](./img/exp-sect-docs-page.svg)
47+
</div>
4448

4549

4650
For more information regarding accessibility, visit the [expandable section accessibility tab](https://v4-archive.patternfly.org/v4/components/expandable-section/accessibility).

0 commit comments

Comments
 (0)