diff --git a/packages/eui/changelogs/CHANGELOG_2024.md b/packages/eui/changelogs/CHANGELOG_2024.md index 24278144106..2de35bd377b 100644 --- a/packages/eui/changelogs/CHANGELOG_2024.md +++ b/packages/eui/changelogs/CHANGELOG_2024.md @@ -1,3 +1,56 @@ +## [`v95.8.0`](https://github.com/elastic/eui/releases/v95.8.0) + +- Updated `EuiHeaderLinks`'s mobile menu to set a slight popover padding by default ([#7961](https://github.com/elastic/eui/pull/7961)) + - This can be overridden via `popoverProps.panelPaddingSize` if needed. +- Updated `EuiHeaderLink` to default to a size of `s` (down from `m`) ([#7961](https://github.com/elastic/eui/pull/7961)) + +**Bug fixes** + +- Fixed a visual bug with `` form controls ([#7957](https://github.com/elastic/eui/pull/7957)) + +**Deprecations** + +- Deprecated `EuiFormRow`'s `columnCompressedSwitch` display prop. Use `columnCompressed` instead, which will automatically account for child `EuiSwitch`es ([#7968](https://github.com/elastic/eui/pull/7968)) +- Deprecated `EuiFormRow`'s `rowCompressed` display prop. Use `row` instead for vertical forms, or `centerCompressed` for inline forms ([#7968](https://github.com/elastic/eui/pull/7968)) +- (Styling) Updated `EuiFormRow`'s `hasEmptySpaceLabel` prop to no longer attempt to automatically align its content to a vertical center. Use the `display="center"` prop for that instead ([#7968](https://github.com/elastic/eui/pull/7968)) + +**CSS-in-JS conversions** + +- Converted `EuiFormControlLayout` to Emotion ([#7954](https://github.com/elastic/eui/pull/7954)) + - Removed `.euiFormControlLayout--*icons` classNames and `--eui-form-control-layout-icons-padding` CSS var. Use `--euiFormControlRightIconsCount` or `--euiFormControlLeftIconsCount` instead +- Converted `EuiFormLayoutDelimited` to Emotion ([#7957](https://github.com/elastic/eui/pull/7957)) +- Fixed `cloneElementWithCss` throwing an error when used multiple times without a `key` prop ([#7957](https://github.com/elastic/eui/pull/7957)) +- Updated `cloneElementWithCss` utility to support a third argument that allows prepending vs. appending the cloned Emotion css className ([#7957](https://github.com/elastic/eui/pull/7957)) +- Removed `@euiFormControlLayoutClearIcon` Sass mixin ([#7959](https://github.com/elastic/eui/pull/7959)) +- Converted `EuiDescribedFormGroup` to Emotion ([#7964](https://github.com/elastic/eui/pull/7964)) +- Converted `EuiForm`, `EuiFormHelpText`, and `EuiFormErrorText` to Emotion ([#7966](https://github.com/elastic/eui/pull/7966)) +- Converted `EuiFormLabel` and `EuiFormLegend` to Emotion; Removed `@euiFormLabel` mixin ([#7967](https://github.com/elastic/eui/pull/7967)) +- Converted `EuiFormRow` to Emotion ([#7968](https://github.com/elastic/eui/pull/7968)) +- Converted `EuiCheckbox` to Emotion ([#7969](https://github.com/elastic/eui/pull/7969)) +- Converted `EuiRadio` to Emotion ([#7969](https://github.com/elastic/eui/pull/7969)) +- Converted `EuiSwitch` to Emotion ([#7969](https://github.com/elastic/eui/pull/7969)) +- Removed the following Sass variables: ([#7969](https://github.com/elastic/eui/pull/7969)) + - `$euiFormCustomControlDisabledIconColor` + - `$euiFormCustomControlBorderColor` + - `$euiRadioSize` + - `$euiCheckBoxSize` + - `$euiCheckboxBorderRadius` + - `$euiSwitchHeight` (and compressed/mini variants) + - `$euiSwitchWidth` (and compressed/mini variants) + - `$euiSwitchThumbSize` (and compressed/mini variants) + - `$euiSwitchIconHeight` + - `$euiSwitchOffColor` +- Removed the following Sass mixins: ([#7969](https://github.com/elastic/eui/pull/7969)) + - `euiIconBackground` + - `euiCustomControl` + - `euiCustomControlSelected` + - `euiCustomControlDisabled` + - `euiCustomControlFocused` + +**Accessibility** + +- Updated the `aria-label` attribute for the `EuiFieldSearch` clear button ([#7970](https://github.com/elastic/eui/pull/7970)) + ## [`v95.7.0`](https://github.com/elastic/eui/releases/v95.7.0) **CSS-in-JS conversions** diff --git a/packages/eui/changelogs/upcoming/7954.md b/packages/eui/changelogs/upcoming/7954.md deleted file mode 100644 index 9d27209a613..00000000000 --- a/packages/eui/changelogs/upcoming/7954.md +++ /dev/null @@ -1,4 +0,0 @@ -**CSS-in-JS conversions** - -- Converted `EuiFormControlLayout` to Emotion - - Removed `.euiFormControlLayout--*icons` classNames and `--eui-form-control-layout-icons-padding` CSS var. Use `--euiFormControlRightIconsCount` or `--euiFormControlLeftIconsCount` instead diff --git a/packages/eui/changelogs/upcoming/7957.md b/packages/eui/changelogs/upcoming/7957.md deleted file mode 100644 index 37d7ee96540..00000000000 --- a/packages/eui/changelogs/upcoming/7957.md +++ /dev/null @@ -1,9 +0,0 @@ -**Bug fixes** - -- Fixed a visual bug with `` form controls - -**CSS-in-JS conversions** - -- Converted `EuiFormLayoutDelimited` to Emotion -- Fixed `cloneElementWithCss` throwing an error when used multiple times without a `key` prop -- Updated `cloneElementWithCss` utility to support a third argument that allows prepending vs. appending the cloned Emotion css className diff --git a/packages/eui/changelogs/upcoming/7959.md b/packages/eui/changelogs/upcoming/7959.md deleted file mode 100644 index fce7568a447..00000000000 --- a/packages/eui/changelogs/upcoming/7959.md +++ /dev/null @@ -1,3 +0,0 @@ -**CSS-in-JS conversions** - -- Removed `@euiFormControlLayoutClearIcon` Sass mixin diff --git a/packages/eui/changelogs/upcoming/7961.md b/packages/eui/changelogs/upcoming/7961.md deleted file mode 100644 index 204b37dc74f..00000000000 --- a/packages/eui/changelogs/upcoming/7961.md +++ /dev/null @@ -1,3 +0,0 @@ -- Updated `EuiHeaderLinks`'s mobile menu to set a slight popover padding by default - - This can be overridden via `popoverProps.panelPaddingSize` if needed. -- Updated `EuiHeaderLink` to default to a size of `s` (down from `m`) diff --git a/packages/eui/changelogs/upcoming/7964.md b/packages/eui/changelogs/upcoming/7964.md deleted file mode 100644 index b2b45f096bd..00000000000 --- a/packages/eui/changelogs/upcoming/7964.md +++ /dev/null @@ -1,3 +0,0 @@ -**CSS-in-JS conversions** - -- Converted `EuiDescribedFormGroup` to Emotion diff --git a/packages/eui/changelogs/upcoming/7966.md b/packages/eui/changelogs/upcoming/7966.md deleted file mode 100644 index ecdf93a80c9..00000000000 --- a/packages/eui/changelogs/upcoming/7966.md +++ /dev/null @@ -1,3 +0,0 @@ -**CSS-in-JS conversions** - -- Converted `EuiForm`, `EuiFormHelpText`, and `EuiFormErrorText` to Emotion diff --git a/packages/eui/changelogs/upcoming/7967.md b/packages/eui/changelogs/upcoming/7967.md deleted file mode 100644 index ce8ecbf7e84..00000000000 --- a/packages/eui/changelogs/upcoming/7967.md +++ /dev/null @@ -1,3 +0,0 @@ -**CSS-in-JS conversions** - -- Converted `EuiFormLabel` and `EuiFormLegend` to Emotion; Removed `@euiFormLabel` mixin diff --git a/packages/eui/changelogs/upcoming/7968.md b/packages/eui/changelogs/upcoming/7968.md deleted file mode 100644 index a44d6b91b01..00000000000 --- a/packages/eui/changelogs/upcoming/7968.md +++ /dev/null @@ -1,9 +0,0 @@ -**Deprecations** - -- Deprecated `EuiFormRow`'s `columnCompressedSwitch` display prop. Use `columnCompressed` instead, which will automatically account for child `EuiSwitch`es -- Deprecated `EuiFormRow`'s `rowCompressed` display prop. Use `row` instead for vertical forms, or `centerCompressed` for inline forms -- (Styling) Updated `EuiFormRow`'s `hasEmptySpaceLabel` prop to no longer attempt to automatically align its content to a vertical center. Use the `display="center"` prop for that instead - -**CSS-in-JS conversions** - -- Converted `EuiFormRow` to Emotion diff --git a/packages/eui/changelogs/upcoming/7969.md b/packages/eui/changelogs/upcoming/7969.md deleted file mode 100644 index dd1e80736ea..00000000000 --- a/packages/eui/changelogs/upcoming/7969.md +++ /dev/null @@ -1,22 +0,0 @@ -**CSS-in-JS conversions** - -- Converted `EuiCheckbox` to Emotion -- Converted `EuiRadio` to Emotion -- Converted `EuiSwitch` to Emotion -- Removed the following Sass variables: - - `$euiFormCustomControlDisabledIconColor` - - `$euiFormCustomControlBorderColor` - - `$euiRadioSize` - - `$euiCheckBoxSize` - - `$euiCheckboxBorderRadius` - - `$euiSwitchHeight` (and compressed/mini variants) - - `$euiSwitchWidth` (and compressed/mini variants) - - `$euiSwitchThumbSize` (and compressed/mini variants) - - `$euiSwitchIconHeight` - - `$euiSwitchOffColor` -- Removed the following Sass mixins: - - `euiIconBackground` - - `euiCustomControl` - - `euiCustomControlSelected` - - `euiCustomControlDisabled` - - `euiCustomControlFocused` diff --git a/packages/eui/changelogs/upcoming/7970.md b/packages/eui/changelogs/upcoming/7970.md deleted file mode 100644 index 9ac2adfbed5..00000000000 --- a/packages/eui/changelogs/upcoming/7970.md +++ /dev/null @@ -1,3 +0,0 @@ -**Accessibility** - -- Updated the `aria-label` attribute for the `EuiFieldSearch` clear button diff --git a/packages/eui/src-docs/src/components/guide_page/versions.json b/packages/eui/src-docs/src/components/guide_page/versions.json index 13b782b0fdb..13e8da4847c 100644 --- a/packages/eui/src-docs/src/components/guide_page/versions.json +++ b/packages/eui/src-docs/src/components/guide_page/versions.json @@ -1,5 +1,6 @@ { "euiVersions": [ + "95.8.0", "95.7.0", "95.6.0", "95.5.0", diff --git a/packages/website/static/versions.json b/packages/website/static/versions.json index 13b782b0fdb..13e8da4847c 100644 --- a/packages/website/static/versions.json +++ b/packages/website/static/versions.json @@ -1,5 +1,6 @@ { "euiVersions": [ + "95.8.0", "95.7.0", "95.6.0", "95.5.0",