Skip to content

Commit 154f6a9

Browse files
author
Alexis Córdova
authored
fix(dueling-picklist): Add grow functionality to responsive variant (#4574)
1 parent 3e98456 commit 154f6a9

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

RELEASENOTES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@
4040
#### Changed
4141
- Changed `flex-basis` to `auto` for the drop zone label to fix a layout issue in IE11
4242

43+
### [Dueling Picklist](https://www.lightningdesignsystem.com/components/dueling-picklist)
44+
## Added
45+
- Responsive variant now grows to use up the available horizontal space.
46+
4347
### [Icons](https://www.lightningdesignsystem.com/components/icons)
4448
#### Changed
4549
- Changed `product_quantity_rules` icon's color from light blue to salem green (#04844B)
@@ -80,6 +84,7 @@
8084
#### Added
8185
- Added light and dark Brand variants, including new selectors `.slds-popover_brand, .slds-popover_brand-dark, .slds-popover_brand-top, .slds-popover_brand-left, .slds-popover_brand-bottom, .slds-popover_brand-right`
8286
- Added new Prompt branded variants
87+
- Enabled styling hooks for popovers. See popovers' styling hooks overview table for a full listing of the currently available hooks.
8388

8489
### [Rich Text Editor](https://www.lightningdesignsystem.com/components/rich-text-editor)
8590
#### Added

ui/components/dueling-picklist/RELEASENOTES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
<!-- ## [Unreleased] -->
66

7+
## 2.15.0
8+
9+
## Added
10+
11+
- Responsive variant now grows to use up the available horizontal space.
12+
713
## 2.13.1
814

915
### Fixed

ui/components/dueling-picklist/base/_index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
* @restrict .slds-dueling-list__column
4646
*/
4747
.slds-dueling-list__column_responsive {
48-
flex: 0 1 $size-small;
48+
flex: 1 1 $size-small;
4949
flex-wrap: wrap;
5050
overflow: hidden;
5151
min-width: $size-xx-small;

ui/components/dueling-picklist/docs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ A Dueling Picklist should have a group label, similar to using a `fieldset` and
7777

7878
## Responsive
7979

80-
To make the dueling picklist responsive or use it within narrow regions, apply the class `slds-dueling-picklist__column_responsive` to the `<div>`s with class `slds-dueling-picklist__column` that contain options (not the columns that only contain buttons). Any items longer than the space available will truncate with ellipses.
80+
To make the dueling picklist responsive or use it within narrow regions, apply the class `slds-dueling-picklist__column_responsive` to the `<div>`s with class `slds-dueling-picklist__column` that contain options (not the columns that only contain buttons). The dueling picklist will take up all available horizontal space, and any items longer than the available space will truncate with an ellipsis.
8181

8282
<Example title="Dueling Picklist Responsive">
8383
<CodeView>

0 commit comments

Comments
 (0)