Skip to content

Commit 8c176bc

Browse files
docs(clipboard copy): Updates images for v6. (#4539)
Co-authored-by: Andrew Ronaldson <aronalds@redhat.com>
1 parent adc98c4 commit 8c176bc

10 files changed

Lines changed: 181 additions & 13 deletions

packages/documentation-site/patternfly-docs/content/design-guidelines/components/clipboard-copy/clipboard-copy.md

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

6+
import '../components.css';
7+
68
## Elements
79
Clipboard copy has 3 main components.
810

9-
<img src="./img/clipboard-copy-elements.png" alt="Elements of the clipboard copy component" width="468"/>
11+
<div class="ws-docs-content-img">
12+
![Elements of the clipboard copy component.](./img/clipboard-copy-elements.svg)
13+
</div>
1014

1115
1. **Copy content:** the content that will be copied to the user’s clipboard.
1216
2. **Clipboard button:** completes the copy action when clicked.
@@ -22,45 +26,57 @@ The clipboard copy component can be editable or read-only and both types can opt
2226

2327
An editable clipboard copy allows users to copy an editable text input box.
2428

25-
<img src="./img/editable.png" alt="Example of an editable clipboard copy component" width="434"/>
29+
<div class="ws-docs-content-img">
30+
![Example of an editable clipboard copy component.](./img/clipboard-copy-editable.svg)
31+
</div>
2632

2733
**Read-only**
2834

2935
A read-only clipboard copy only allows the user to copy a predefined line of text that is not editable by the user.
3036

31-
<img src="./img/read-only.png" alt="Example of a read-only clipboard copy component" width="434"/>
37+
<div class="ws-docs-content-img">
38+
![Example of a read-only clipboard copy component.](./img/clipboard-copy-readonly.svg)
39+
</div>
3240

3341
**Expandable**
3442

3543
An expandable clipboard copy allows for long lines of text to be stored in an expansion panel. Expanding the clipboard copy allows the user to view the full string that they can copy.
3644

37-
<img src="./img/expandable.png" alt="Example of an expandable clipboard copy component" width="455"/>
45+
<div class="ws-docs-content-img">
46+
![Example of an expandable clipboard copy component.](./img/clipboard-copy-expandable.svg)
47+
</div>
3848

3949
**Inline compact**
4050

4151
An inline compact clipboard copy is placed directly inline with other text or used on its own when you want a lighter weight clipboard copy treatment.
4252

43-
<img src="./img/inline-one-action.png" alt="Example of an inline compact clipboard copy component with one action" width="355"/>
53+
<div class="ws-docs-content-img">
54+
![Example of an inline clipboard copy component with one action.](./img/clipboard-copy-inline-compact-1.svg)
55+
</div>
4456

4557
An inline compact clipboard copy can include one or two action buttons next to it. The second action is customizable and optional.
4658

47-
<img src="./img/inline-two-actions.png" alt="Example of an inline compact clipboard copy component with two actions" width="355"/>
59+
<div class="ws-docs-content-img">
60+
![Example of an inline clipboard copy component with two actions.](./img/clipboard-copy-inline-compact-2.svg)
61+
</div>
4862

4963
### Clipboard copy in context
5064
Clipboard copy can be used almost anywhere in a UI. It is commonly used in forms and definition lists.
5165

5266
**Clipboard copy in a form**
5367

54-
<img src="./img/form.png" alt="Example of clipboard copy in a form" width="1067"/>
68+
<div class="ws-docs-content-img">
69+
![Example of clipboard copy in a form.](./img/clipboard-copy-form.svg)
70+
</div>
5571

5672
**Clipboard copy in a description list**
5773

58-
<img src="./img/description-list.png" alt="Example of clipboard copy in a description list" width="629"/>
59-
60-
**Inline compact clipboard copy for URLs**
61-
62-
<img src="./img/clipboard-copy-url.png" alt="Example of an inline compact clipboard copy next to a URL" width="657"/>
74+
<div class="ws-docs-content-img">
75+
![Example of clipboard copy in a description list.](./img/clipboard-copy-description-list.svg)
76+
</div>
6377

6478
**Inline compact clipboard copy in context**
6579

66-
<img src="./img/inline-in-context.png" alt="Example of an inline compact clipboard copy in context" width="448"/>
80+
<div class="ws-docs-content-img">
81+
![Example of an inline compact clipboard copy in context.](./img/clipboard-copy-inline-compact-4.svg)
82+
</div>

packages/documentation-site/patternfly-docs/content/design-guidelines/components/clipboard-copy/img/clipboard-copy-description-list.svg

Lines changed: 34 additions & 0 deletions
Loading

packages/documentation-site/patternfly-docs/content/design-guidelines/components/clipboard-copy/img/clipboard-copy-editable.svg

Lines changed: 9 additions & 0 deletions
Loading

packages/documentation-site/patternfly-docs/content/design-guidelines/components/clipboard-copy/img/clipboard-copy-elements.svg

Lines changed: 34 additions & 0 deletions
Loading

packages/documentation-site/patternfly-docs/content/design-guidelines/components/clipboard-copy/img/clipboard-copy-expandable.svg

Lines changed: 28 additions & 0 deletions
Loading

packages/documentation-site/patternfly-docs/content/design-guidelines/components/clipboard-copy/img/clipboard-copy-form.svg

Lines changed: 11 additions & 0 deletions
Loading

packages/documentation-site/patternfly-docs/content/design-guidelines/components/clipboard-copy/img/clipboard-copy-inline-compact-1.svg

Lines changed: 8 additions & 0 deletions
Loading

packages/documentation-site/patternfly-docs/content/design-guidelines/components/clipboard-copy/img/clipboard-copy-inline-compact-2.svg

Lines changed: 9 additions & 0 deletions
Loading

packages/documentation-site/patternfly-docs/content/design-guidelines/components/clipboard-copy/img/clipboard-copy-inline-compact-4.svg

Lines changed: 10 additions & 0 deletions
Loading

packages/documentation-site/patternfly-docs/content/design-guidelines/components/clipboard-copy/img/clipboard-copy-readonly.svg

Lines changed: 9 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)