diff --git a/CHANGELOG.md b/CHANGELOG.md
index 45f40029eb3..301aa72a64f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,12 @@
## [`main`](https://github.com/elastic/eui/tree/main)
+
- Updated `testenv` mock for `EuiFlyout` to include default `aria-label` on the close button ([#5702](https://github.com/elastic/eui/pull/5702))
+**Breaking changes**
+
+- Changed the I18n token `euiDataGridToolbar.fullScreenButton` to `euiFullscreenSelector.fullscreenButton`, and its text to `Enter fullscreen` (with no space) ([#5680](https://github.com/elastic/eui/pull/5680))
+- Changed the I18n token `euiDataGridToolbar.fullScreenButtonActive` to `euiFullscreenSelector.fullscreenButtonActive`, and its text to `Exit fullscreen` (with no space) ([#5680](https://github.com/elastic/eui/pull/5680))
+
## [`51.0.0`](https://github.com/elastic/eui/tree/v51.0.0)
- Enhanced `EuiSuggest` to fire the `onItemClick` callback on Enter key press as well as clicks ([#5693](https://github.com/elastic/eui/pull/5693))
diff --git a/src-docs/src/components/guide_page/_guide_page.scss b/src-docs/src/components/guide_page/_guide_page.scss
index a9eebb6ec9c..1344b4409f9 100644
--- a/src-docs/src/components/guide_page/_guide_page.scss
+++ b/src-docs/src/components/guide_page/_guide_page.scss
@@ -22,7 +22,7 @@ $guideSideNavWidth: 240px;
}
.euiHeader:not(.euiHeader--fixed) {
- // Force headers below the full screen.
+ // Force headers below the fullscreen.
// This shouldn't be necessary in consuming applications because headers should always be at the top of the page
z-index: 0;
}
diff --git a/src-docs/src/components/guide_section/guide_section.tsx b/src-docs/src/components/guide_section/guide_section.tsx
index 873ebfd8d92..9e405b42fb5 100644
--- a/src-docs/src/components/guide_section/guide_section.tsx
+++ b/src-docs/src/components/guide_section/guide_section.tsx
@@ -206,7 +206,7 @@ export const GuideSection: FunctionComponent = ({
iconType="fullScreen"
href={`#${path}/${fullScreen.slug}`}
>
- Full screen demo
+ Fullscreen demo
) : (
demo
diff --git a/src-docs/src/views/code/code_example.js b/src-docs/src/views/code/code_example.js
index ab534b01b43..d15fa5c4d1e 100644
--- a/src-docs/src/views/code/code_example.js
+++ b/src-docs/src/views/code/code_example.js
@@ -172,7 +172,7 @@ export const CodeExample = {
For long content, you can set an overflowHeight{' '}
which will scroll if the text exceeds that height, and allows users to
- view the code in full-screen mode.
+ view the code in fullscreen mode.
- The button below will launch a full screen example that includes{' '}
+ The button below will launch a fullscreen example that includes{' '}
EuiHeader
{' '}
diff --git a/src-docs/src/views/context_menu/context_menu_with_content.js b/src-docs/src/views/context_menu/context_menu_with_content.js
index 61042fd1694..db18ad83718 100644
--- a/src-docs/src/views/context_menu/context_menu_with_content.js
+++ b/src-docs/src/views/context_menu/context_menu_with_content.js
@@ -60,7 +60,7 @@ export default () => {
title: 'View options',
items: [
{
- name: 'Show full screen',
+ name: 'Show fullscreen',
icon: ,
onClick: () => {
closePopover();
diff --git a/src-docs/src/views/datagrid/datagrid.js b/src-docs/src/views/datagrid/datagrid.js
index 70e0c508fd0..9dfdc24fc8c 100644
--- a/src-docs/src/views/datagrid/datagrid.js
+++ b/src-docs/src/views/datagrid/datagrid.js
@@ -256,7 +256,7 @@ const trailingControlColumns = [
EuiModal
{' '}
components have a higher z-index than{' '}
- EuiDataGrid components, even in full screen
+ EuiDataGrid components, even in fullscreen
mode. This ensures that modals will never appear behind the
data grid.
@@ -305,7 +305,7 @@ const trailingControlColumns = [
EuiFlyout
{' '}
components have a higher z-index than{' '}
- EuiDataGrid components, even in full screen
+ EuiDataGrid components, even in fullscreen
mode. This ensures that flyouts will never appear behind the
data grid.
Flyouts are also styled with a vertical offset that accounts
for the presence of fixed headers. However, when the data grid
- is in full screen mode, these offset styles are ignored to
+ is in fullscreen mode, these offset styles are ignored to
allow the flyout to correctly appear at the top of the
viewport.
diff --git a/src-docs/src/views/datagrid/datagrid_ref_example.js b/src-docs/src/views/datagrid/datagrid_ref_example.js
index 66795c4e25b..2b7066b3937 100644
--- a/src-docs/src/views/datagrid/datagrid_ref_example.js
+++ b/src-docs/src/views/datagrid/datagrid_ref_example.js
@@ -9,10 +9,10 @@ const dataGridRefSource = require('!!raw-loader!./ref');
const dataGridRefSnippet = `const dataGridRef = useRef();
-// Mnaually toggle the data grid's full screen state
+// Manually toggle the data grid's fullscreen state
dataGridRef.current.setIsFullScreen(true);
-// Mnaually focus a specific cell within the data grid
+// Manually focus a specific cell within the data grid
dataGridRef.current.setFocusedCell({ rowIndex, colIndex });
// Manually opens the popover of a specified cell within the data grid
@@ -45,7 +45,7 @@ export const DataGridRefExample = {
setIsFullScreen(isFullScreen) - controls the
- full screen state of the data grid. Accepts a true/false boolean
+ fullscreen state of the data grid. Accepts a true/false boolean
flag.
diff --git a/src-docs/src/views/datagrid/ref.tsx b/src-docs/src/views/datagrid/ref.tsx
index 267892df41e..e6924988845 100644
--- a/src-docs/src/views/datagrid/ref.tsx
+++ b/src-docs/src/views/datagrid/ref.tsx
@@ -179,7 +179,7 @@ export default () => {
size="s"
onClick={() => dataGridRef.current!.setIsFullScreen(true)}
>
- Set grid to full screen
+ Set grid to fullscreen
diff --git a/src-docs/src/views/datagrid/styling.js b/src-docs/src/views/datagrid/styling.js
index addddfae77d..af221cd621f 100644
--- a/src-docs/src/views/datagrid/styling.js
+++ b/src-docs/src/views/datagrid/styling.js
@@ -678,12 +678,12 @@ const DataGrid = () => {
{
color="primary"
href={`#${parentPath}`}
>
- Exit full screen
+ Exit fullscreen
)}
diff --git a/src-docs/src/views/header/header_example.js b/src-docs/src/views/header/header_example.js
index 66125b1a85f..99fb2852c26 100644
--- a/src-docs/src/views/header/header_example.js
+++ b/src-docs/src/views/header/header_example.js
@@ -477,7 +477,7 @@ export const HeaderExample = {
<>
Putting it all together
- The button below will launch a full screen example that includes two{' '}
+ The button below will launch a fullscreen example that includes two{' '}
EuiHeaders with all the appropriate navigation
pieces including{' '}
diff --git a/src-docs/src/views/image/image_example.js b/src-docs/src/views/image/image_example.js
index ab8025e570e..ee7cbe6c1b8 100644
--- a/src-docs/src/views/image/image_example.js
+++ b/src-docs/src/views/image/image_example.js
@@ -67,7 +67,7 @@ export const ImageExample = {
playground: imageConfig,
},
{
- title: 'Click an image for a full screen version',
+ title: 'Click an image for a fullscreen version',
source: [
{
type: GuideSectionTypes.JS,
@@ -77,7 +77,7 @@ export const ImageExample = {
text: (
Apply the allowFullScreen prop to make the image
- clickable and show a full screen version. Note that the second image
+ clickable and show a fullscreen version. Note that the second image
also passes{' '}
fullScreenIconColor="dark"{' '}
to change icon color to better contrast against the light background
diff --git a/src-docs/src/views/loading/loading_example.js b/src-docs/src/views/loading/loading_example.js
index 4f638c43d9c..5a20c55f077 100644
--- a/src-docs/src/views/loading/loading_example.js
+++ b/src-docs/src/views/loading/loading_example.js
@@ -82,7 +82,7 @@ export const LoadingExample = {
EuiIcon
{' '}
- logos. It should only be used in very large panels, like full screen
+ logos. It should only be used in very large panels, like fullscreen
pages.
You'll find the code for each in their own tab and if you go to
- full screen, you can see how they would behave in a typical
- application layout.
+ fullscreen, you can see how they would behave in a typical application
+ layout.