Skip to content

Commit 1345962

Browse files
committed
doc:(dual list selector):v6 design guidelines image updates
1 parent 0d64d20 commit 1345962

4 files changed

Lines changed: 13 additions & 4 deletions

File tree

packages/documentation-site/patternfly-docs/content/design-guidelines/components/dual-list-selector/dual-list-selector.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,20 +66,20 @@ An expandable dual list contains a multi-leveled list of items for users to choo
6666
### Drag and drop dual list
6767
Drag and drop functionality inside of a dual list allows users to customize the order in which items within the Chosen options are displayed. The fa-grip icon at the start of the item row is used to indicate that the items are draggable.
6868

69-
1. **onDrag event:** Upon click & hold a `--pf-t--global--border--color--brand--clicked` border will show the draggable area that is available. The list item being dragged will also use a `--pf-t--global--border--color--brand--clicked` border to highlight it as the item being dragged.
70-
7169
<div class="ws-docs-content-img">
7270
![dual list with the second row item being dragged to a new position](./img/ondrag-event.svg)
7371
</div>
7472

75-
2. **Ghost row:** Mid onDrag event, a duplicate ghost row will follow the active dragged item. The ghost row will fill the available space and use a `--pf-t--global--border--color--brand--clicked` border to highlight it as the item being dragged. The ghost row icon button will recieve a hover fill using `--pf-t--global--background--color--action--plain--hover`.
73+
1. **onDrag event:** Upon click & hold a `--pf-t--global--border--color--brand--clicked` border will show the draggable area that is available. The list item being dragged will also use a `--pf-t--global--border--color--brand--clicked` border to highlight it as the item being dragged.
7674

7775
<div class="ws-docs-content-img">
7876
![dual list that is acitvely being dragged with a ghost row](./img/ghost-row.svg)
7977
</div>
8078

81-
3. **postDrag event:** Once dropped, the items will be reordered based on the user’s action. The recently dropped row will receive a hover fill using `--pf-t--global--background--color--primary--hover`and the icon button will receive a background fill of `--pf-t--global--background--color--action--plain--hover`.
79+
2. **Ghost row:** Mid onDrag event, a duplicate ghost row will follow the active dragged item. The ghost row will fill the available space and use a `--pf-t--global--border--color--brand--clicked` border to highlight it as the item being dragged. The ghost row icon button will recieve a hover fill using `--pf-t--global--background--color--action--plain--hover`.
8280

8381
<div class="ws-docs-content-img">
8482
![dual list with an item that was dragged from one position to another](./img/postdrag-event.svg)
8583
</div>
84+
85+
3. **postDrag event:** Once dropped, the items will be reordered based on the user’s action. The recently dropped row will receive a hover fill using `--pf-t--global--background--color--primary--hover`and the icon button will receive a background fill of `--pf-t--global--background--color--action--plain--hover`.

packages/documentation-site/patternfly-docs/content/design-guidelines/components/dual-list-selector/img/ghost-row.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)