diff --git a/CHANGELOG.md b/CHANGELOG.md
index b7f34e37c0c..9cff893fdfb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,17 @@
- Converted `EuiTitle` to TS ([#1810](https://github.com/elastic/eui/pull/1810))
- Added `adjustDateOnChange` prop to date pickers, enabling month and year changes to trigger `onChange` ([#1817](https://github.com/elastic/eui/pull/1817))
+- Updated the overflow shadows for `EuiModal` and `EuiFlyout` ([#1829](https://github.com/elastic/eui/pull/1829))
+- Added `confirmButtonDisabled` prop to `EuiConfirmModal` ([#1829](https://github.com/elastic/eui/pull/1829))
+
+**Bug fixes**
+
+- Fixed mobile layout for `EuiConfirmModal` ([#1829](https://github.com/elastic/eui/pull/1829))
+
+**Deprecations**
+
+- Replaced the following SASS mixins `euiOverflowShadowTop`, `euiOverflowShadowBottom` with `euiOverflowShadow`. ([#1829](https://github.com/elastic/eui/pull/1829))
+
## [`9.9.1`](https://github.com/elastic/eui/tree/v9.9.1)
diff --git a/src-docs/src/views/guidelines/index.scss b/src-docs/src/views/guidelines/index.scss
index 385d4698b29..b09bac2e1c3 100644
--- a/src-docs/src/views/guidelines/index.scss
+++ b/src-docs/src/views/guidelines/index.scss
@@ -157,33 +157,19 @@
.guideSass__shadow--euiBottomShadowFlat { @include euiBottomShadowFlat; }
.guideSass__shadow--euiBottomShadow { @include euiBottomShadow; }
.guideSass__shadow--euiBottomShadowLarge { @include euiBottomShadowLarge; }
-.guideSass__shadow--euiOverflowShadowTop { @include euiOverflowShadowTop; }
-.guideSass__shadow--euiOverflowShadowBottom { @include euiOverflowShadowBottom; }
.guideSass__overflowShadows {
+ @include euiOverflowShadow;
+ overflow-y: hidden;
margin-top: $euiSize;
- border: $euiBorderThin;
- position: relative;
+ border: 1px solid $euiColorLightestShade;
height: 200px;
.guideSass__overflowShadowText {
- height: 100px;
- padding: $euiSize;
+ @include euiScrollBar;
+ height: 100%;
overflow-y: auto;
- position: absolute;
- top: 50px;
- }
-
- .guideSass__shadow {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- }
-
- .guideSass__shadow + .guideSass__shadow {
- bottom: 0;
- top: auto;
+ padding: $euiSize;
}
}
diff --git a/src-docs/src/views/guidelines/sass.js b/src-docs/src/views/guidelines/sass.js
index 3233094ef7b..602767b8049 100644
--- a/src-docs/src/views/guidelines/sass.js
+++ b/src-docs/src/views/guidelines/sass.js
@@ -110,11 +110,6 @@ const euiAnimationTimings = [
'euiAnimSlightResistance',
];
-const euiOverFlowShadows = [
- 'euiOverflowShadowBottom',
- 'euiOverflowShadowTop',
-];
-
const euiBreakPoints = Object.getOwnPropertyNames(breakpoints.euiBreakpoints);
function renderPaletteColor(palette, color) {
@@ -693,7 +688,7 @@ export const SassGuidelines = ({
Primarily used in modals and flyouts, the overflow shadows add a white
- glow to subtly hide the content they float above.
+ glow to subtly indicate there is more content below/above.
It requires a wrapper with
Example:
+- Minima reprehenderit aperiam at in ea. Veniam nihil quod tempore. - Dolores sit quo expedita voluptate libero. Consequuntur atque nulla atque nemo tenetur numquam. Assumenda aspernatur qui aut sit. Aliquam doloribus iure sint id. Possimus dolor qui soluta cum id tempore ea illum. @@ -718,9 +727,6 @@ export const SassGuidelines = ({ et nisi. Doloribus ut corrupti voluptates qui exercitationem dolores.
- This is a confirmation modal example -
++ This is a confirmation modal example +
+