Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bumps @elastic/eui to v34.6.0 and @elastic/charts to v31.1.0 #1252

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions examples/bfetch_explorer/public/components/page/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

/*
Expand All @@ -25,11 +28,6 @@
* under the License.
*/

/*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

import * as React from 'react';
import {
EuiPageBody,
Expand All @@ -46,7 +44,7 @@ export interface PageProps {

export const Page: React.FC<PageProps> = ({ title = 'Untitled', children }) => {
return (
<EuiPageBody>
<EuiPageBody component="main">
<EuiPageHeader>
<EuiPageHeaderSection>
<EuiTitle size="l">
Expand Down
10 changes: 4 additions & 6 deletions examples/embeddable_explorer/public/embeddable_panel_example.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

/*
Expand All @@ -25,11 +28,6 @@
* under the License.
*/

/*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

import React, { useState, useEffect, useRef } from 'react';
import {
EuiPanel,
Expand Down Expand Up @@ -140,7 +138,7 @@ export function EmbeddablePanelExample({ embeddableServices, searchListContainer
});

return (
<EuiPageBody>
<EuiPageBody component="main">
<EuiPageHeader>
<EuiPageHeaderSection>
<EuiTitle size="l">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

/*
Expand All @@ -25,11 +28,6 @@
* under the License.
*/

/*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

import React from 'react';
import {
EuiPageBody,
Expand All @@ -53,7 +51,7 @@ interface Props {

export function HelloWorldEmbeddableExample({ helloWorldEmbeddableFactory }: Props) {
return (
<EuiPageBody>
<EuiPageBody component="main">
<EuiPageHeader>
<EuiPageHeaderSection>
<EuiTitle size="l">
Expand Down
10 changes: 4 additions & 6 deletions examples/embeddable_explorer/public/list_container_example.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

/*
Expand All @@ -25,11 +28,6 @@
* under the License.
*/

/*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

import React from 'react';
import {
EuiPageBody,
Expand Down Expand Up @@ -128,7 +126,7 @@ export function ListContainerExample({
};

return (
<EuiPageBody>
<EuiPageBody component="main">
<EuiPageHeader>
<EuiPageHeaderSection>
<EuiTitle size="l">
Expand Down
10 changes: 4 additions & 6 deletions examples/embeddable_explorer/public/todo_embeddable_example.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

/*
Expand All @@ -25,11 +28,6 @@
* under the License.
*/

/*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

import React from 'react';
import {
EuiButton,
Expand Down Expand Up @@ -85,7 +83,7 @@ export class TodoEmbeddableExample extends React.Component<Props, State> {

public render() {
return (
<EuiPageBody>
<EuiPageBody component="main">
<EuiPageHeader>
<EuiPageHeaderSection>
<EuiTitle size="l">
Expand Down
10 changes: 4 additions & 6 deletions examples/routing_example/public/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

/*
Expand All @@ -25,11 +28,6 @@
* under the License.
*/

/*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

import React from 'react';
import ReactDOM from 'react-dom';
import { AppMountParameters } from 'opensearch-dashboards/public';
Expand Down Expand Up @@ -59,7 +57,7 @@ function RoutingExplorer({
}: Props) {
return (
<EuiPage>
<EuiPageBody>
<EuiPageBody component="main">
<EuiPageContent>
<EuiPageContentHeader>
<EuiText>
Expand Down
10 changes: 4 additions & 6 deletions examples/search_examples/public/components/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

/*
Expand All @@ -25,11 +28,6 @@
* under the License.
*/

/*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

import React, { useState, useEffect } from 'react';
import { i18n } from '@osd/i18n';
import { FormattedMessage, I18nProvider } from '@osd/i18n/react';
Expand Down Expand Up @@ -226,7 +224,7 @@ export const SearchExamplesApp = ({
indexPatterns={indexPattern ? [indexPattern] : undefined}
/>
<EuiPage restrictWidth="1000px">
<EuiPageBody>
<EuiPageBody component="main">
<EuiPageHeader>
<EuiTitle size="l">
<h1>
Expand Down
10 changes: 4 additions & 6 deletions examples/state_containers_examples/public/todo/todo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

/*
Expand All @@ -25,11 +28,6 @@
* under the License.
*/

/*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

import React, { useEffect } from 'react';
import { Link, Route, Router, Switch, useLocation } from 'react-router-dom';
import { History } from 'history';
Expand Down Expand Up @@ -289,7 +287,7 @@ export const TodoAppPage: React.FC<{
<Router history={props.history}>
<GlobalStateHelpers.Provider value={globalStateContainer}>
<Provider value={container}>
<EuiPageBody>
<EuiPageBody component="main">
<EuiPageHeader>
<EuiPageHeaderSection>
<EuiTitle size="l">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

/*
Expand All @@ -25,11 +28,6 @@
* under the License.
*/

/*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

import React, { useEffect, useRef, useState } from 'react';
import { History } from 'history';
import { FormattedMessage, I18nProvider } from '@osd/i18n/react';
Expand Down Expand Up @@ -116,7 +114,7 @@ const App = ({ navigation, data, history, osdUrlStateStorage }: StateDemoAppDeps
showSaveQuery={true}
/>
<EuiPage restrictWidth="1000px">
<EuiPageBody>
<EuiPageBody component="main">
<EuiPageHeader>
<EuiTitle size="l">
<h1>
Expand Down
10 changes: 4 additions & 6 deletions examples/ui_actions_explorer/public/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

/*
Expand All @@ -25,11 +28,6 @@
* under the License.
*/

/*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

import React, { useState } from 'react';
import ReactDOM from 'react-dom';

Expand Down Expand Up @@ -62,7 +60,7 @@ const ActionsExplorer = ({ uiActionsApi, openModal }: Props) => {
const [confirmationText, setConfirmationText] = useState('');
return (
<EuiPage>
<EuiPageBody>
<EuiPageBody component="main">
<EuiPageHeader>Ui Actions Explorer</EuiPageHeader>
<EuiPageContent>
<EuiPageContentBody>
Expand Down
10 changes: 4 additions & 6 deletions examples/ui_actions_explorer/public/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

/*
Expand All @@ -25,11 +28,6 @@
* under the License.
*/

/*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

import React from 'react';

import {
Expand All @@ -48,7 +46,7 @@ interface PageProps {

export function Page({ title, children }: PageProps) {
return (
<EuiPageBody data-test-subj="searchTestPage">
<EuiPageBody component="main" data-test-subj="searchTestPage">
<EuiPageHeader>
<EuiPageHeaderSection>
<EuiTitle size="l">
Expand Down
10 changes: 4 additions & 6 deletions examples/url_generators_examples/public/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

/*
Expand All @@ -25,11 +28,6 @@
* under the License.
*/

/*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

import React from 'react';
import ReactDOM from 'react-dom';

Expand Down Expand Up @@ -60,7 +58,7 @@ export const Routes: React.FC<{}> = () => {
const query = useQuery();

return (
<EuiPageBody>
<EuiPageBody component="main">
<EuiPageContent>
<EuiPageContentBody>
<Switch>
Expand Down
Loading