Skip to content

Commit

Permalink
Bumps @elastic/eui to v34.6.0 and @elastic/charts to v31.1.0
Browse files Browse the repository at this point in the history
* Bumps the dependencies on @elastic/eui and @elastic/charts to their the last Apache-2.0-licensed releases.

* Mitigates changes in `@elastic/eui` v29.3.2 → v34.6.0
  * v30.0.0: Removal of `EuiButtonToggle`
  * v30.0.0: Renaming of `EuiButtonGroupOption`
  * v30.0.0: Requiring `legend` and `isSelected` (unless type='multi') props for `EuiButtonGroup`
  * v30.0.0: Removal of `EuiNavDrawerGroup`
  * v30.0.0: Removal of `compressed` prop from `EuiFormRow`
  * v30.0.0: Removal of `displayOnly` prop from `EuiFormRow`
  * v30.0.0: Elimination of the `withTitle` prop from `EuiPopover`
  * v30.2.0: Addition of indicator icon for external `EuiLink`
  * v30.3.0: Test failure due to the restructuring of focus in `EuiPopover`
  * v31.6.0: Addition of `uiOverlayMask` directly to `EuiModal`
  * v31.9.0: Setting default `size` of “xs” and styling on `EuiButtonIcon` (partial)
  * v33.0.0: Removal of `sh` from languages supported by `EuiCodeBlock`
  * v34.1.0: Changing of the default component of `EuiPageBody` from `main` to `div`

* Mitigates changes in `@elastic/charts` v23.2.2 → v31.1.0
  * v29.0.0: Renaming of `AnnotationDomainTypes` to `AnnotationDomainType`

Signed-off-by: Miki <[email protected]>
  • Loading branch information
AMoo-Miki committed Feb 24, 2022
1 parent 15b561e commit f6de6c9
Show file tree
Hide file tree
Showing 154 changed files with 8,333 additions and 8,749 deletions.
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

0 comments on commit f6de6c9

Please sign in to comment.