diff --git a/.changeset/fix-expandableDropdown.md b/.changeset/fix-expandableDropdown.md new file mode 100644 index 000000000..995c7f901 --- /dev/null +++ b/.changeset/fix-expandableDropdown.md @@ -0,0 +1,5 @@ +--- +'react-magma-dom': patch +--- + +fix(Dropdown): Fixes from QA review of the Dropdown Expandable sub component. diff --git a/packages/react-magma-dom/src/components/ButtonGroup/__snapshots__/ButtonGroup.test.js.snap b/packages/react-magma-dom/src/components/ButtonGroup/__snapshots__/ButtonGroup.test.js.snap index ebb409b67..6be520c6a 100644 --- a/packages/react-magma-dom/src/components/ButtonGroup/__snapshots__/ButtonGroup.test.js.snap +++ b/packages/react-magma-dom/src/components/ButtonGroup/__snapshots__/ButtonGroup.test.js.snap @@ -945,7 +945,7 @@ exports[`ButtonGroup With dropdowns Snapshot: Horizontal & center alignment 1`] align-items: center; } -.emotion-22 { +.emotion-20 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -963,35 +963,35 @@ exports[`ButtonGroup With dropdowns Snapshot: Horizontal & center alignment 1`] row-gap: 8px; } -.emotion-22 > button:first-child, -.emotion-22 > div:first-child { +.emotion-20 > button:first-child, +.emotion-20 > div:first-child { margin-left: 0; } -.emotion-22 > button:last-child, -.emotion-22 > div:last-child { +.emotion-20 > button:last-child, +.emotion-20 > div:last-child { margin-right: 0; } -.emotion-22 > div { +.emotion-20 > div { margin: 0 4px; -webkit-flex: none; -ms-flex: none; flex: none; } -.emotion-22 > div button:nth-child(2) { +.emotion-20 > div button:nth-child(2) { width: 40px; } -.emotion-22 > button { +.emotion-20 > button { margin: 0 4px; -webkit-flex: none; -ms-flex: none; flex: none; } -.emotion-12 { +.emotion-11 { display: inline-block; position: relative; } @@ -1101,7 +1101,7 @@ exports[`ButtonGroup With dropdowns Snapshot: Horizontal & center alignment 1`] padding-right: 8px; } -.emotion-11 { +.emotion-10 { background: #FFFFFF; border: 1px solid #D4D4D4; border-radius: 8px; @@ -1136,14 +1136,10 @@ exports[`ButtonGroup With dropdowns Snapshot: Horizontal & center alignment 1`] outline-offset: 0; } -.emotion-11:focus { +.emotion-10:focus { outline: 2px solid #0074B7; } -.emotion-10 { - padding: 4px 0; -} - .emotion-9 { -webkit-align-items: center; -webkit-box-align: center; @@ -1289,7 +1285,7 @@ exports[`ButtonGroup With dropdowns Snapshot: Horizontal & center alignment 1`] align-items: center; } -.emotion-22 { +.emotion-20 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1307,35 +1303,35 @@ exports[`ButtonGroup With dropdowns Snapshot: Horizontal & center alignment 1`] row-gap: 8px; } -.emotion-22 > button:first-child, -.emotion-22 > div:first-child { +.emotion-20 > button:first-child, +.emotion-20 > div:first-child { margin-left: 0; } -.emotion-22 > button:last-child, -.emotion-22 > div:last-child { +.emotion-20 > button:last-child, +.emotion-20 > div:last-child { margin-right: 0; } -.emotion-22 > div { +.emotion-20 > div { margin: 0 4px; -webkit-flex: none; -ms-flex: none; flex: none; } -.emotion-22 > div button:nth-child(2) { +.emotion-20 > div button:nth-child(2) { width: 40px; } -.emotion-22 > button { +.emotion-20 > button { margin: 0 4px; -webkit-flex: none; -ms-flex: none; flex: none; } -.emotion-12 { +.emotion-11 { display: inline-block; position: relative; } @@ -1445,7 +1441,7 @@ exports[`ButtonGroup With dropdowns Snapshot: Horizontal & center alignment 1`] padding-right: 8px; } -.emotion-11 { +.emotion-10 { background: #FFFFFF; border: 1px solid #D4D4D4; border-radius: 8px; @@ -1480,14 +1476,10 @@ exports[`ButtonGroup With dropdowns Snapshot: Horizontal & center alignment 1`] outline-offset: 0; } -.emotion-11:focus { +.emotion-10:focus { outline: 2px solid #0074B7; } -.emotion-10 { - padding: 4px 0; -} - .emotion-9 { -webkit-align-items: center; -webkit-box-align: center; @@ -1523,7 +1515,7 @@ exports[`ButtonGroup With dropdowns Snapshot: Horizontal & center alignment 1`]
@@ -1540,7 +1532,7 @@ exports[`ButtonGroup With dropdowns Snapshot: Horizontal & center alignment 1`]