You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
Copy file name to clipboardExpand all lines: packages/documentation-site/patternfly-docs/content/design-guidelines/components/expandable-section/expandable-section.md
+17-13Lines changed: 17 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,14 @@ id: Expandable section
3
3
section: components
4
4
---
5
5
6
+
import '../components.css';
7
+
6
8
## Elements
7
9
An expandable section has two main elements.
8
10
9
-
<imgsrc="./img/elements.png"alt="Elements of expandable section"width="284"/>
11
+
<divclass="ws-docs-content-img">
12
+

13
+
</div>
10
14
11
15
1.**Caret:** Indicates whether the section is expanded or collapsed.
12
16
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
18
22
19
23
## Variations
20
24
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.
<imgsrc="./img/form.png"alt="Expandable section in a form"width="1514"/>
27
+
<divclass="ws-docs-content-img">
28
+

29
+
</div>
31
30
32
31
### Expandable section in an inline alert
33
32
34
-
<imgsrc="./img/inline-alert.png"alt="Expandable section in an inline alert"width="502"/>
33
+
<divclass="ws-docs-content-img">
34
+

35
+
</div>
35
36
36
37
### Expandable section in a side panel
37
38
38
-
<imgsrc="./img/side-panel.png"alt="Expandable section in a side panel"width="1047"/>
39
+
<divclass="ws-docs-content-img">
40
+

41
+
</div>
39
42
40
43
### Expandable section in a documentation page
41
44
42
-
<imgsrc="./img/documentation.png"alt="Expandable section in a documentation page"width="644"/>
43
-
45
+
<divclass="ws-docs-content-img">
46
+

47
+
</div>
44
48
45
49
46
50
For more information regarding accessibility, visit the [expandable section accessibility tab](https://v4-archive.patternfly.org/v4/components/expandable-section/accessibility).
0 commit comments