From 9c8248d519dd57230bd8682d97455ab819fd8e54 Mon Sep 17 00:00:00 2001 From: Matt Provost Date: Wed, 14 Dec 2022 11:00:24 -0800 Subject: [PATCH 01/36] Remove beta badge accent color (#99) Signed-off-by: Matt Provost Signed-off-by: Matt Provost --- src-docs/src/views/badge/beta_badge.js | 2 +- .../beta_badge/__snapshots__/beta_badge.test.tsx.snap | 9 --------- src/components/badge/beta_badge/_beta_badge.scss | 10 ---------- src/components/badge/beta_badge/beta_badge.tsx | 3 +-- 4 files changed, 2 insertions(+), 22 deletions(-) diff --git a/src-docs/src/views/badge/beta_badge.js b/src-docs/src/views/badge/beta_badge.js index ed87da4647..f74562e9d7 100644 --- a/src-docs/src/views/badge/beta_badge.js +++ b/src-docs/src/views/badge/beta_badge.js @@ -13,7 +13,7 @@ import React from 'react'; import { OuiBetaBadge, OuiSpacer, OuiTitle } from '../../../../src/components'; -const colors = ['hollow', 'accent', 'subdued']; +const colors = ['hollow', 'subdued']; export default () => (
diff --git a/src/components/badge/beta_badge/__snapshots__/beta_badge.test.tsx.snap b/src/components/badge/beta_badge/__snapshots__/beta_badge.test.tsx.snap index 44921fb3ca..c2510fec43 100644 --- a/src/components/badge/beta_badge/__snapshots__/beta_badge.test.tsx.snap +++ b/src/components/badge/beta_badge/__snapshots__/beta_badge.test.tsx.snap @@ -11,15 +11,6 @@ exports[`OuiBetaBadge is rendered 1`] = ` `; -exports[`OuiBetaBadge props color accent is rendered 1`] = ` - - Beta - -`; - exports[`OuiBetaBadge props color hollow is rendered 1`] = ` Date: Tue, 28 Feb 2023 11:32:27 -0600 Subject: [PATCH 02/36] OUI combo box refine (#183) * Added a prop clearOnBlur Signed-off-by: AbhishekReddy1127 * Added example for prop clearOnBlur Signed-off-by: AbhishekReddy1127 --------- Signed-off-by: AbhishekReddy1127 --- src-docs/src/views/combo_box/clear_on_blur.js | 93 +++++++++++++++++++ .../src/views/combo_box/combo_box_example.js | 34 +++++++ src/components/combo_box/combo_box.tsx | 16 +++- 3 files changed, 142 insertions(+), 1 deletion(-) create mode 100644 src-docs/src/views/combo_box/clear_on_blur.js diff --git a/src-docs/src/views/combo_box/clear_on_blur.js b/src-docs/src/views/combo_box/clear_on_blur.js new file mode 100644 index 0000000000..01c3585240 --- /dev/null +++ b/src-docs/src/views/combo_box/clear_on_blur.js @@ -0,0 +1,93 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * 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. + */ + +import React, { useState } from 'react'; + +import { OuiComboBox } from '../../../../src/components'; + +export default () => { + const [options, updateOptions] = useState([ + { + label: 'Titan', + 'data-test-subj': 'titanOption', + }, + { + label: 'Enceladus is disabled', + }, + { + label: 'Mimas', + }, + { + label: 'Dione', + }, + { + label: 'Iapetus', + }, + { + label: 'Phoebe', + }, + { + label: 'Rhea', + }, + { + label: + "Pandora is one of Saturn's moons, named for a Titaness of Greek mythology", + }, + { + label: 'Tethys', + }, + { + label: 'Hyperion', + }, + ]); + + const [selectedOptions, setSelected] = useState([options[2], options[4]]); + + const onChange = (selectedOptions) => { + setSelected(selectedOptions); + }; + + const onCreateOption = (searchValue, flattenedOptions) => { + const normalizedSearchValue = searchValue.trim().toLowerCase(); + + if (!normalizedSearchValue) { + return; + } + + const newOption = { + label: searchValue, + }; + + // Create the option if it doesn't exist. + if ( + flattenedOptions.findIndex( + (option) => option.label.trim().toLowerCase() === normalizedSearchValue + ) === -1 + ) { + updateOptions([...options, newOption]); + } + + // Select the option. + setSelected((prevSelected) => [...prevSelected, newOption]); + }; + + return ( + + ); +}; diff --git a/src-docs/src/views/combo_box/combo_box_example.js b/src-docs/src/views/combo_box/combo_box_example.js index 3822d11104..4b94785685 100644 --- a/src-docs/src/views/combo_box/combo_box_example.js +++ b/src-docs/src/views/combo_box/combo_box_example.js @@ -39,6 +39,7 @@ const comboBoxSnippet = ``; import Containers from './containers'; @@ -206,6 +207,17 @@ const duplicateOptionsSnippet = `const options = [{ key: 'Label2', }]`; +import ClearOnBlur from './clear_on_blur'; +const clearOnBlurSource = require('!!raw-loader!./clear_on_blur'); +const clearOnBlurSourceOptionsHtml = renderToHtml(ClearOnBlur); +const clearOnBlurSnippet = ``; + export const ComboBoxExample = { title: 'Combo box', intro: ( @@ -600,5 +612,27 @@ export const ComboBoxExample = { demo: , snippet: duplicateOptionsSnippet, }, + { + title: 'Clear on blur', + source: [ + { + type: GuideSectionTypes.JS, + code: clearOnBlurSource, + }, + { + type: GuideSectionTypes.HTML, + code: clearOnBlurSourceOptionsHtml, + }, + ], + text: ( +

+ Set the prop clearOnBlur to make the combo box + input text clear when user focuses out of text box. +

+ ), + props: { OuiComboBox, OuiComboBoxOptionOption }, + snippet: clearOnBlurSnippet, + demo: , + }, ], }; diff --git a/src/components/combo_box/combo_box.tsx b/src/components/combo_box/combo_box.tsx index 0cd51a7eba..fa1de7d014 100644 --- a/src/components/combo_box/combo_box.tsx +++ b/src/components/combo_box/combo_box.tsx @@ -166,6 +166,10 @@ export interface _OuiComboBoxProps * Specifies that the input should have focus when the component loads */ autoFocus?: boolean; + /** + * When `true` clears the input text when user focus out of the input box + */ + clearOnBlur?: boolean; } /** @@ -466,10 +470,20 @@ export class OuiComboBox extends Component< options, selectedOptions, singleSelection, + clearOnBlur, } = this.props; - const { matchingOptions } = this.state; + const { hasFocus, isListOpen } = this.state; + if ( + clearOnBlur && + searchValue && + (hasFocus === false || isListOpen === false) + ) { + this.clearSearchValue(); + return; + } + if (this.doesSearchMatchOnlyOption()) { this.onAddOption(matchingOptions[0], isContainerBlur); return; From 2718c64cc45af7f98b260727d65e7da656230d94 Mon Sep 17 00:00:00 2001 From: Matt Provost Date: Tue, 28 Feb 2023 09:39:18 -0800 Subject: [PATCH 03/36] Update Comment List Docs (#252) Signed-off-by: Matt Provost --- src-docs/src/views/comment/comment.tsx | 8 +------- src-docs/src/views/comment/comment_example.js | 4 +--- src-docs/src/views/comment/comment_list.tsx | 13 +++++-------- 3 files changed, 7 insertions(+), 18 deletions(-) diff --git a/src-docs/src/views/comment/comment.tsx b/src-docs/src/views/comment/comment.tsx index 53881e838d..d72839da3c 100644 --- a/src-docs/src/views/comment/comment.tsx +++ b/src-docs/src/views/comment/comment.tsx @@ -17,13 +17,7 @@ import { OuiText } from '../../../../src/components/text'; const body = (

- Officia tempor minim dolore adipisicing non irure irure consectetur - pariatur. Consequat occaecat cillum et et pariatur. Officia dolore - reprehenderit sint aute ut cupidatat consectetur nulla nostrud incididunt - pariatur nulla velit ut. Minim quis adipisicing non minim. Ullamco elit - dolore enim Lorem proident do exercitation aute laboris. Eu aliqua labore - enim minim deserunt dolor. Nisi labore occaecat mollit mollit irure - reprehenderit. + Quisque a nisi lacinia, ultrices ipsum sed, tempor odio. Nulla facilisi.

); diff --git a/src-docs/src/views/comment/comment_example.js b/src-docs/src/views/comment/comment_example.js index e6ca047f47..52eae93131 100644 --- a/src-docs/src/views/comment/comment_example.js +++ b/src-docs/src/views/comment/comment_example.js @@ -167,9 +167,7 @@ export const CommentListExample = {

Change the type to update to display comments that generally do not have a body and are logging actions that - either the user or the system has performed (e.g. “jsmith - edited a case” or “kibanamachine added the review - label”). + either the user or the system has performed.

), diff --git a/src-docs/src/views/comment/comment_list.tsx b/src-docs/src/views/comment/comment_list.tsx index bdf538462c..866ca753c4 100644 --- a/src-docs/src/views/comment/comment_list.tsx +++ b/src-docs/src/views/comment/comment_list.tsx @@ -23,10 +23,7 @@ import { OuiFlexGroup, OuiFlexItem } from '../../../../src/components/flex'; const body = (

- Irure non eiusmod minim id aliqua esse proident veniam cillum amet. Est - nulla ea amet culpa. Non tempor magna eiusmod ex eu anim. Commodo nulla - nisi et et nisi elit sit. Do veniam occaecat proident qui proident et - occaecat. + Quisque a nisi lacinia, ultrices ipsum sed, tempor odio. Nulla facilisi.

); @@ -64,10 +61,10 @@ const complexUsername = ( const longBody = (

- Irure veniam mollit elit esse proident ex tempor ad Lorem pariatur. - Incididunt enim cillum in occaecat esse pariatur veniam proident aute. - Reprehenderit quis nulla labore velit ipsum duis exercitation cupidatat - cupidatat deserunt ut magna duis nulla. + Mauris mauris orci, volutpat id blandit eu, sodales a quam. In convallis + pulvinar sollicitudin. Vivamus luctus sed mauris quis tincidunt. Nunc at + congue metus, vitae tincidunt ligula. In finibus nisi non mollis + convallis.

); From ff96fdb78dbfd6807801749c56fbb5904715b276 Mon Sep 17 00:00:00 2001 From: Abhishek Reddy <62020972+AbhishekReddy1127@users.noreply.github.com> Date: Mon, 27 Feb 2023 19:47:55 -0600 Subject: [PATCH 04/36] Updated the section Collapsable Nav (#330) Signed-off-by: AbhishekReddy1127 Co-authored-by: Sean Neumann <1413295+seanneumann@users.noreply.github.com> --- .../views/collapsible_nav/collapsible_nav.tsx | 2 +- .../collapsible_nav/collapsible_nav_all.tsx | 170 ++++-------------- .../collapsible_nav_example.js | 5 +- .../collapsible_nav/collapsible_nav_group.tsx | 8 +- .../collapsible_nav/collapsible_nav_list.tsx | 157 ++++++---------- 5 files changed, 100 insertions(+), 242 deletions(-) diff --git a/src-docs/src/views/collapsible_nav/collapsible_nav.tsx b/src-docs/src/views/collapsible_nav/collapsible_nav.tsx index dbbf12ce33..08aa6d3d74 100644 --- a/src-docs/src/views/collapsible_nav/collapsible_nav.tsx +++ b/src-docs/src/views/collapsible_nav/collapsible_nav.tsx @@ -44,7 +44,7 @@ export default () => { onClose={() => setNavIsOpen(false)}>
-

I am some nav

+

Navigation

diff --git a/src-docs/src/views/collapsible_nav/collapsible_nav_all.tsx b/src-docs/src/views/collapsible_nav/collapsible_nav_all.tsx index 508da42263..1155a251d8 100644 --- a/src-docs/src/views/collapsible_nav/collapsible_nav_all.tsx +++ b/src-docs/src/views/collapsible_nav/collapsible_nav_all.tsx @@ -10,8 +10,6 @@ */ import React, { useState } from 'react'; -import find from 'lodash/find'; -import findIndex from 'lodash/findIndex'; import { OuiCollapsibleNav, @@ -26,48 +24,21 @@ import { OuiIcon } from '../../../../src/components/icon'; import { OuiButtonEmpty } from '../../../../src/components/button'; import { OuiPageTemplate } from '../../../../src/components/page'; import { - OuiPinnableListGroup, OuiListGroupItem, - OuiPinnableListGroupItemProps, + OuiListGroup, } from '../../../../src/components/list_group'; import { OuiFlexItem } from '../../../../src/components/flex'; -import { OuiHorizontalRule } from '../../../../src/components/horizontal_rule'; import { - DeploymentsGroup, - KibanaNavLinks, - SecurityGroup, + ManagementLinks, + OpenSearchDashboardsLinks, + OpenSearchPluginLinks, } from './collapsible_nav_list'; import { OuiShowFor } from '../../../../src/components/responsive'; import { OuiImage } from '../../../../src/components/image'; import contentSvg from '../../images/content.svg'; import { useExitPath } from '../../services/routing/routing'; -const TopLinks: OuiPinnableListGroupItemProps[] = [ - { - label: 'Home', - iconType: 'home', - isActive: true, - 'aria-current': true, - onClick: () => {}, - pinnable: false, - }, -]; -const KibanaLinks: OuiPinnableListGroupItemProps[] = KibanaNavLinks.map( - (link) => { - return { - ...link, - onClick: () => {}, - }; - } -); -const LearnLinks: OuiPinnableListGroupItemProps[] = [ - { label: 'Docs', onClick: () => {} }, - { label: 'Blogs', onClick: () => {} }, - { label: 'Webinars', onClick: () => {} }, - { label: 'Elastic.co', href: 'https://elastic.co' }, -]; - const CollapsibleNavAll = () => { const exitPath = useExitPath(); const [navIsOpen, setNavIsOpen] = useState(true); @@ -80,8 +51,9 @@ const CollapsibleNavAll = () => { */ const [openGroups, setOpenGroups] = useState( JSON.parse(String(localStorage.getItem('openNavGroups'))) || [ - 'Kibana', - 'Learn', + 'OpenSearch Dashboards', + 'OpenSearch Plugins', + 'Management', ] ); @@ -102,55 +74,6 @@ const CollapsibleNavAll = () => { localStorage.setItem('openNavGroups', JSON.stringify(openGroups)); }; - /** - * Pinning - */ - const [pinnedItems, setPinnedItems] = useState< - OuiPinnableListGroupItemProps[] - >(JSON.parse(String(localStorage.getItem('pinnedItems'))) || []); - - const addPin = (item: any) => { - if (!item || find(pinnedItems, { label: item.label })) { - return; - } - item.pinned = true; - const newPinnedItems = pinnedItems ? pinnedItems.concat(item) : [item]; - setPinnedItems(newPinnedItems); - localStorage.setItem('pinnedItems', JSON.stringify(newPinnedItems)); - }; - - const removePin = (item: any) => { - const pinIndex = findIndex(pinnedItems, { label: item.label }); - if (pinIndex > -1) { - item.pinned = false; - const newPinnedItems = pinnedItems; - newPinnedItems.splice(pinIndex, 1); - setPinnedItems([...newPinnedItems]); - localStorage.setItem('pinnedItems', JSON.stringify(newPinnedItems)); - } - }; - - function alterLinksWithCurrentState( - links: OuiPinnableListGroupItemProps[], - showPinned = false - ): OuiPinnableListGroupItemProps[] { - return links.map((link) => { - const { pinned, ...rest } = link; - return { - pinned: showPinned ? pinned : false, - ...rest, - }; - }); - } - - function addLinkNameToPinTitle(listItem: OuiPinnableListGroupItemProps) { - return `Pin ${listItem.label} to top`; - } - - function addLinkNameToUnpinTitle(listItem: OuiPinnableListGroupItemProps) { - return `Unpin ${listItem.label}`; - } - const collapsibleNav = ( { } onClose={() => setNavIsOpen(false)}> - {/* Dark deployments section */} - - {DeploymentsGroup} - - - {/* Shaded pinned section always with a home item */} - + {/* BOTTOM */} + + {/* OpenSearch Dashboards section */} - + toggleAccordion(isOpen, 'OpenSearch Dashboards') + }> + - - - - - {/* BOTTOM */} - - {/* Kibana section */} toggleAccordion(isOpen, 'Kibana')}> - + toggleAccordion(isOpen, 'OpenSearch Plugins') + }> + { /> - {/* Security callout */} - {SecurityGroup} - - {/* Learn section */} toggleAccordion(isOpen, 'Learn')}> - toggleAccordion(isOpen, 'Management')}> + { const leftSectionItems = [ collapsibleNav, - - Elastic + + OpenSearch UI , ]; diff --git a/src-docs/src/views/collapsible_nav/collapsible_nav_example.js b/src-docs/src/views/collapsible_nav/collapsible_nav_example.js index 907726f8c9..1da140014a 100644 --- a/src-docs/src/views/collapsible_nav/collapsible_nav_example.js +++ b/src-docs/src/views/collapsible_nav/collapsible_nav_example.js @@ -179,7 +179,7 @@ export const CollapsibleNavExample = { `, }, { - title: 'Full pattern with header and saved pins', + title: 'Full pattern with header', source: [ { type: GuideSectionTypes.JS, @@ -196,8 +196,7 @@ export const CollapsibleNavExample = { {' '} with a toggle button to open an OuiCollapsibleNav. The contents of which are multiple{' '} - OuiCollapsibleNavGroups and saves the - open/closed/pinned state for each section and item in local store. + OuiCollapsibleNavGroups

This is just a pattern and should be treated as such. Consuming diff --git a/src-docs/src/views/collapsible_nav/collapsible_nav_group.tsx b/src-docs/src/views/collapsible_nav/collapsible_nav_group.tsx index 4d337013ae..d0de5c59f9 100644 --- a/src-docs/src/views/collapsible_nav/collapsible_nav_group.tsx +++ b/src-docs/src/views/collapsible_nav/collapsible_nav_group.tsx @@ -22,10 +22,7 @@ export default () => (

This is a basic group without any modifications

- +

This is a nice group with a heading supplied via{' '} @@ -38,7 +35,6 @@ export default () => ( background="light" title="Nav group" isCollapsible={true} - iconType="logoElastic" initialIsOpen={true}>

@@ -51,8 +47,6 @@ export default () => ( { + return { + ...link, + onClick: () => {}, + }; +}); -export const DeploymentsGroup = ( - - Deployment
- personal-databoard - - } - iconType="logoGCPMono" - iconSize="xl" - isCollapsible={true} - initialIsOpen={false} - background="dark"> -

- - - - Manage deployments - -
-
-); +export const OpenSearchPluginLinks: OuiListGroupItemProps[] = [ + { label: 'Query Workbench' }, + { label: 'Reporting' }, + { label: 'Alerting' }, + { label: 'Anomaly Detection' }, + { label: 'Notification' }, + { label: 'Observability' }, + { label: 'Security Analytics' }, + { label: 'Index Management' }, + { label: 'Search Relevance' }, +].map((link) => { + return { + ...link, + onClick: () => {}, + }; +}); -export const SecurityGroup = ( - - }> - -

- Threat prevention, detection, and response with SIEM and endpoint - security. -
- Learn more -

-
-
-); +export const ManagementLinks: OuiListGroupItemProps[] = [ + { label: 'Dev Tools' }, + { label: 'Stack Management' }, +].map((link) => { + return { + ...link, + onClick: () => {}, + }; +}); export default () => ( <> - {DeploymentsGroup} - - {}} + + + + + - {}} + - {SecurityGroup} ); From 8e1cbf0f25c921f4b587c77dcbeb349f1854329a Mon Sep 17 00:00:00 2001 From: Abhishek Reddy <62020972+AbhishekReddy1127@users.noreply.github.com> Date: Mon, 27 Feb 2023 15:22:59 -0600 Subject: [PATCH 05/36] Updated the kibana to opensearch_dashboards (#343) Signed-off-by: AbhishekReddy1127 --- src-docs/src/views/expression/columns.js | 18 +++++++++--------- src-docs/src/views/expression/stringing.tsx | 4 ++-- src-docs/src/views/expression/truncate.js | 6 ++++-- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/src-docs/src/views/expression/columns.js b/src-docs/src/views/expression/columns.js index dfc7915ebf..0a20b0f5d1 100644 --- a/src-docs/src/views/expression/columns.js +++ b/src-docs/src/views/expression/columns.js @@ -26,8 +26,8 @@ export default () => { isOpen: false, value: ( -

.kibana_task_manager,

-

kibana_sample_data_ecommerce

+

.opensearch_dashboards_task_manager,

+

opensearch_dashboards_sample_data_ecommerce

), }); @@ -39,19 +39,19 @@ export default () => { const options = [ { - label: '.kibana_task_manager', + label: '.opensearch_dashboards_task_manager', }, { - label: 'kibana_sample_data_ecommerce', + label: 'opensearch_dashboards_sample_data_ecommerce', }, { - label: '.kibana-event-log-8.0.0-000001', + label: '.opensearch_dashboards-event-log-8.0.0-000001', }, { - label: 'kibana_sample_data_flights', + label: 'opensearch_dashboards_sample_data_flights', }, { - label: '.kibana-event-log-8.0.0', + label: '.opensearch_dashboards-event-log-8.0.0', }, ]; @@ -193,7 +193,7 @@ export default () => { @@ -203,7 +203,7 @@ export default () => { description="join" display="columns" descriptionWidth={50} - value="kibana_sample_data_ky_avl" + value="opensearch_dashboards_sample_data_ky_avl" onClick={() => {}} />
diff --git a/src-docs/src/views/expression/stringing.tsx b/src-docs/src/views/expression/stringing.tsx index a3dbe3d2e1..a76c2aeebc 100644 --- a/src-docs/src/views/expression/stringing.tsx +++ b/src-docs/src/views/expression/stringing.tsx @@ -18,11 +18,11 @@ export default () => ( {}} /> {}} /> diff --git a/src-docs/src/views/expression/truncate.js b/src-docs/src/views/expression/truncate.js index 773c3a0e8c..644d9c913b 100644 --- a/src-docs/src/views/expression/truncate.js +++ b/src-docs/src/views/expression/truncate.js @@ -17,8 +17,10 @@ const value = 'and a very long string as value'; const description = 'some very very long description'; const nodes = ( -

.kibana_task_manager

-

kibana_sample_data_ecommerce

+

.opensearch_dashboards_task_manager

+

+ opensearch_dashboards_sample_data_ecommerce +

); From 603af1b79bbfbab2378c165f24c4f0e97baa7841 Mon Sep 17 00:00:00 2001 From: Abhishek Reddy <62020972+AbhishekReddy1127@users.noreply.github.com> Date: Mon, 27 Feb 2023 13:01:03 -0600 Subject: [PATCH 06/36] Updated the section drag and drop (#514) Signed-off-by: AbhishekReddy1127 Co-authored-by: Sean Neumann <1413295+seanneumann@users.noreply.github.com> --- .../src/components/guide_page/guide_page.js | 12 +- src-docs/src/routes.js | 2 + .../drag_and_drop/drag_and_drop_example.js | 109 ++++++++++-------- 3 files changed, 74 insertions(+), 49 deletions(-) diff --git a/src-docs/src/components/guide_page/guide_page.js b/src-docs/src/components/guide_page/guide_page.js index 2fe24c9f35..ab50829319 100644 --- a/src-docs/src/components/guide_page/guide_page.js +++ b/src-docs/src/components/guide_page/guide_page.js @@ -24,6 +24,7 @@ const GuidePageComponent = ({ title, intro, isBeta, + isExperimental, playground, guidelines, location, @@ -32,10 +33,16 @@ const GuidePageComponent = ({ }) => { const betaBadge = isBeta ? ( ) : undefined; + const experimentalBadge = isExperimental ? ( + + ) : undefined; const tabs = [ { @@ -95,7 +102,7 @@ const GuidePageComponent = ({ restrictWidth pageTitle={ <> - {title} {betaBadge} + {title} {betaBadge || experimentalBadge} } tabs={renderTabs()}> @@ -131,6 +138,7 @@ GuidePageComponent.propTypes = { intro: PropTypes.node, componentLinkTo: PropTypes.string, isBeta: PropTypes.bool, + isExperimental: PropTypes.bool, playground: PropTypes.node, guidelines: PropTypes.node, location: PropTypes.object, diff --git a/src-docs/src/routes.js b/src-docs/src/routes.js index 7d19640ea6..def47df4a5 100644 --- a/src-docs/src/routes.js +++ b/src-docs/src/routes.js @@ -243,6 +243,7 @@ const createExample = (example, customTitle) => { intro, sections, beta, + isExperimental, isNew, playground, guidelines, @@ -274,6 +275,7 @@ const createExample = (example, customTitle) => { title={title} intro={intro} isBeta={beta} + isExperimental={isExperimental} playground={playgroundComponent} guidelines={guidelines}> {renderedSections} diff --git a/src-docs/src/views/drag_and_drop/drag_and_drop_example.js b/src-docs/src/views/drag_and_drop/drag_and_drop_example.js index 9a7b107718..24102b19d2 100644 --- a/src-docs/src/views/drag_and_drop/drag_and_drop_example.js +++ b/src-docs/src/views/drag_and_drop/drag_and_drop_example.js @@ -57,57 +57,72 @@ const dragAndDropComplexHtml = renderToHtml(DragAndDropComplex); export const DragAndDropExample = { title: 'Drag and drop', - beta: true, - intro: ( - - -

- An extension of{' '} - - react-beautiful-dnd - {' '} - with a compatible API and built-in style opinions. Functionality - results from 3 components working together: -

-
    -
  • - {''}: Section of your - application containing the draggable elements and the drop targets. -
  • -
  • - {''}: Area into which items can - be dropped. Contains one or more{' '} - {''}. -
  • -
  • - {''}: Items that can be dragged. - Must be part of an {''} -
  • -
-
+ isExperimental: true, + sections: [ + { + source: [ + { + type: GuideSectionTypes.JS, + code: dragAndDropBareSource, + }, + { + type: GuideSectionTypes.HTML, + code: dragAndDropBareHtml, + }, + ], + text: ( + + +

+ An extension of{' '} + + react-beautiful-dnd + {' '} + with a compatible API and built-in style opinions. Functionality + results from 3 components working together: +

+
    +
  • + {''}: Section of your + application containing the draggable elements and the drop + targets. +
  • +
  • + {''}: Area into which items + can be dropped. Contains one or more{' '} + {''}. +
  • +
  • + {''}: Items that can be + dragged. Must be part of an{' '} + {''} +
  • +
+
- + - -

- Drag and drop interfaces are not well-adapted to many cases, and may - be less suitable than other form types for data operations. For - instance, drag and drop interaction relies heavily on spatial - orientation that may not be entirelty valid to all users (e.g., screen - readers as the sole source of information). Similarly, users - navigating by keyboard may not be afforded nuanced, dual-axis drag - item manipulation. -

-

- {`OUI (largely due to the great work already in react-beautiful-dnd) has and will continue to ensure accessibility where possible. + +

+ Drag and drop interfaces are not well-adapted to many cases, and + may be less suitable than other form types for data operations. + For instance, drag and drop interaction relies heavily on spatial + orientation that may not be entirelty valid to all users (e.g., + screen readers as the sole source of information). Similarly, + users navigating by keyboard may not be afforded nuanced, + dual-axis drag item manipulation. +

+

+ {`OUI (largely due to the great work already in react-beautiful-dnd) has and will continue to ensure accessibility where possible. With that in mind, keep your users' working context in mind.`} -

-
-
- ), - sections: [ +

+ +
+ ), + props: { OuiDragDropContext, OuiDraggable, OuiDroppable }, + demo: , + }, { - title: 'Just the facts', source: [ { type: GuideSectionTypes.JS, From 6043f7c0009b16f13634dd6e3199e043a17524e7 Mon Sep 17 00:00:00 2001 From: Andrey Myssak <40265277+andreymyssak@users.noreply.github.com> Date: Wed, 3 May 2023 01:06:12 +0600 Subject: [PATCH 07/36] Update @svgr/core and @svgr/plugin-svgo (#594) (#649) Signed-off-by: Andrey Myssak Co-authored-by: Sergey Myssak --- package.json | 7 +- scripts/compile-icons.js | 35 +- .../icon/__snapshots__/icon.test.tsx.snap | 1307 +++++++++-------- src/components/icon/assets/accessibility.js | 6 +- src/components/icon/assets/aggregate.js | 6 +- src/components/icon/assets/alert.js | 6 +- src/components/icon/assets/analyze_event.js | 6 +- src/components/icon/assets/annotation.js | 6 +- src/components/icon/assets/apm_trace.js | 6 +- src/components/icon/assets/app_add_data.js | 8 +- .../icon/assets/app_advanced_settings.js | 16 +- src/components/icon/assets/app_apm.js | 6 +- src/components/icon/assets/app_app_search.js | 8 +- src/components/icon/assets/app_auditbeat.js | 6 +- src/components/icon/assets/app_canvas.js | 8 +- src/components/icon/assets/app_code.js | 8 +- src/components/icon/assets/app_console.js | 10 +- .../assets/app_cross_cluster_replication.js | 6 +- src/components/icon/assets/app_dashboard.js | 12 +- src/components/icon/assets/app_devtools.js | 8 +- src/components/icon/assets/app_discover.js | 8 +- src/components/icon/assets/app_ems.js | 8 +- src/components/icon/assets/app_filebeat.js | 8 +- src/components/icon/assets/app_gis.js | 8 +- src/components/icon/assets/app_graph.js | 8 +- src/components/icon/assets/app_grok.js | 8 +- src/components/icon/assets/app_heartbeat.js | 8 +- .../icon/assets/app_index_management.js | 8 +- .../icon/assets/app_index_pattern.js | 8 +- .../icon/assets/app_index_rollup.js | 12 +- src/components/icon/assets/app_lens.js | 8 +- src/components/icon/assets/app_logs.js | 8 +- src/components/icon/assets/app_management.js | 8 +- src/components/icon/assets/app_metricbeat.js | 10 +- src/components/icon/assets/app_metrics.js | 8 +- src/components/icon/assets/app_ml.js | 8 +- src/components/icon/assets/app_monitoring.js | 8 +- src/components/icon/assets/app_notebook.js | 8 +- src/components/icon/assets/app_packetbeat.js | 8 +- src/components/icon/assets/app_pipeline.js | 8 +- .../icon/assets/app_recently_viewed.js | 8 +- src/components/icon/assets/app_reporting.js | 10 +- .../icon/assets/app_saved_objects.js | 8 +- .../icon/assets/app_search_profiler.js | 10 +- src/components/icon/assets/app_security.js | 8 +- .../icon/assets/app_security_analytics.js | 6 +- src/components/icon/assets/app_spaces.js | 8 +- src/components/icon/assets/app_sql.js | 8 +- src/components/icon/assets/app_timelion.js | 8 +- .../icon/assets/app_upgrade_assistant.js | 8 +- src/components/icon/assets/app_uptime.js | 8 +- src/components/icon/assets/app_users_roles.js | 8 +- src/components/icon/assets/app_visualize.js | 8 +- src/components/icon/assets/app_watches.js | 12 +- .../icon/assets/app_workplace_search.js | 8 +- src/components/icon/assets/apps.js | 6 +- src/components/icon/assets/arrow_down.js | 6 +- src/components/icon/assets/arrow_left.js | 6 +- src/components/icon/assets/arrow_right.js | 6 +- src/components/icon/assets/arrow_up.js | 6 +- src/components/icon/assets/asterisk.js | 6 +- src/components/icon/assets/beaker.js | 6 +- src/components/icon/assets/bell.js | 6 +- src/components/icon/assets/bellSlash.js | 6 +- src/components/icon/assets/bolt.js | 6 +- .../icon/assets/boxes_horizontal.js | 6 +- src/components/icon/assets/boxes_vertical.js | 6 +- src/components/icon/assets/branch.js | 6 +- src/components/icon/assets/broom.js | 6 +- src/components/icon/assets/brush.js | 6 +- src/components/icon/assets/bug.js | 6 +- src/components/icon/assets/bullseye.js | 6 +- src/components/icon/assets/calendar.js | 6 +- src/components/icon/assets/check.js | 6 +- .../icon/assets/checkInCircleFilled.js | 6 +- src/components/icon/assets/cheer.js | 6 +- src/components/icon/assets/clock.js | 6 +- src/components/icon/assets/cloudDrizzle.js | 6 +- src/components/icon/assets/cloudStormy.js | 6 +- src/components/icon/assets/cloudSunny.js | 6 +- src/components/icon/assets/color.js | 6 +- src/components/icon/assets/compute.js | 6 +- src/components/icon/assets/console.js | 6 +- src/components/icon/assets/continuityAbove.js | 6 +- .../icon/assets/continuityAboveBelow.js | 6 +- src/components/icon/assets/continuityBelow.js | 6 +- .../icon/assets/continuityWithin.js | 6 +- .../icon/assets/controls_horizontal.js | 6 +- .../icon/assets/controls_vertical.js | 6 +- src/components/icon/assets/copy.js | 8 +- src/components/icon/assets/copy_clipboard.js | 8 +- src/components/icon/assets/cross.js | 6 +- .../icon/assets/crossInACircleFilled.js | 6 +- src/components/icon/assets/crosshairs.js | 6 +- src/components/icon/assets/currency.js | 6 +- src/components/icon/assets/cut.js | 6 +- src/components/icon/assets/database.js | 6 +- src/components/icon/assets/document.js | 6 +- src/components/icon/assets/documentEdit.js | 6 +- src/components/icon/assets/documentation.js | 10 +- src/components/icon/assets/documents.js | 6 +- src/components/icon/assets/dot.js | 4 +- src/components/icon/assets/download.js | 8 +- .../icon/assets/editorDistributeHorizontal.js | 6 +- .../icon/assets/editorDistributeVertical.js | 6 +- .../icon/assets/editorItemAlignBottom.js | 6 +- .../icon/assets/editorItemAlignCenter.js | 6 +- .../icon/assets/editorItemAlignLeft.js | 6 +- .../icon/assets/editorItemAlignMiddle.js | 6 +- .../icon/assets/editorItemAlignRight.js | 6 +- .../icon/assets/editorItemAlignTop.js | 6 +- .../icon/assets/editorPositionBottomLeft.js | 6 +- .../icon/assets/editorPositionBottomRight.js | 6 +- .../icon/assets/editorPositionTopLeft.js | 6 +- .../icon/assets/editorPositionTopRight.js | 6 +- .../icon/assets/editor_align_center.js | 6 +- .../icon/assets/editor_align_left.js | 6 +- .../icon/assets/editor_align_right.js | 6 +- src/components/icon/assets/editor_bold.js | 6 +- .../icon/assets/editor_code_block.js | 6 +- src/components/icon/assets/editor_comment.js | 6 +- src/components/icon/assets/editor_heading.js | 6 +- src/components/icon/assets/editor_italic.js | 6 +- src/components/icon/assets/editor_link.js | 6 +- .../icon/assets/editor_ordered_list.js | 6 +- src/components/icon/assets/editor_redo.js | 6 +- src/components/icon/assets/editor_strike.js | 6 +- src/components/icon/assets/editor_table.js | 6 +- .../icon/assets/editor_underline.js | 6 +- src/components/icon/assets/editor_undo.js | 6 +- .../icon/assets/editor_unordered_list.js | 6 +- src/components/icon/assets/email.js | 6 +- src/components/icon/assets/empty.js | 4 +- src/components/icon/assets/eql.js | 8 +- src/components/icon/assets/eraser.js | 8 +- src/components/icon/assets/exit.js | 6 +- src/components/icon/assets/expand.js | 6 +- src/components/icon/assets/expandMini.js | 6 +- src/components/icon/assets/export.js | 6 +- src/components/icon/assets/eye.js | 6 +- src/components/icon/assets/eye_closed.js | 6 +- src/components/icon/assets/faceNeutral.js | 6 +- src/components/icon/assets/face_happy.js | 6 +- src/components/icon/assets/face_neutral.js | 8 +- src/components/icon/assets/face_sad.js | 6 +- src/components/icon/assets/filter.js | 6 +- src/components/icon/assets/flag.js | 6 +- src/components/icon/assets/fold.js | 6 +- src/components/icon/assets/folder_check.js | 6 +- src/components/icon/assets/folder_closed.js | 6 +- .../icon/assets/folder_exclamation.js | 6 +- src/components/icon/assets/folder_open.js | 6 +- src/components/icon/assets/frameNext.js | 6 +- src/components/icon/assets/framePrevious.js | 6 +- src/components/icon/assets/fullScreenExit.js | 6 +- src/components/icon/assets/full_screen.js | 6 +- src/components/icon/assets/function.js | 4 +- src/components/icon/assets/gear.js | 6 +- src/components/icon/assets/glasses.js | 6 +- src/components/icon/assets/globe.js | 6 +- src/components/icon/assets/grab.js | 6 +- src/components/icon/assets/grab_horizontal.js | 6 +- src/components/icon/assets/grid.js | 6 +- src/components/icon/assets/heart.js | 6 +- src/components/icon/assets/heatmap.js | 6 +- src/components/icon/assets/help.js | 6 +- src/components/icon/assets/home.js | 6 +- src/components/icon/assets/iInCircle.js | 6 +- src/components/icon/assets/image.js | 6 +- src/components/icon/assets/import.js | 6 +- src/components/icon/assets/index_close.js | 6 +- src/components/icon/assets/index_edit.js | 6 +- src/components/icon/assets/index_flush.js | 6 +- src/components/icon/assets/index_mapping.js | 6 +- src/components/icon/assets/index_open.js | 6 +- src/components/icon/assets/index_runtime.js | 6 +- src/components/icon/assets/index_settings.js | 10 +- src/components/icon/assets/inputOutput.js | 4 +- src/components/icon/assets/inspect.js | 6 +- src/components/icon/assets/invert.js | 8 +- src/components/icon/assets/ip.js | 6 +- .../icon/assets/keyboard_shortcut.js | 6 +- src/components/icon/assets/kql_field.js | 6 +- src/components/icon/assets/kql_function.js | 6 +- src/components/icon/assets/kql_operand.js | 6 +- src/components/icon/assets/kql_selector.js | 6 +- src/components/icon/assets/kql_value.js | 6 +- src/components/icon/assets/layers.js | 10 +- src/components/icon/assets/link.js | 6 +- src/components/icon/assets/list.js | 6 +- src/components/icon/assets/list_add.js | 6 +- src/components/icon/assets/lock.js | 6 +- src/components/icon/assets/lockOpen.js | 6 +- src/components/icon/assets/logo_aerospike.js | 6 +- src/components/icon/assets/logo_apache.js | 18 +- src/components/icon/assets/logo_app_search.js | 10 +- src/components/icon/assets/logo_aws.js | 10 +- src/components/icon/assets/logo_aws_mono.js | 10 +- src/components/icon/assets/logo_azure.js | 6 +- src/components/icon/assets/logo_azure_mono.js | 6 +- src/components/icon/assets/logo_beats.js | 8 +- .../icon/assets/logo_business_analytics.js | 6 +- src/components/icon/assets/logo_ceph.js | 8 +- src/components/icon/assets/logo_cloud.js | 10 +- src/components/icon/assets/logo_cloud_ece.js | 10 +- src/components/icon/assets/logo_code.js | 10 +- .../icon/assets/logo_codesandbox.js | 6 +- src/components/icon/assets/logo_couchbase.js | 6 +- src/components/icon/assets/logo_docker.js | 6 +- src/components/icon/assets/logo_dropwizard.js | 20 +- src/components/icon/assets/logo_elastic.js | 18 +- .../icon/assets/logo_elastic_stack.js | 10 +- .../icon/assets/logo_elasticsearch.js | 10 +- .../icon/assets/logo_enterprise_search.js | 12 +- src/components/icon/assets/logo_etcd.js | 6 +- src/components/icon/assets/logo_gcp.js | 17 +- src/components/icon/assets/logo_gcp_mono.js | 6 +- src/components/icon/assets/logo_github.js | 6 +- src/components/icon/assets/logo_gmail.js | 18 +- src/components/icon/assets/logo_golang.js | 72 +- src/components/icon/assets/logo_google_g.js | 17 +- src/components/icon/assets/logo_haproxy.js | 42 +- src/components/icon/assets/logo_ibm.js | 16 +- src/components/icon/assets/logo_ibm_mono.js | 6 +- src/components/icon/assets/logo_kafka.js | 6 +- src/components/icon/assets/logo_kibana.js | 8 +- src/components/icon/assets/logo_kubernetes.js | 6 +- src/components/icon/assets/logo_logging.js | 8 +- src/components/icon/assets/logo_logstash.js | 6 +- src/components/icon/assets/logo_maps.js | 10 +- src/components/icon/assets/logo_memcached.js | 16 +- src/components/icon/assets/logo_metrics.js | 10 +- src/components/icon/assets/logo_mongodb.js | 12 +- src/components/icon/assets/logo_mysql.js | 8 +- src/components/icon/assets/logo_nginx.js | 8 +- .../icon/assets/logo_observability.js | 10 +- src/components/icon/assets/logo_opensearch.js | 12 +- src/components/icon/assets/logo_osquery.js | 4 +- src/components/icon/assets/logo_php.js | 17 +- src/components/icon/assets/logo_postgres.js | 12 +- src/components/icon/assets/logo_prometheus.js | 6 +- src/components/icon/assets/logo_rabbitmq.js | 6 +- src/components/icon/assets/logo_redis.js | 26 +- src/components/icon/assets/logo_security.js | 10 +- .../icon/assets/logo_site_search.js | 8 +- src/components/icon/assets/logo_sketch.js | 16 +- src/components/icon/assets/logo_slack.js | 12 +- src/components/icon/assets/logo_uptime.js | 10 +- src/components/icon/assets/logo_webhook.js | 10 +- src/components/icon/assets/logo_windows.js | 6 +- .../icon/assets/logo_workplace_search.js | 10 +- src/components/icon/assets/logstash_filter.js | 6 +- src/components/icon/assets/logstash_if.js | 6 +- src/components/icon/assets/logstash_input.js | 6 +- src/components/icon/assets/logstash_output.js | 6 +- src/components/icon/assets/logstash_queue.js | 6 +- src/components/icon/assets/magnet.js | 6 +- .../icon/assets/magnifyWithMinus.js | 6 +- src/components/icon/assets/magnifyWithPlus.js | 6 +- src/components/icon/assets/map_marker.js | 6 +- src/components/icon/assets/memory.js | 6 +- src/components/icon/assets/menu.js | 8 +- src/components/icon/assets/menuDown.js | 6 +- src/components/icon/assets/menuLeft.js | 6 +- src/components/icon/assets/menuRight.js | 6 +- src/components/icon/assets/menuUp.js | 6 +- src/components/icon/assets/merge.js | 6 +- src/components/icon/assets/minimize.js | 6 +- src/components/icon/assets/minus.js | 4 +- src/components/icon/assets/minus_in_circle.js | 6 +- .../icon/assets/minus_in_circle_filled.js | 6 +- .../icon/assets/ml_classification_job.js | 8 +- .../icon/assets/ml_create_advanced_job.js | 6 +- .../icon/assets/ml_create_multi_metric_job.js | 8 +- .../icon/assets/ml_create_population_job.js | 8 +- .../assets/ml_create_single_metric_job.js | 8 +- .../icon/assets/ml_data_visualizer.js | 8 +- .../icon/assets/ml_outlier_detection_job.js | 6 +- .../icon/assets/ml_regression_job.js | 8 +- src/components/icon/assets/mobile.js | 8 +- src/components/icon/assets/moon.js | 6 +- src/components/icon/assets/nested.js | 6 +- src/components/icon/assets/node.js | 6 +- src/components/icon/assets/number.js | 6 +- src/components/icon/assets/offline.js | 6 +- src/components/icon/assets/online.js | 6 +- src/components/icon/assets/package.js | 6 +- src/components/icon/assets/pageSelect.js | 6 +- src/components/icon/assets/pagesSelect.js | 6 +- src/components/icon/assets/paint.js | 6 +- src/components/icon/assets/paper_clip.js | 6 +- src/components/icon/assets/partial.js | 6 +- src/components/icon/assets/pause.js | 6 +- src/components/icon/assets/pencil.js | 6 +- src/components/icon/assets/percent.js | 4 +- src/components/icon/assets/pin.js | 6 +- src/components/icon/assets/pin_filled.js | 6 +- src/components/icon/assets/play.js | 6 +- src/components/icon/assets/playFilled.js | 6 +- src/components/icon/assets/plus.js | 6 +- src/components/icon/assets/plus_in_circle.js | 6 +- .../icon/assets/plus_in_circle_filled.js | 6 +- src/components/icon/assets/polygon.js | 6 +- src/components/icon/assets/popout.js | 6 +- src/components/icon/assets/push.js | 8 +- .../icon/assets/question_in_circle.js | 6 +- src/components/icon/assets/quote.js | 6 +- src/components/icon/assets/radius.js | 6 +- src/components/icon/assets/refresh.js | 6 +- src/components/icon/assets/reporter.js | 6 +- src/components/icon/assets/return_key.js | 6 +- src/components/icon/assets/save.js | 6 +- src/components/icon/assets/scale.js | 6 +- src/components/icon/assets/search.js | 6 +- src/components/icon/assets/securitySignal.js | 6 +- .../icon/assets/securitySignalDetected.js | 6 +- .../icon/assets/securitySignalResolved.js | 6 +- src/components/icon/assets/shard.js | 6 +- src/components/icon/assets/share.js | 6 +- src/components/icon/assets/snowflake.js | 6 +- src/components/icon/assets/sortLeft.js | 6 +- src/components/icon/assets/sortRight.js | 6 +- src/components/icon/assets/sort_down.js | 6 +- src/components/icon/assets/sort_up.js | 6 +- src/components/icon/assets/sortable.js | 6 +- src/components/icon/assets/starPlusEmpty.js | 6 +- src/components/icon/assets/starPlusFilled.js | 6 +- src/components/icon/assets/star_empty.js | 6 +- .../icon/assets/star_empty_space.js | 6 +- src/components/icon/assets/star_filled.js | 6 +- .../icon/assets/star_filled_space.js | 6 +- .../icon/assets/star_minus_empty.js | 6 +- .../icon/assets/star_minus_filled.js | 6 +- src/components/icon/assets/stats.js | 6 +- src/components/icon/assets/stop.js | 6 +- src/components/icon/assets/stop_filled.js | 6 +- src/components/icon/assets/stop_slash.js | 6 +- src/components/icon/assets/storage.js | 6 +- src/components/icon/assets/string.js | 6 +- src/components/icon/assets/submodule.js | 8 +- src/components/icon/assets/swatch_input.js | 12 +- src/components/icon/assets/symlink.js | 8 +- src/components/icon/assets/tableOfContents.js | 4 +- .../icon/assets/table_density_compact.js | 6 +- .../icon/assets/table_density_expanded.js | 6 +- .../icon/assets/table_density_normal.js | 6 +- src/components/icon/assets/tag.js | 6 +- src/components/icon/assets/tear.js | 6 +- src/components/icon/assets/temperature.js | 8 +- src/components/icon/assets/timeline.js | 6 +- src/components/icon/assets/timeslider.js | 6 +- .../icon/assets/tokens/tokenAlias.js | 6 +- .../icon/assets/tokens/tokenAnnotation.js | 6 +- .../icon/assets/tokens/tokenArray.js | 6 +- .../icon/assets/tokens/tokenBinary.js | 6 +- .../icon/assets/tokens/tokenBoolean.js | 6 +- .../icon/assets/tokens/tokenClass.js | 6 +- .../assets/tokens/tokenCompletionSuggester.js | 8 +- .../icon/assets/tokens/tokenConstant.js | 6 +- .../icon/assets/tokens/tokenDate.js | 6 +- .../icon/assets/tokens/tokenDenseVector.js | 6 +- .../icon/assets/tokens/tokenElement.js | 6 +- .../icon/assets/tokens/tokenEnum.js | 4 +- .../icon/assets/tokens/tokenEnumMember.js | 6 +- .../icon/assets/tokens/tokenEvent.js | 6 +- .../icon/assets/tokens/tokenException.js | 6 +- .../icon/assets/tokens/tokenField.js | 4 +- .../icon/assets/tokens/tokenFile.js | 6 +- .../icon/assets/tokens/tokenFlattened.js | 6 +- .../icon/assets/tokens/tokenFunction.js | 6 +- src/components/icon/assets/tokens/tokenGeo.js | 6 +- .../icon/assets/tokens/tokenHistogram.js | 4 +- src/components/icon/assets/tokens/tokenIP.js | 6 +- .../icon/assets/tokens/tokenInterface.js | 6 +- .../icon/assets/tokens/tokenJoin.js | 6 +- src/components/icon/assets/tokens/tokenKey.js | 6 +- .../icon/assets/tokens/tokenKeyword.js | 8 +- .../icon/assets/tokens/tokenMethod.js | 6 +- .../icon/assets/tokens/tokenModule.js | 8 +- .../icon/assets/tokens/tokenNamespace.js | 6 +- .../icon/assets/tokens/tokenNested.js | 8 +- .../icon/assets/tokens/tokenNull.js | 6 +- .../icon/assets/tokens/tokenNumber.js | 6 +- .../icon/assets/tokens/tokenObject.js | 6 +- .../icon/assets/tokens/tokenOperator.js | 6 +- .../icon/assets/tokens/tokenPackage.js | 6 +- .../icon/assets/tokens/tokenParameter.js | 6 +- .../icon/assets/tokens/tokenPercolator.js | 6 +- .../icon/assets/tokens/tokenProperty.js | 6 +- .../icon/assets/tokens/tokenRange.js | 6 +- .../icon/assets/tokens/tokenRankFeature.js | 6 +- .../icon/assets/tokens/tokenRankFeatures.js | 6 +- .../icon/assets/tokens/tokenRepo.js | 6 +- .../icon/assets/tokens/tokenSearchType.js | 8 +- .../icon/assets/tokens/tokenShape.js | 6 +- .../icon/assets/tokens/tokenString.js | 6 +- .../icon/assets/tokens/tokenStruct.js | 6 +- .../icon/assets/tokens/tokenSymbol.js | 6 +- .../icon/assets/tokens/tokenText.js | 6 +- .../icon/assets/tokens/tokenTokenCount.js | 6 +- .../icon/assets/tokens/tokenVariable.js | 6 +- src/components/icon/assets/training.js | 6 +- src/components/icon/assets/trash.js | 6 +- src/components/icon/assets/unfold.js | 6 +- src/components/icon/assets/unlink.js | 8 +- src/components/icon/assets/user.js | 8 +- src/components/icon/assets/users.js | 8 +- src/components/icon/assets/vector.js | 6 +- src/components/icon/assets/videoPlayer.js | 6 +- src/components/icon/assets/vis_area.js | 6 +- .../icon/assets/vis_area_stacked.js | 6 +- .../icon/assets/vis_bar_horizontal.js | 6 +- .../icon/assets/vis_bar_horizontal_stacked.js | 6 +- .../icon/assets/vis_bar_vertical.js | 6 +- .../icon/assets/vis_bar_vertical_stacked.js | 6 +- src/components/icon/assets/vis_builder.js | 10 +- .../icon/assets/vis_builder_saved_object.js | 8 +- src/components/icon/assets/vis_gauge.js | 6 +- src/components/icon/assets/vis_goal.js | 6 +- src/components/icon/assets/vis_line.js | 6 +- .../icon/assets/vis_map_coordinate.js | 6 +- src/components/icon/assets/vis_map_region.js | 6 +- src/components/icon/assets/vis_metric.js | 6 +- src/components/icon/assets/vis_pie.js | 6 +- src/components/icon/assets/vis_query_dql.js | 10 +- src/components/icon/assets/vis_query_ppl.js | 10 +- .../icon/assets/vis_query_promql.js | 10 +- src/components/icon/assets/vis_query_sql.js | 10 +- src/components/icon/assets/vis_table.js | 6 +- src/components/icon/assets/vis_tag_cloud.js | 6 +- src/components/icon/assets/vis_text.js | 6 +- src/components/icon/assets/vis_timelion.js | 6 +- src/components/icon/assets/vis_vega.js | 6 +- .../icon/assets/vis_visual_builder.js | 6 +- src/components/icon/assets/wordWrap.js | 6 +- .../icon/assets/wordWrapDisabled.js | 6 +- src/components/icon/assets/wrench.js | 6 +- yarn.lock | 590 ++++++-- 438 files changed, 2248 insertions(+), 2818 deletions(-) diff --git a/package.json b/package.json index ec2cc5e13c..22586fd449 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "**/ansi-regex": "^5.0.1", "cacache/y18n": "^4.0.1", "**/glob-parent": "^6.0.1", - "**/svgo/js-yaml": "^3.13.1", + "babel-plugin-inline-react-svg/svgo/js-yaml": "^3.13.1", "webpack-dev-server/selfsigned": "^2.0.1", "**/eslint/shelljs": "^0.8.5", "**/css-select/css-what": "^6.1.0", @@ -135,8 +135,9 @@ "@elastic/charts": "^30.2.0", "@elastic/datemath": "^5.0.3", "@elastic/eslint-config-kibana": "^0.15.0", - "@svgr/core": "5.4.0", - "@svgr/plugin-svgo": "^4.0.3", + "@svgr/core": "^7.0.0", + "@svgr/plugin-svgo": "^7.0.0", + "@svgr/plugin-jsx": "^7.0.0", "@types/classnames": "^2.2.10", "@types/enzyme": "^3.10.5", "@types/jest": "^24.0.6", diff --git a/scripts/compile-icons.js b/scripts/compile-icons.js index 5736ec88fa..ef75c87bb4 100644 --- a/scripts/compile-icons.js +++ b/scripts/compile-icons.js @@ -10,7 +10,7 @@ */ const glob = require('glob'); -const svgr = require('@svgr/core').default; +const { transform } = require('@svgr/core'); const path = require('path'); const fs = require('fs'); const license = require('../.eslintrc.js').rules[ @@ -29,38 +29,41 @@ function pascalCase(x) { const iconFiles = glob.sync('**/*.svg', { cwd: iconsDir, realpath: true }); -iconFiles.forEach(async filePath => { - const svgSource = fs.readFileSync(filePath); +iconFiles.forEach(async (filePath) => { + const svgSourceBuffer = fs.readFileSync(filePath); + const svgSource = svgSourceBuffer.toString(); try { - const viewBoxPosition = svgSource.toString().indexOf('viewBox'); + const viewBoxPosition = svgSource.indexOf('viewBox'); if (viewBoxPosition === -1) { throw new Error(`${filePath} is missing a 'viewBox' attribute`); } - const jsxSource = await svgr( + const jsxSource = await transform( svgSource, { plugins: ['@svgr/plugin-svgo', '@svgr/plugin-jsx'], svgoConfig: { plugins: [ - { cleanupIDs: false }, - { prefixIds: false }, - { removeViewBox: false }, + { + name: 'preset-default', + params: { + overrides: { + cleanupIds: false, + removeViewBox: false, + }, + }, + }, ], }, svgProps: { xmlns: 'http://www.w3.org/2000/svg', }, titleProp: true, - template: ( - { template }, - opts, - { imports, componentName, props, jsx } - ) => template.ast` -${imports} -const ${componentName} = (${props}) => ${jsx} -export const icon = ${componentName}; + template: ({ imports, componentName, props, jsx }, { tpl }) => tpl` + ${imports} + const ${componentName} = (${props}) => ${jsx} + export const icon = ${componentName}; `, }, { diff --git a/src/components/icon/__snapshots__/icon.test.tsx.snap b/src/components/icon/__snapshots__/icon.test.tsx.snap index f33bc921e8..f9903c1cdf 100644 --- a/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -13,7 +13,7 @@ exports[`OuiIcon is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -31,7 +31,7 @@ exports[`OuiIcon props color #885522 is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -49,7 +49,7 @@ exports[`OuiIcon props color #fde is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -66,7 +66,7 @@ exports[`OuiIcon props color accent is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -83,7 +83,7 @@ exports[`OuiIcon props color danger is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -100,7 +100,7 @@ exports[`OuiIcon props color default is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -117,7 +117,7 @@ exports[`OuiIcon props color ghost is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -135,7 +135,7 @@ exports[`OuiIcon props color hsla(270, 60%, 70%, 0.9) is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -152,7 +152,7 @@ exports[`OuiIcon props color inherit is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -169,7 +169,7 @@ exports[`OuiIcon props color primary is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -187,7 +187,7 @@ exports[`OuiIcon props color rgb(100, 150, 200) is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -204,7 +204,7 @@ exports[`OuiIcon props color secondary is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -221,7 +221,7 @@ exports[`OuiIcon props color subdued is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -238,7 +238,7 @@ exports[`OuiIcon props color success is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -255,7 +255,7 @@ exports[`OuiIcon props color text is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -272,7 +272,7 @@ exports[`OuiIcon props color warning is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -292,7 +292,7 @@ exports[`OuiIcon props other props are passed through to the icon 1`] = ` Search `; @@ -309,7 +309,7 @@ exports[`OuiIcon props size \${size} is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -326,7 +326,7 @@ exports[`OuiIcon props size \${size} is rendered 2`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -343,7 +343,7 @@ exports[`OuiIcon props size \${size} is rendered 3`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -360,7 +360,7 @@ exports[`OuiIcon props size \${size} is rendered 4`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -377,7 +377,7 @@ exports[`OuiIcon props size \${size} is rendered 5`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -394,7 +394,7 @@ exports[`OuiIcon props size \${size} is rendered 6`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -412,7 +412,7 @@ exports[`OuiIcon props tabIndex renders focusable="false" when -1 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -429,7 +429,7 @@ exports[`OuiIcon props tabIndex renders focusable="false" when not provided 1`] xmlns="http://www.w3.org/2000/svg" > `; @@ -447,7 +447,7 @@ exports[`OuiIcon props tabIndex renders focusable="true" when 0 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -469,7 +469,7 @@ exports[`OuiIcon props title and titleId are passed and generate an aria-labelle Search icon `; @@ -486,7 +486,7 @@ exports[`OuiIcon props type accessibility is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -503,7 +503,7 @@ exports[`OuiIcon props type addDataApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -559,7 +559,7 @@ exports[`OuiIcon props type aggregate is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -577,7 +577,7 @@ exports[`OuiIcon props type alert is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -595,7 +595,7 @@ exports[`OuiIcon props type analyzeEvent is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -613,7 +613,7 @@ exports[`OuiIcon props type annotation is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -654,7 +654,7 @@ exports[`OuiIcon props type apmApp is rendered 1`] = ` /> `; @@ -671,7 +671,7 @@ exports[`OuiIcon props type apmTrace is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -688,12 +688,12 @@ exports[`OuiIcon props type appSearchApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -711,7 +711,7 @@ exports[`OuiIcon props type apps is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -728,7 +728,7 @@ exports[`OuiIcon props type arrowDown is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -746,7 +746,7 @@ exports[`OuiIcon props type arrowLeft is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -764,7 +764,7 @@ exports[`OuiIcon props type arrowRight is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -782,7 +782,7 @@ exports[`OuiIcon props type arrowUp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -800,7 +800,7 @@ exports[`OuiIcon props type asterisk is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -838,7 +838,7 @@ exports[`OuiIcon props type beaker is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -855,7 +855,7 @@ exports[`OuiIcon props type bell is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -873,7 +873,7 @@ exports[`OuiIcon props type bellSlash is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -890,7 +890,7 @@ exports[`OuiIcon props type bolt is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -907,7 +907,7 @@ exports[`OuiIcon props type boxesHorizontal is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -924,7 +924,7 @@ exports[`OuiIcon props type boxesVertical is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -941,7 +941,7 @@ exports[`OuiIcon props type branch is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -958,7 +958,7 @@ exports[`OuiIcon props type broom is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -975,7 +975,7 @@ exports[`OuiIcon props type brush is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -992,7 +992,7 @@ exports[`OuiIcon props type bug is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1009,7 +1009,7 @@ exports[`OuiIcon props type bullseye is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1026,7 +1026,7 @@ exports[`OuiIcon props type calendar is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -1048,7 +1048,7 @@ exports[`OuiIcon props type canvasApp is rendered 1`] = ` d="M7 17h2v7H7zM12 14h2v10h-2zM17 16h2v8h-2zM22 14h3v2h-3zM22 18h3v2h-3zM22 22h3v2h-3z" /> `; @@ -1065,7 +1065,7 @@ exports[`OuiIcon props type check is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -1083,7 +1083,7 @@ exports[`OuiIcon props type checkInCircleFilled is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -1101,7 +1101,7 @@ exports[`OuiIcon props type cheer is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1118,11 +1118,11 @@ exports[`OuiIcon props type classificationJob is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1139,7 +1139,7 @@ exports[`OuiIcon props type clock is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -1157,7 +1157,7 @@ exports[`OuiIcon props type cloudDrizzle is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1174,7 +1174,7 @@ exports[`OuiIcon props type cloudStormy is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1191,7 +1191,7 @@ exports[`OuiIcon props type cloudSunny is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1208,11 +1208,11 @@ exports[`OuiIcon props type codeApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1229,7 +1229,7 @@ exports[`OuiIcon props type color is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1246,7 +1246,7 @@ exports[`OuiIcon props type compute is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1287,14 +1287,14 @@ exports[`OuiIcon props type consoleApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1311,7 +1311,7 @@ exports[`OuiIcon props type continuityAbove is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1328,7 +1328,7 @@ exports[`OuiIcon props type continuityAboveBelow is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1345,7 +1345,7 @@ exports[`OuiIcon props type continuityBelow is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1362,7 +1362,7 @@ exports[`OuiIcon props type continuityWithin is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1379,7 +1379,7 @@ exports[`OuiIcon props type controlsHorizontal is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -1397,7 +1397,7 @@ exports[`OuiIcon props type controlsVertical is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -1415,10 +1415,10 @@ exports[`OuiIcon props type copy is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1435,10 +1435,10 @@ exports[`OuiIcon props type copyClipboard is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1477,10 +1477,10 @@ exports[`OuiIcon props type createMultiMetricJob is rendered 1`] = ` > `; @@ -1497,11 +1497,11 @@ exports[`OuiIcon props type createPopulationJob is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1518,7 +1518,7 @@ exports[`OuiIcon props type createSingleMetricJob is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1560,7 +1560,7 @@ exports[`OuiIcon props type crossClusterReplicationApp is rendered 1`] = ` /> `; @@ -1577,7 +1577,7 @@ exports[`OuiIcon props type crossInACircleFilled is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1594,7 +1594,7 @@ exports[`OuiIcon props type crosshairs is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1611,7 +1611,7 @@ exports[`OuiIcon props type currency is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1628,7 +1628,7 @@ exports[`OuiIcon props type cut is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -1646,18 +1646,18 @@ exports[`OuiIcon props type dashboardApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1674,11 +1674,11 @@ exports[`OuiIcon props type dataVisualizer is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1695,7 +1695,7 @@ exports[`OuiIcon props type database is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1712,7 +1712,7 @@ exports[`OuiIcon props type devToolsApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1754,7 +1754,7 @@ exports[`OuiIcon props type document is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1771,7 +1771,7 @@ exports[`OuiIcon props type documentEdit is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1788,13 +1788,13 @@ exports[`OuiIcon props type documentation is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1811,7 +1811,7 @@ exports[`OuiIcon props type documents is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1847,10 +1847,10 @@ exports[`OuiIcon props type download is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1867,7 +1867,7 @@ exports[`OuiIcon props type editorAlignCenter is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1884,7 +1884,7 @@ exports[`OuiIcon props type editorAlignLeft is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1901,7 +1901,7 @@ exports[`OuiIcon props type editorAlignRight is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1918,7 +1918,7 @@ exports[`OuiIcon props type editorBold is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1935,7 +1935,7 @@ exports[`OuiIcon props type editorCodeBlock is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1952,7 +1952,7 @@ exports[`OuiIcon props type editorComment is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1969,7 +1969,7 @@ exports[`OuiIcon props type editorDistributeHorizontal is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -1986,7 +1986,7 @@ exports[`OuiIcon props type editorDistributeVertical is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2003,7 +2003,7 @@ exports[`OuiIcon props type editorHeading is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2020,7 +2020,7 @@ exports[`OuiIcon props type editorItalic is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2037,7 +2037,7 @@ exports[`OuiIcon props type editorItemAlignBottom is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2054,7 +2054,7 @@ exports[`OuiIcon props type editorItemAlignCenter is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2071,7 +2071,7 @@ exports[`OuiIcon props type editorItemAlignLeft is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2088,7 +2088,7 @@ exports[`OuiIcon props type editorItemAlignMiddle is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2105,7 +2105,7 @@ exports[`OuiIcon props type editorItemAlignRight is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2122,7 +2122,7 @@ exports[`OuiIcon props type editorItemAlignTop is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2139,7 +2139,7 @@ exports[`OuiIcon props type editorLink is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2156,7 +2156,7 @@ exports[`OuiIcon props type editorOrderedList is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2173,7 +2173,7 @@ exports[`OuiIcon props type editorPositionBottomLeft is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2190,7 +2190,7 @@ exports[`OuiIcon props type editorPositionBottomRight is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2207,7 +2207,7 @@ exports[`OuiIcon props type editorPositionTopLeft is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2224,7 +2224,7 @@ exports[`OuiIcon props type editorPositionTopRight is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2241,7 +2241,7 @@ exports[`OuiIcon props type editorRedo is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2258,7 +2258,7 @@ exports[`OuiIcon props type editorStrike is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2275,7 +2275,7 @@ exports[`OuiIcon props type editorTable is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2292,7 +2292,7 @@ exports[`OuiIcon props type editorUnderline is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2309,7 +2309,7 @@ exports[`OuiIcon props type editorUndo is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2326,7 +2326,7 @@ exports[`OuiIcon props type editorUnorderedList is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2343,7 +2343,7 @@ exports[`OuiIcon props type email is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -2378,7 +2378,7 @@ exports[`OuiIcon props type emsApp is rendered 1`] = ` d="M3 22h3v2H1V1h23v5h-2V3H3z" /> `; @@ -2395,10 +2395,10 @@ exports[`OuiIcon props type eql is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2415,10 +2415,10 @@ exports[`OuiIcon props type eraser is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2435,7 +2435,7 @@ exports[`OuiIcon props type exit is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -2453,7 +2453,7 @@ exports[`OuiIcon props type expand is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -2471,7 +2471,7 @@ exports[`OuiIcon props type expandMini is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -2489,7 +2489,7 @@ exports[`OuiIcon props type exportAction is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2506,7 +2506,7 @@ exports[`OuiIcon props type eye is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2523,7 +2523,7 @@ exports[`OuiIcon props type eyeClosed is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2540,7 +2540,7 @@ exports[`OuiIcon props type faceHappy is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2557,7 +2557,7 @@ exports[`OuiIcon props type faceNeutral is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -2575,7 +2575,7 @@ exports[`OuiIcon props type faceSad is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2596,7 +2596,7 @@ exports[`OuiIcon props type filebeatApp is rendered 1`] = ` d="M8 18h16v2H8zM8 13h9v2H8zM8 23h16v2H8z" /> `; @@ -2613,7 +2613,7 @@ exports[`OuiIcon props type filter is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -2631,7 +2631,7 @@ exports[`OuiIcon props type flag is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2646,7 +2646,7 @@ exports[`OuiIcon props type fold is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2663,7 +2663,7 @@ exports[`OuiIcon props type folderCheck is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -2681,7 +2681,7 @@ exports[`OuiIcon props type folderClosed is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2698,7 +2698,7 @@ exports[`OuiIcon props type folderExclamation is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -2716,7 +2716,7 @@ exports[`OuiIcon props type folderOpen is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2735,7 +2735,7 @@ exports[`OuiIcon props type frameNext is rendered 1`] = ` > `; @@ -2754,7 +2754,7 @@ exports[`OuiIcon props type framePrevious is rendered 1`] = ` > `; @@ -2771,7 +2771,7 @@ exports[`OuiIcon props type fullScreen is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -2789,7 +2789,7 @@ exports[`OuiIcon props type fullScreenExit is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2823,7 +2823,7 @@ exports[`OuiIcon props type gear is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2841,10 +2841,10 @@ exports[`OuiIcon props type gisApp is rendered 1`] = ` > `; @@ -2861,7 +2861,7 @@ exports[`OuiIcon props type glasses is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2878,7 +2878,7 @@ exports[`OuiIcon props type globe is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2895,7 +2895,7 @@ exports[`OuiIcon props type grab is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -2913,7 +2913,7 @@ exports[`OuiIcon props type grabHorizontal is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -2932,10 +2932,10 @@ exports[`OuiIcon props type graphApp is rendered 1`] = ` > `; @@ -2952,7 +2952,7 @@ exports[`OuiIcon props type grid is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2969,11 +2969,11 @@ exports[`OuiIcon props type grokApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -2990,7 +2990,7 @@ exports[`OuiIcon props type heart is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3008,10 +3008,10 @@ exports[`OuiIcon props type heartbeatApp is rendered 1`] = ` > `; @@ -3028,7 +3028,7 @@ exports[`OuiIcon props type heatmap is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3045,7 +3045,7 @@ exports[`OuiIcon props type help is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -3063,7 +3063,7 @@ exports[`OuiIcon props type home is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3080,7 +3080,7 @@ exports[`OuiIcon props type iInCircle is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -3098,7 +3098,7 @@ exports[`OuiIcon props type image is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3115,7 +3115,7 @@ exports[`OuiIcon props type importAction is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3132,7 +3132,7 @@ exports[`OuiIcon props type indexClose is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3149,7 +3149,7 @@ exports[`OuiIcon props type indexEdit is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3166,7 +3166,7 @@ exports[`OuiIcon props type indexFlush is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -3188,10 +3188,10 @@ exports[`OuiIcon props type indexManagementApp is rendered 1`] = ` /> `; @@ -3208,7 +3208,7 @@ exports[`OuiIcon props type indexMapping is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3225,7 +3225,7 @@ exports[`OuiIcon props type indexOpen is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3242,11 +3242,11 @@ exports[`OuiIcon props type indexPatternApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3263,17 +3263,17 @@ exports[`OuiIcon props type indexRollupApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3293,7 +3293,7 @@ exports[`OuiIcon props type indexRuntime is rendered 1`] = ` d="M12 2H2v11h6v1H1V1h12v6.839l-1-.707V2z" /> `; @@ -3310,13 +3310,13 @@ exports[`OuiIcon props type indexSettings is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3356,7 +3356,7 @@ exports[`OuiIcon props type inspect is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3373,10 +3373,10 @@ exports[`OuiIcon props type invert is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3393,7 +3393,7 @@ exports[`OuiIcon props type ip is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3410,7 +3410,7 @@ exports[`OuiIcon props type keyboardShortcut is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3427,7 +3427,7 @@ exports[`OuiIcon props type kqlField is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3444,7 +3444,7 @@ exports[`OuiIcon props type kqlFunction is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3461,7 +3461,7 @@ exports[`OuiIcon props type kqlOperand is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3478,7 +3478,7 @@ exports[`OuiIcon props type kqlSelector is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3495,7 +3495,7 @@ exports[`OuiIcon props type kqlValue is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3512,13 +3512,13 @@ exports[`OuiIcon props type layers is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3536,10 +3536,10 @@ exports[`OuiIcon props type lensApp is rendered 1`] = ` > `; @@ -3556,7 +3556,7 @@ exports[`OuiIcon props type link is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3573,7 +3573,7 @@ exports[`OuiIcon props type list is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3590,7 +3590,7 @@ exports[`OuiIcon props type listAdd is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3607,7 +3607,7 @@ exports[`OuiIcon props type lock is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3624,7 +3624,7 @@ exports[`OuiIcon props type lockOpen is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -3646,16 +3646,16 @@ exports[`OuiIcon props type logoAWS is rendered 1`] = ` > @@ -3677,14 +3677,14 @@ exports[`OuiIcon props type logoAWSMono is rendered 1`] = ` fill-rule="evenodd" > @@ -3709,7 +3709,7 @@ exports[`OuiIcon props type logoAerospike is rendered 1`] = ` fill="#C4373A" /> @@ -3897,37 +3897,37 @@ exports[`OuiIcon props type logoApache is rendered 1`] = ` fill="none" > @@ -3947,15 +3947,15 @@ exports[`OuiIcon props type logoAppSearch is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -3973,7 +3973,7 @@ exports[`OuiIcon props type logoAzure is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -3991,7 +3991,7 @@ exports[`OuiIcon props type logoAzureMono is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -4012,12 +4012,12 @@ exports[`OuiIcon props type logoBeats is rendered 1`] = ` fill="#0080D5" /> `; @@ -4066,7 +4066,7 @@ exports[`OuiIcon props type logoCeph is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -4089,14 +4089,14 @@ exports[`OuiIcon props type logoCloud is rendered 1`] = ` > @@ -4116,14 +4116,14 @@ exports[`OuiIcon props type logoCloudEnterprise is rendered 1`] = ` > @@ -4142,14 +4142,14 @@ exports[`OuiIcon props type logoCode is rendered 1`] = ` > @@ -4167,7 +4167,7 @@ exports[`OuiIcon props type logoCodesandbox is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -4184,7 +4184,7 @@ exports[`OuiIcon props type logoCouchbase is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -4230,11 +4230,11 @@ exports[`OuiIcon props type logoDropwizard is rendered 1`] = ` fill="url(#paint1_linear)" /> @@ -4353,7 +4353,7 @@ exports[`OuiIcon props type logoElasticStack is rendered 1`] = ` fill-rule="evenodd" > @@ -4389,14 +4389,14 @@ exports[`OuiIcon props type logoElasticsearch is rendered 1`] = ` > @@ -4416,20 +4416,20 @@ exports[`OuiIcon props type logoEnterpriseSearch is rendered 1`] = ` > @@ -4453,7 +4453,7 @@ exports[`OuiIcon props type logoEtcd is rendered 1`] = ` d="M14.65 14.164c0 1.189-.933 2.15-2.083 2.15-1.152 0-2.082-.961-2.082-2.15 0-1.185.93-2.15 2.082-2.15 1.15 0 2.083.965 2.083 2.15zm2.693 0c0 1.189.934 2.15 2.084 2.15s2.083-.961 2.083-2.15c0-1.185-.933-2.15-2.083-2.15-1.15 0-2.084.965-2.084 2.15z" /> @@ -4468,6 +4468,7 @@ exports[`OuiIcon props type logoGCP is rendered 1`] = ` role="img" viewBox="0 0 32 32" width="32" + xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" > @@ -4481,22 +4482,22 @@ exports[`OuiIcon props type logoGCP is rendered 1`] = ` fill-rule="evenodd" > @@ -4513,13 +4514,13 @@ exports[`OuiIcon props type logoGCP is rendered 1`] = ` /> @@ -4542,7 +4543,7 @@ exports[`OuiIcon props type logoGCPMono is rendered 1`] = ` d="M20.256 15.982c0-2.316-1.91-4.194-4.268-4.194-2.357 0-4.268 1.878-4.268 4.194 0 2.317 1.911 4.195 4.268 4.195 2.357 0 4.268-1.878 4.268-4.195" /> `; @@ -4559,7 +4560,7 @@ exports[`OuiIcon props type logoGithub is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -4579,31 +4580,31 @@ exports[`OuiIcon props type logoGmail is rendered 1`] = ` fill="none" > @@ -4623,75 +4624,75 @@ exports[`OuiIcon props type logoGolang is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -4766,6 +4767,7 @@ exports[`OuiIcon props type logoGoogleG is rendered 1`] = ` role="img" viewBox="0 0 32 32" width="32" + xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" > @@ -4778,7 +4780,7 @@ exports[`OuiIcon props type logoGoogleG is rendered 1`] = ` id="c" /> @@ -4945,7 +4947,7 @@ exports[`OuiIcon props type logoHAproxy is rendered 1`] = ` id="clip0" > @@ -5078,31 +5080,31 @@ exports[`OuiIcon props type logoIBM is rendered 1`] = ` fill-rule="evenodd" > @@ -5122,7 +5124,7 @@ exports[`OuiIcon props type logoIBMMono is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -5140,7 +5142,7 @@ exports[`OuiIcon props type logoKafka is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -5166,10 +5168,10 @@ exports[`OuiIcon props type logoKibana is rendered 1`] = ` /> @@ -5188,7 +5190,7 @@ exports[`OuiIcon props type logoKubernetes is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -5206,7 +5208,7 @@ exports[`OuiIcon props type logoLogging is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -5258,15 +5260,15 @@ exports[`OuiIcon props type logoMaps is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -5355,28 +5357,28 @@ exports[`OuiIcon props type logoMemcached is rendered 1`] = ` fill="none" > @@ -5400,15 +5402,15 @@ exports[`OuiIcon props type logoMetrics is rendered 1`] = ` fill-rule="evenodd" > @@ -5430,11 +5432,11 @@ exports[`OuiIcon props type logoMongodb is rendered 1`] = ` fill="none" > @@ -5472,10 +5474,10 @@ exports[`OuiIcon props type logoMySQL is rendered 1`] = ` fill="#00546B" > @@ -5497,11 +5499,11 @@ exports[`OuiIcon props type logoNginx is rendered 1`] = ` fill-rule="evenodd" > @@ -5521,7 +5523,7 @@ exports[`OuiIcon props type logoObservability is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -5548,15 +5550,15 @@ exports[`OuiIcon props type logoOpenSearch is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -5621,6 +5623,7 @@ exports[`OuiIcon props type logoPhp is rendered 1`] = ` role="img" viewBox="0 0 32 32" width="32" + xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" > @@ -5719,27 +5722,27 @@ exports[`OuiIcon props type logoPhp is rendered 1`] = ` mask="url(#logo_php-g)" > @@ -5762,19 +5765,19 @@ exports[`OuiIcon props type logoPostgres is rendered 1`] = ` fill="none" > @@ -5793,7 +5796,7 @@ exports[`OuiIcon props type logoPrometheus is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -5811,7 +5814,7 @@ exports[`OuiIcon props type logoRabbitmq is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -5857,7 +5860,7 @@ exports[`OuiIcon props type logoRedis is rendered 1`] = ` fill="#D82C20" /> @@ -5891,16 +5894,16 @@ exports[`OuiIcon props type logoSecurity is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -5925,12 +5928,12 @@ exports[`OuiIcon props type logoSiteSearch is rendered 1`] = ` fill="#FA744E" /> @@ -5951,27 +5954,27 @@ exports[`OuiIcon props type logoSketch is rendered 1`] = ` fill="none" > @@ -5993,19 +5996,19 @@ exports[`OuiIcon props type logoSlack is rendered 1`] = ` fill="none" > @@ -6024,16 +6027,16 @@ exports[`OuiIcon props type logoUptime is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6053,15 +6056,15 @@ exports[`OuiIcon props type logoWebhook is rendered 1`] = ` fill="none" > @@ -6080,7 +6083,7 @@ exports[`OuiIcon props type logoWindows is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -6098,16 +6101,16 @@ exports[`OuiIcon props type logoWorkplaceSearch is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6124,11 +6127,11 @@ exports[`OuiIcon props type logsApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6145,7 +6148,7 @@ exports[`OuiIcon props type logstashFilter is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6162,7 +6165,7 @@ exports[`OuiIcon props type logstashIf is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6179,7 +6182,7 @@ exports[`OuiIcon props type logstashInput is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6196,7 +6199,7 @@ exports[`OuiIcon props type logstashOutput is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6213,7 +6216,7 @@ exports[`OuiIcon props type logstashQueue is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6231,10 +6234,10 @@ exports[`OuiIcon props type machineLearningApp is rendered 1`] = ` > `; @@ -6251,7 +6254,7 @@ exports[`OuiIcon props type magnet is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6268,7 +6271,7 @@ exports[`OuiIcon props type magnifyWithMinus is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6285,7 +6288,7 @@ exports[`OuiIcon props type magnifyWithPlus is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6303,10 +6306,10 @@ exports[`OuiIcon props type managementApp is rendered 1`] = ` > `; @@ -6323,7 +6326,7 @@ exports[`OuiIcon props type mapMarker is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6343,7 +6346,7 @@ exports[`OuiIcon props type memory is rendered 1`] = ` d="M7 10h2V6H7zM3 10h2V6H3zM11.025 10h2V6h-2zM3.5 13.75h1v-2.4h-1zM6.175 13.75h1.001v-2.4H6.175zM8.85 13.75h1v-2.4h-1zM11.525 13.75h1v-2.4h-1z" /> `; @@ -6361,7 +6364,7 @@ exports[`OuiIcon props type menu is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6378,7 +6381,7 @@ exports[`OuiIcon props type menuDown is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6395,7 +6398,7 @@ exports[`OuiIcon props type menuLeft is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6412,7 +6415,7 @@ exports[`OuiIcon props type menuRight is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6429,7 +6432,7 @@ exports[`OuiIcon props type menuUp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6446,7 +6449,7 @@ exports[`OuiIcon props type merge is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6463,14 +6466,14 @@ exports[`OuiIcon props type metricbeatApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6487,11 +6490,11 @@ exports[`OuiIcon props type metricsApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6508,7 +6511,7 @@ exports[`OuiIcon props type minimize is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6546,7 +6549,7 @@ exports[`OuiIcon props type minusInCircle is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -6564,7 +6567,7 @@ exports[`OuiIcon props type minusInCircleFilled is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -6582,11 +6585,11 @@ exports[`OuiIcon props type mobile is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -6604,11 +6607,11 @@ exports[`OuiIcon props type monitoringApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6625,7 +6628,7 @@ exports[`OuiIcon props type moon is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6642,7 +6645,7 @@ exports[`OuiIcon props type nested is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6659,7 +6662,7 @@ exports[`OuiIcon props type node is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6676,7 +6679,7 @@ exports[`OuiIcon props type notebookApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6735,7 +6738,7 @@ exports[`OuiIcon props type online is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6756,7 +6759,7 @@ exports[`OuiIcon props type outlierDetectionJob is rendered 1`] = ` /> `; @@ -6773,7 +6776,7 @@ exports[`OuiIcon props type package is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6791,10 +6794,10 @@ exports[`OuiIcon props type packetbeatApp is rendered 1`] = ` > `; @@ -6811,7 +6814,7 @@ exports[`OuiIcon props type pageSelect is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -6829,7 +6832,7 @@ exports[`OuiIcon props type pagesSelect is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -6847,7 +6850,7 @@ exports[`OuiIcon props type paperClip is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6864,7 +6867,7 @@ exports[`OuiIcon props type partial is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6881,7 +6884,7 @@ exports[`OuiIcon props type pause is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -6899,7 +6902,7 @@ exports[`OuiIcon props type pencil is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6941,7 +6944,7 @@ exports[`OuiIcon props type pin is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -6959,7 +6962,7 @@ exports[`OuiIcon props type pinFilled is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -6976,7 +6979,7 @@ exports[`OuiIcon props type pipelineApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -7015,7 +7018,7 @@ exports[`OuiIcon props type playFilled is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -7032,7 +7035,7 @@ exports[`OuiIcon props type plus is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -7049,7 +7052,7 @@ exports[`OuiIcon props type plusInCircle is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -7067,7 +7070,7 @@ exports[`OuiIcon props type plusInCircleFilled is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -7084,7 +7087,7 @@ exports[`OuiIcon props type polygon is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -7101,7 +7104,7 @@ exports[`OuiIcon props type popout is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -7118,10 +7121,10 @@ exports[`OuiIcon props type push is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -7138,7 +7141,7 @@ exports[`OuiIcon props type questionInCircle is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -7155,7 +7158,7 @@ exports[`OuiIcon props type quote is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -7173,7 +7176,7 @@ exports[`OuiIcon props type radius is rendered 1`] = ` > @@ -7191,11 +7194,11 @@ exports[`OuiIcon props type recentlyViewedApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -7212,7 +7215,7 @@ exports[`OuiIcon props type refresh is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -7229,7 +7232,7 @@ exports[`OuiIcon props type regressionJob is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -7268,10 +7271,10 @@ exports[`OuiIcon props type reportingApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -7309,7 +7312,7 @@ exports[`OuiIcon props type save is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -7327,10 +7330,10 @@ exports[`OuiIcon props type savedObjectsApp is rendered 1`] = ` > `; @@ -7347,7 +7350,7 @@ exports[`OuiIcon props type scale is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -7365,7 +7368,7 @@ exports[`OuiIcon props type search is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -7396,7 +7399,7 @@ exports[`OuiIcon props type searchProfilerApp is rendered 1`] = ` d="M15.81 16H19v2h-3.19zM7 12h9v2H7z" /> `; @@ -7437,11 +7440,11 @@ exports[`OuiIcon props type securityApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -7458,7 +7461,7 @@ exports[`OuiIcon props type securitySignal is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -7476,7 +7479,7 @@ exports[`OuiIcon props type securitySignalDetected is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -7494,7 +7497,7 @@ exports[`OuiIcon props type securitySignalResolved is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -7512,7 +7515,7 @@ exports[`OuiIcon props type shard is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -7529,7 +7532,7 @@ exports[`OuiIcon props type share is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -7546,7 +7549,7 @@ exports[`OuiIcon props type snowflake is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -7564,7 +7567,7 @@ exports[`OuiIcon props type sortDown is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -7581,7 +7584,7 @@ exports[`OuiIcon props type sortLeft is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -7599,7 +7602,7 @@ exports[`OuiIcon props type sortRight is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -7616,7 +7619,7 @@ exports[`OuiIcon props type sortUp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -7633,7 +7636,7 @@ exports[`OuiIcon props type sortable is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -7679,7 +7682,7 @@ exports[`OuiIcon props type sqlApp is rendered 1`] = ` d="M18 6h9v2h-9zM5 6h9v2H5zM5 12h9v2H5zM18 12h9v2h-9zM5 18h9v2H5zM18 18h9v2h-9zM18 24h9v2h-9zM5 24h9v2H5z" /> `; @@ -7696,7 +7699,7 @@ exports[`OuiIcon props type starEmpty is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -7714,7 +7717,7 @@ exports[`OuiIcon props type starEmptySpace is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -7732,7 +7735,7 @@ exports[`OuiIcon props type starFilled is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -7750,7 +7753,7 @@ exports[`OuiIcon props type starFilledSpace is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -7768,7 +7771,7 @@ exports[`OuiIcon props type starMinusEmpty is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -7786,7 +7789,7 @@ exports[`OuiIcon props type starMinusFilled is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -7804,7 +7807,7 @@ exports[`OuiIcon props type starPlusEmpty is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -7822,7 +7825,7 @@ exports[`OuiIcon props type starPlusFilled is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -7840,7 +7843,7 @@ exports[`OuiIcon props type stats is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -7858,7 +7861,7 @@ exports[`OuiIcon props type stop is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -7898,7 +7901,7 @@ exports[`OuiIcon props type stopSlash is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -7920,7 +7923,7 @@ exports[`OuiIcon props type storage is rendered 1`] = ` transform="translate(0 2)" > @@ -7972,7 +7975,7 @@ exports[`OuiIcon props type submodule is rendered 1`] = ` > `; @@ -8020,7 +8023,7 @@ exports[`OuiIcon props type symlink is rendered 1`] = ` > `; @@ -8037,7 +8040,7 @@ exports[`OuiIcon props type tableDensityCompact is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -8054,7 +8057,7 @@ exports[`OuiIcon props type tableDensityExpanded is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -8071,7 +8074,7 @@ exports[`OuiIcon props type tableDensityNormal is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -8105,7 +8108,7 @@ exports[`OuiIcon props type tag is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -8122,7 +8125,7 @@ exports[`OuiIcon props type tear is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -8139,10 +8142,10 @@ exports[`OuiIcon props type temperature is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -8159,7 +8162,7 @@ exports[`OuiIcon props type timeline is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8177,7 +8180,7 @@ exports[`OuiIcon props type timelionApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -8217,7 +8220,7 @@ exports[`OuiIcon props type tokenAlias is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8235,7 +8238,7 @@ exports[`OuiIcon props type tokenAnnotation is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8253,7 +8256,7 @@ exports[`OuiIcon props type tokenArray is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8271,7 +8274,7 @@ exports[`OuiIcon props type tokenBinary is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8289,7 +8292,7 @@ exports[`OuiIcon props type tokenBoolean is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8307,7 +8310,7 @@ exports[`OuiIcon props type tokenClass is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8326,11 +8329,11 @@ exports[`OuiIcon props type tokenCompletionSuggester is rendered 1`] = ` > `; @@ -8347,7 +8350,7 @@ exports[`OuiIcon props type tokenConstant is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8365,7 +8368,7 @@ exports[`OuiIcon props type tokenDate is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8383,7 +8386,7 @@ exports[`OuiIcon props type tokenDenseVector is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -8400,7 +8403,7 @@ exports[`OuiIcon props type tokenElement is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8436,7 +8439,7 @@ exports[`OuiIcon props type tokenEnumMember is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8454,7 +8457,7 @@ exports[`OuiIcon props type tokenEvent is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8472,7 +8475,7 @@ exports[`OuiIcon props type tokenException is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -8507,7 +8510,7 @@ exports[`OuiIcon props type tokenFile is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -8524,7 +8527,7 @@ exports[`OuiIcon props type tokenFlattened is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -8541,7 +8544,7 @@ exports[`OuiIcon props type tokenFunction is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8559,7 +8562,7 @@ exports[`OuiIcon props type tokenGeo is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8594,7 +8597,7 @@ exports[`OuiIcon props type tokenIP is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8612,7 +8615,7 @@ exports[`OuiIcon props type tokenInterface is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8631,7 +8634,7 @@ exports[`OuiIcon props type tokenJoin is rendered 1`] = ` > @@ -8649,7 +8652,7 @@ exports[`OuiIcon props type tokenKey is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8667,11 +8670,11 @@ exports[`OuiIcon props type tokenKeyword is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8689,7 +8692,7 @@ exports[`OuiIcon props type tokenMethod is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8707,10 +8710,10 @@ exports[`OuiIcon props type tokenModule is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -8727,7 +8730,7 @@ exports[`OuiIcon props type tokenNamespace is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -8747,10 +8750,10 @@ exports[`OuiIcon props type tokenNested is rendered 1`] = ` fill-rule="evenodd" > @@ -8768,7 +8771,7 @@ exports[`OuiIcon props type tokenNull is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -8785,7 +8788,7 @@ exports[`OuiIcon props type tokenNumber is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -8802,7 +8805,7 @@ exports[`OuiIcon props type tokenObject is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8820,7 +8823,7 @@ exports[`OuiIcon props type tokenOperator is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8838,7 +8841,7 @@ exports[`OuiIcon props type tokenPackage is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8856,7 +8859,7 @@ exports[`OuiIcon props type tokenParameter is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8875,7 +8878,7 @@ exports[`OuiIcon props type tokenPercolator is rendered 1`] = ` > @@ -8893,7 +8896,7 @@ exports[`OuiIcon props type tokenProperty is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8914,7 +8917,7 @@ exports[`OuiIcon props type tokenRange is rendered 1`] = ` fill-rule="evenodd" > @@ -8932,7 +8935,7 @@ exports[`OuiIcon props type tokenRankFeature is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -8949,7 +8952,7 @@ exports[`OuiIcon props type tokenRankFeatures is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -8966,7 +8969,7 @@ exports[`OuiIcon props type tokenRepo is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -8984,11 +8987,11 @@ exports[`OuiIcon props type tokenSearchType is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -9006,7 +9009,7 @@ exports[`OuiIcon props type tokenShape is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -9024,7 +9027,7 @@ exports[`OuiIcon props type tokenString is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9041,7 +9044,7 @@ exports[`OuiIcon props type tokenStruct is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -9059,7 +9062,7 @@ exports[`OuiIcon props type tokenSymbol is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9076,7 +9079,7 @@ exports[`OuiIcon props type tokenText is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9093,7 +9096,7 @@ exports[`OuiIcon props type tokenTokenCount is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9110,7 +9113,7 @@ exports[`OuiIcon props type tokenVariable is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -9128,7 +9131,7 @@ exports[`OuiIcon props type training is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9145,7 +9148,7 @@ exports[`OuiIcon props type trash is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9160,7 +9163,7 @@ exports[`OuiIcon props type unfold is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9178,10 +9181,10 @@ exports[`OuiIcon props type unlink is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9199,10 +9202,10 @@ exports[`OuiIcon props type upgradeAssistantApp is rendered 1`] = ` > `; @@ -9220,10 +9223,10 @@ exports[`OuiIcon props type uptimeApp is rendered 1`] = ` > `; @@ -9243,10 +9246,10 @@ exports[`OuiIcon props type user is rendered 1`] = ` fill-rule="evenodd" > @@ -9264,11 +9267,11 @@ exports[`OuiIcon props type users is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -9286,11 +9289,11 @@ exports[`OuiIcon props type usersRolesApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9307,7 +9310,7 @@ exports[`OuiIcon props type vector is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9324,7 +9327,7 @@ exports[`OuiIcon props type videoPlayer is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9341,7 +9344,7 @@ exports[`OuiIcon props type visArea is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9358,7 +9361,7 @@ exports[`OuiIcon props type visAreaStacked is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9375,7 +9378,7 @@ exports[`OuiIcon props type visBarHorizontal is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9392,7 +9395,7 @@ exports[`OuiIcon props type visBarHorizontalStacked is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9409,7 +9412,7 @@ exports[`OuiIcon props type visBarVertical is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9426,7 +9429,7 @@ exports[`OuiIcon props type visBarVerticalStacked is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9444,17 +9447,17 @@ exports[`OuiIcon props type visBuilder is rendered 1`] = ` > @@ -9472,10 +9475,10 @@ exports[`OuiIcon props type visBuilderSavedObject is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9492,7 +9495,7 @@ exports[`OuiIcon props type visGauge is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9509,7 +9512,7 @@ exports[`OuiIcon props type visGoal is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9526,7 +9529,7 @@ exports[`OuiIcon props type visLine is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9543,7 +9546,7 @@ exports[`OuiIcon props type visMapCoordinate is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9560,7 +9563,7 @@ exports[`OuiIcon props type visMapRegion is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9577,7 +9580,7 @@ exports[`OuiIcon props type visMetric is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9594,7 +9597,7 @@ exports[`OuiIcon props type visPie is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9611,14 +9614,14 @@ exports[`OuiIcon props type visQueryDQL is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -9636,14 +9639,14 @@ exports[`OuiIcon props type visQueryPPL is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -9661,14 +9664,14 @@ exports[`OuiIcon props type visQueryPromQL is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -9686,14 +9689,14 @@ exports[`OuiIcon props type visQuerySQL is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -9711,7 +9714,7 @@ exports[`OuiIcon props type visTable is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9728,7 +9731,7 @@ exports[`OuiIcon props type visTagCloud is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9745,7 +9748,7 @@ exports[`OuiIcon props type visText is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9762,7 +9765,7 @@ exports[`OuiIcon props type visTimelion is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9779,7 +9782,7 @@ exports[`OuiIcon props type visVega is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9796,7 +9799,7 @@ exports[`OuiIcon props type visVisualBuilder is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9814,13 +9817,13 @@ exports[`OuiIcon props type visualizeApp is rendered 1`] = ` > `; @@ -9837,17 +9840,17 @@ exports[`OuiIcon props type watchesApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9867,7 +9870,7 @@ exports[`OuiIcon props type wordWrap is rendered 1`] = ` d="M2 3h12v1H2V3zm0 8h6v1H2v-1z" /> `; @@ -9884,7 +9887,7 @@ exports[`OuiIcon props type wordWrapDisabled is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; @@ -9901,12 +9904,12 @@ exports[`OuiIcon props type workplaceSearchApp is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -9924,7 +9927,7 @@ exports[`OuiIcon props type wrench is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > `; diff --git a/src/components/icon/assets/accessibility.js b/src/components/icon/assets/accessibility.js index 186f49d751..506a39f674 100644 --- a/src/components/icon/assets/accessibility.js +++ b/src/components/icon/assets/accessibility.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconAccessibility = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAccessibility; diff --git a/src/components/icon/assets/aggregate.js b/src/components/icon/assets/aggregate.js index a3b15c3635..f4665fabcd 100644 --- a/src/components/icon/assets/aggregate.js +++ b/src/components/icon/assets/aggregate.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconAggregate = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconAggregate; diff --git a/src/components/icon/assets/alert.js b/src/components/icon/assets/alert.js index 99e200e8d6..8b3466ad19 100644 --- a/src/components/icon/assets/alert.js +++ b/src/components/icon/assets/alert.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconAlert = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconAlert; diff --git a/src/components/icon/assets/analyze_event.js b/src/components/icon/assets/analyze_event.js index fe8d35dc5f..47456c833c 100644 --- a/src/components/icon/assets/analyze_event.js +++ b/src/components/icon/assets/analyze_event.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconAnalyzeEvent = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconAnalyzeEvent; diff --git a/src/components/icon/assets/annotation.js b/src/components/icon/assets/annotation.js index da9bf64e74..9e26ebda6b 100644 --- a/src/components/icon/assets/annotation.js +++ b/src/components/icon/assets/annotation.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconAnnotation = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAnnotation; diff --git a/src/components/icon/assets/apm_trace.js b/src/components/icon/assets/apm_trace.js index ed835c6e62..9cddeb6644 100644 --- a/src/components/icon/assets/apm_trace.js +++ b/src/components/icon/assets/apm_trace.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconApmTrace = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconApmTrace; diff --git a/src/components/icon/assets/app_add_data.js b/src/components/icon/assets/app_add_data.js index 302e725ba5..82d93beb44 100644 --- a/src/components/icon/assets/app_add_data.js +++ b/src/components/icon/assets/app_add_data.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppAddData = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppAddData; diff --git a/src/components/icon/assets/app_advanced_settings.js b/src/components/icon/assets/app_advanced_settings.js index 5d1fe9389f..d23a3c27da 100644 --- a/src/components/icon/assets/app_advanced_settings.js +++ b/src/components/icon/assets/app_advanced_settings.js @@ -10,32 +10,30 @@ */ import * as React from 'react'; - const OuiIconAppAdvancedSettings = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + - + - + ); - export const icon = OuiIconAppAdvancedSettings; diff --git a/src/components/icon/assets/app_apm.js b/src/components/icon/assets/app_apm.js index 9e50cb7998..6963ef809e 100644 --- a/src/components/icon/assets/app_apm.js +++ b/src/components/icon/assets/app_apm.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppApm = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconAppApm; diff --git a/src/components/icon/assets/app_app_search.js b/src/components/icon/assets/app_app_search.js index 948bdaef1a..54e828babd 100644 --- a/src/components/icon/assets/app_app_search.js +++ b/src/components/icon/assets/app_app_search.js @@ -10,26 +10,24 @@ */ import * as React from 'react'; - const OuiIconAppAppSearch = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconAppAppSearch; diff --git a/src/components/icon/assets/app_auditbeat.js b/src/components/icon/assets/app_auditbeat.js index b2e6fd28d1..900dfdb1a8 100644 --- a/src/components/icon/assets/app_auditbeat.js +++ b/src/components/icon/assets/app_auditbeat.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconAppAuditbeat = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppAuditbeat; diff --git a/src/components/icon/assets/app_canvas.js b/src/components/icon/assets/app_canvas.js index 71334057ab..36791db425 100644 --- a/src/components/icon/assets/app_canvas.js +++ b/src/components/icon/assets/app_canvas.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppCanvas = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppCanvas; diff --git a/src/components/icon/assets/app_code.js b/src/components/icon/assets/app_code.js index 6c0842a272..0b1486ab9b 100644 --- a/src/components/icon/assets/app_code.js +++ b/src/components/icon/assets/app_code.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppCode = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppCode; diff --git a/src/components/icon/assets/app_console.js b/src/components/icon/assets/app_console.js index 6db0c95c14..7af2bdd83a 100644 --- a/src/components/icon/assets/app_console.js +++ b/src/components/icon/assets/app_console.js @@ -10,23 +10,21 @@ */ import * as React from 'react'; - const OuiIconAppConsole = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + - + ); - export const icon = OuiIconAppConsole; diff --git a/src/components/icon/assets/app_cross_cluster_replication.js b/src/components/icon/assets/app_cross_cluster_replication.js index 4de567bbe4..13bd71cfd4 100644 --- a/src/components/icon/assets/app_cross_cluster_replication.js +++ b/src/components/icon/assets/app_cross_cluster_replication.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppCrossClusterReplication = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconAppCrossClusterReplication; diff --git a/src/components/icon/assets/app_dashboard.js b/src/components/icon/assets/app_dashboard.js index 2a3eb22d60..be65a8d9c3 100644 --- a/src/components/icon/assets/app_dashboard.js +++ b/src/components/icon/assets/app_dashboard.js @@ -10,27 +10,25 @@ */ import * as React from 'react'; - const OuiIconAppDashboard = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + - + ); - export const icon = OuiIconAppDashboard; diff --git a/src/components/icon/assets/app_devtools.js b/src/components/icon/assets/app_devtools.js index 2f069cfb2b..aa7a3f025d 100644 --- a/src/components/icon/assets/app_devtools.js +++ b/src/components/icon/assets/app_devtools.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconAppDevtools = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconAppDevtools; diff --git a/src/components/icon/assets/app_discover.js b/src/components/icon/assets/app_discover.js index ba7c6d014d..4546a12ff8 100644 --- a/src/components/icon/assets/app_discover.js +++ b/src/components/icon/assets/app_discover.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppDiscover = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppDiscover; diff --git a/src/components/icon/assets/app_ems.js b/src/components/icon/assets/app_ems.js index a796130326..3ca7fc8adb 100644 --- a/src/components/icon/assets/app_ems.js +++ b/src/components/icon/assets/app_ems.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconAppEms = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconAppEms; diff --git a/src/components/icon/assets/app_filebeat.js b/src/components/icon/assets/app_filebeat.js index c1b0d63df6..7ecae7d885 100644 --- a/src/components/icon/assets/app_filebeat.js +++ b/src/components/icon/assets/app_filebeat.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppFilebeat = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppFilebeat; diff --git a/src/components/icon/assets/app_gis.js b/src/components/icon/assets/app_gis.js index 8de3eb3840..70ecccaae3 100644 --- a/src/components/icon/assets/app_gis.js +++ b/src/components/icon/assets/app_gis.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppGis = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppGis; diff --git a/src/components/icon/assets/app_graph.js b/src/components/icon/assets/app_graph.js index 6f3b792323..39ce32c9c5 100644 --- a/src/components/icon/assets/app_graph.js +++ b/src/components/icon/assets/app_graph.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppGraph = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppGraph; diff --git a/src/components/icon/assets/app_grok.js b/src/components/icon/assets/app_grok.js index c991de986c..fe974bb6fe 100644 --- a/src/components/icon/assets/app_grok.js +++ b/src/components/icon/assets/app_grok.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppGrok = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppGrok; diff --git a/src/components/icon/assets/app_heartbeat.js b/src/components/icon/assets/app_heartbeat.js index d9145b7a3f..b6575c1dcc 100644 --- a/src/components/icon/assets/app_heartbeat.js +++ b/src/components/icon/assets/app_heartbeat.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppHeartbeat = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppHeartbeat; diff --git a/src/components/icon/assets/app_index_management.js b/src/components/icon/assets/app_index_management.js index 288092aeeb..11e7e22ffc 100644 --- a/src/components/icon/assets/app_index_management.js +++ b/src/components/icon/assets/app_index_management.js @@ -10,23 +10,21 @@ */ import * as React from 'react'; - const OuiIconAppIndexManagement = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppIndexManagement; diff --git a/src/components/icon/assets/app_index_pattern.js b/src/components/icon/assets/app_index_pattern.js index 243a6187c2..4d97b5ed7b 100644 --- a/src/components/icon/assets/app_index_pattern.js +++ b/src/components/icon/assets/app_index_pattern.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppIndexPattern = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppIndexPattern; diff --git a/src/components/icon/assets/app_index_rollup.js b/src/components/icon/assets/app_index_rollup.js index f62ab53441..62d5b831b4 100644 --- a/src/components/icon/assets/app_index_rollup.js +++ b/src/components/icon/assets/app_index_rollup.js @@ -10,24 +10,22 @@ */ import * as React from 'react'; - const OuiIconAppIndexRollup = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + - + ); - export const icon = OuiIconAppIndexRollup; diff --git a/src/components/icon/assets/app_lens.js b/src/components/icon/assets/app_lens.js index 075350679b..b9de65565f 100644 --- a/src/components/icon/assets/app_lens.js +++ b/src/components/icon/assets/app_lens.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppLens = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppLens; diff --git a/src/components/icon/assets/app_logs.js b/src/components/icon/assets/app_logs.js index 25b9cf330d..169f8a6886 100644 --- a/src/components/icon/assets/app_logs.js +++ b/src/components/icon/assets/app_logs.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppLogs = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppLogs; diff --git a/src/components/icon/assets/app_management.js b/src/components/icon/assets/app_management.js index ef882444e7..6d12f3225e 100644 --- a/src/components/icon/assets/app_management.js +++ b/src/components/icon/assets/app_management.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppManagement = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppManagement; diff --git a/src/components/icon/assets/app_metricbeat.js b/src/components/icon/assets/app_metricbeat.js index a2cef1eacc..73fac3b18f 100644 --- a/src/components/icon/assets/app_metricbeat.js +++ b/src/components/icon/assets/app_metricbeat.js @@ -10,23 +10,21 @@ */ import * as React from 'react'; - const OuiIconAppMetricbeat = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + - + ); - export const icon = OuiIconAppMetricbeat; diff --git a/src/components/icon/assets/app_metrics.js b/src/components/icon/assets/app_metrics.js index 49d0e0caf1..199995ec6f 100644 --- a/src/components/icon/assets/app_metrics.js +++ b/src/components/icon/assets/app_metrics.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppMetrics = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppMetrics; diff --git a/src/components/icon/assets/app_ml.js b/src/components/icon/assets/app_ml.js index 38d319787a..634bcdd895 100644 --- a/src/components/icon/assets/app_ml.js +++ b/src/components/icon/assets/app_ml.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppMl = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppMl; diff --git a/src/components/icon/assets/app_monitoring.js b/src/components/icon/assets/app_monitoring.js index 49c9bd4ffd..004883b1be 100644 --- a/src/components/icon/assets/app_monitoring.js +++ b/src/components/icon/assets/app_monitoring.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppMonitoring = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppMonitoring; diff --git a/src/components/icon/assets/app_notebook.js b/src/components/icon/assets/app_notebook.js index 87a30e2035..10261d3383 100644 --- a/src/components/icon/assets/app_notebook.js +++ b/src/components/icon/assets/app_notebook.js @@ -10,20 +10,18 @@ */ import * as React from 'react'; - const OuiIconAppNotebook = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + - + ); - export const icon = OuiIconAppNotebook; diff --git a/src/components/icon/assets/app_packetbeat.js b/src/components/icon/assets/app_packetbeat.js index f0b69666bf..73a39d2b26 100644 --- a/src/components/icon/assets/app_packetbeat.js +++ b/src/components/icon/assets/app_packetbeat.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppPacketbeat = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppPacketbeat; diff --git a/src/components/icon/assets/app_pipeline.js b/src/components/icon/assets/app_pipeline.js index 7358b61121..be476ccddd 100644 --- a/src/components/icon/assets/app_pipeline.js +++ b/src/components/icon/assets/app_pipeline.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconAppPipeline = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconAppPipeline; diff --git a/src/components/icon/assets/app_recently_viewed.js b/src/components/icon/assets/app_recently_viewed.js index a2515301b5..e8c7852cff 100644 --- a/src/components/icon/assets/app_recently_viewed.js +++ b/src/components/icon/assets/app_recently_viewed.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppRecentlyViewed = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppRecentlyViewed; diff --git a/src/components/icon/assets/app_reporting.js b/src/components/icon/assets/app_reporting.js index 9f81b36096..79183c17fc 100644 --- a/src/components/icon/assets/app_reporting.js +++ b/src/components/icon/assets/app_reporting.js @@ -10,23 +10,21 @@ */ import * as React from 'react'; - const OuiIconAppReporting = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconAppReporting; diff --git a/src/components/icon/assets/app_saved_objects.js b/src/components/icon/assets/app_saved_objects.js index f356880834..716a0ec311 100644 --- a/src/components/icon/assets/app_saved_objects.js +++ b/src/components/icon/assets/app_saved_objects.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppSavedObjects = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppSavedObjects; diff --git a/src/components/icon/assets/app_search_profiler.js b/src/components/icon/assets/app_search_profiler.js index ca8be762dd..b6a6fcc285 100644 --- a/src/components/icon/assets/app_search_profiler.js +++ b/src/components/icon/assets/app_search_profiler.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppSearchProfiler = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + - + - + ); - export const icon = OuiIconAppSearchProfiler; diff --git a/src/components/icon/assets/app_security.js b/src/components/icon/assets/app_security.js index a665977836..ed626bcac7 100644 --- a/src/components/icon/assets/app_security.js +++ b/src/components/icon/assets/app_security.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppSecurity = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppSecurity; diff --git a/src/components/icon/assets/app_security_analytics.js b/src/components/icon/assets/app_security_analytics.js index 2322b52639..64376d4be0 100644 --- a/src/components/icon/assets/app_security_analytics.js +++ b/src/components/icon/assets/app_security_analytics.js @@ -10,23 +10,21 @@ */ import * as React from 'react'; - const OuiIconAppSecurityAnalytics = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconAppSecurityAnalytics; diff --git a/src/components/icon/assets/app_spaces.js b/src/components/icon/assets/app_spaces.js index 4bcce06c10..780c5cc071 100644 --- a/src/components/icon/assets/app_spaces.js +++ b/src/components/icon/assets/app_spaces.js @@ -10,23 +10,21 @@ */ import * as React from 'react'; - const OuiIconAppSpaces = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppSpaces; diff --git a/src/components/icon/assets/app_sql.js b/src/components/icon/assets/app_sql.js index 3c19a1598d..01e5c48d02 100644 --- a/src/components/icon/assets/app_sql.js +++ b/src/components/icon/assets/app_sql.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppSql = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppSql; diff --git a/src/components/icon/assets/app_timelion.js b/src/components/icon/assets/app_timelion.js index 3a1eb70b04..6d32338637 100644 --- a/src/components/icon/assets/app_timelion.js +++ b/src/components/icon/assets/app_timelion.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconAppTimelion = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconAppTimelion; diff --git a/src/components/icon/assets/app_upgrade_assistant.js b/src/components/icon/assets/app_upgrade_assistant.js index 18c8dc12d5..ea216ff544 100644 --- a/src/components/icon/assets/app_upgrade_assistant.js +++ b/src/components/icon/assets/app_upgrade_assistant.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppUpgradeAssistant = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppUpgradeAssistant; diff --git a/src/components/icon/assets/app_uptime.js b/src/components/icon/assets/app_uptime.js index 003262fe13..4de83918cf 100644 --- a/src/components/icon/assets/app_uptime.js +++ b/src/components/icon/assets/app_uptime.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppUptime = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppUptime; diff --git a/src/components/icon/assets/app_users_roles.js b/src/components/icon/assets/app_users_roles.js index b146d766ed..45d6229b32 100644 --- a/src/components/icon/assets/app_users_roles.js +++ b/src/components/icon/assets/app_users_roles.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconAppUsersRoles = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppUsersRoles; diff --git a/src/components/icon/assets/app_visualize.js b/src/components/icon/assets/app_visualize.js index 55f8b4cce2..aed9ee183c 100644 --- a/src/components/icon/assets/app_visualize.js +++ b/src/components/icon/assets/app_visualize.js @@ -10,23 +10,21 @@ */ import * as React from 'react'; - const OuiIconAppVisualize = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAppVisualize; diff --git a/src/components/icon/assets/app_watches.js b/src/components/icon/assets/app_watches.js index 92cc5a4e14..a936d706e5 100644 --- a/src/components/icon/assets/app_watches.js +++ b/src/components/icon/assets/app_watches.js @@ -10,24 +10,22 @@ */ import * as React from 'react'; - const OuiIconAppWatches = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - - + + + ); - export const icon = OuiIconAppWatches; diff --git a/src/components/icon/assets/app_workplace_search.js b/src/components/icon/assets/app_workplace_search.js index 18c568d578..d253f9ac61 100644 --- a/src/components/icon/assets/app_workplace_search.js +++ b/src/components/icon/assets/app_workplace_search.js @@ -10,26 +10,24 @@ */ import * as React from 'react'; - const OuiIconAppWorkplaceSearch = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconAppWorkplaceSearch; diff --git a/src/components/icon/assets/apps.js b/src/components/icon/assets/apps.js index d6f48c4b87..3ab303d736 100644 --- a/src/components/icon/assets/apps.js +++ b/src/components/icon/assets/apps.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconApps = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconApps; diff --git a/src/components/icon/assets/arrow_down.js b/src/components/icon/assets/arrow_down.js index 27de4856dc..ecfe1ba802 100644 --- a/src/components/icon/assets/arrow_down.js +++ b/src/components/icon/assets/arrow_down.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconArrowDown = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconArrowDown; diff --git a/src/components/icon/assets/arrow_left.js b/src/components/icon/assets/arrow_left.js index bdbbfbc62b..29994f007f 100644 --- a/src/components/icon/assets/arrow_left.js +++ b/src/components/icon/assets/arrow_left.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconArrowLeft = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconArrowLeft; diff --git a/src/components/icon/assets/arrow_right.js b/src/components/icon/assets/arrow_right.js index 80456525b3..8e822576dc 100644 --- a/src/components/icon/assets/arrow_right.js +++ b/src/components/icon/assets/arrow_right.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconArrowRight = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconArrowRight; diff --git a/src/components/icon/assets/arrow_up.js b/src/components/icon/assets/arrow_up.js index 19c38039a9..134bf9757c 100644 --- a/src/components/icon/assets/arrow_up.js +++ b/src/components/icon/assets/arrow_up.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconArrowUp = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconArrowUp; diff --git a/src/components/icon/assets/asterisk.js b/src/components/icon/assets/asterisk.js index 29cbe6ad0a..d753caf1a9 100644 --- a/src/components/icon/assets/asterisk.js +++ b/src/components/icon/assets/asterisk.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconAsterisk = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconAsterisk; diff --git a/src/components/icon/assets/beaker.js b/src/components/icon/assets/beaker.js index b6b952775b..a7dcc50f01 100644 --- a/src/components/icon/assets/beaker.js +++ b/src/components/icon/assets/beaker.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconBeaker = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconBeaker; diff --git a/src/components/icon/assets/bell.js b/src/components/icon/assets/bell.js index 4f20301693..3c5e4a3406 100644 --- a/src/components/icon/assets/bell.js +++ b/src/components/icon/assets/bell.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconBell = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconBell; diff --git a/src/components/icon/assets/bellSlash.js b/src/components/icon/assets/bellSlash.js index 020ebda483..2956427eb9 100644 --- a/src/components/icon/assets/bellSlash.js +++ b/src/components/icon/assets/bellSlash.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconBellSlash = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconBellSlash; diff --git a/src/components/icon/assets/bolt.js b/src/components/icon/assets/bolt.js index 84c6760b47..1a81282c53 100644 --- a/src/components/icon/assets/bolt.js +++ b/src/components/icon/assets/bolt.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconBolt = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconBolt; diff --git a/src/components/icon/assets/boxes_horizontal.js b/src/components/icon/assets/boxes_horizontal.js index 234f7a5bbe..ef40cd3073 100644 --- a/src/components/icon/assets/boxes_horizontal.js +++ b/src/components/icon/assets/boxes_horizontal.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconBoxesHorizontal = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconBoxesHorizontal; diff --git a/src/components/icon/assets/boxes_vertical.js b/src/components/icon/assets/boxes_vertical.js index ae73749364..a1ef676cb7 100644 --- a/src/components/icon/assets/boxes_vertical.js +++ b/src/components/icon/assets/boxes_vertical.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconBoxesVertical = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconBoxesVertical; diff --git a/src/components/icon/assets/branch.js b/src/components/icon/assets/branch.js index bf25009068..b0f0a3730c 100644 --- a/src/components/icon/assets/branch.js +++ b/src/components/icon/assets/branch.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconBranch = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconBranch; diff --git a/src/components/icon/assets/broom.js b/src/components/icon/assets/broom.js index 040ec0d936..5db839c450 100644 --- a/src/components/icon/assets/broom.js +++ b/src/components/icon/assets/broom.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconBroom = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconBroom; diff --git a/src/components/icon/assets/brush.js b/src/components/icon/assets/brush.js index 4acc1d7b70..7601fc0114 100644 --- a/src/components/icon/assets/brush.js +++ b/src/components/icon/assets/brush.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconBrush = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconBrush; diff --git a/src/components/icon/assets/bug.js b/src/components/icon/assets/bug.js index 652f570b5f..819037085e 100644 --- a/src/components/icon/assets/bug.js +++ b/src/components/icon/assets/bug.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconBug = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconBug; diff --git a/src/components/icon/assets/bullseye.js b/src/components/icon/assets/bullseye.js index 52c406e4a4..759585f124 100644 --- a/src/components/icon/assets/bullseye.js +++ b/src/components/icon/assets/bullseye.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconBullseye = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconBullseye; diff --git a/src/components/icon/assets/calendar.js b/src/components/icon/assets/calendar.js index 6e69aac664..c7c66c5f29 100644 --- a/src/components/icon/assets/calendar.js +++ b/src/components/icon/assets/calendar.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconCalendar = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconCalendar; diff --git a/src/components/icon/assets/check.js b/src/components/icon/assets/check.js index 1ce371769d..11f5314e8b 100644 --- a/src/components/icon/assets/check.js +++ b/src/components/icon/assets/check.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconCheck = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconCheck; diff --git a/src/components/icon/assets/checkInCircleFilled.js b/src/components/icon/assets/checkInCircleFilled.js index 0681ec999b..5a2c6fe2b9 100644 --- a/src/components/icon/assets/checkInCircleFilled.js +++ b/src/components/icon/assets/checkInCircleFilled.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconCheckInCircleFilled = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconCheckInCircleFilled; diff --git a/src/components/icon/assets/cheer.js b/src/components/icon/assets/cheer.js index a9add019f7..aa304e0435 100644 --- a/src/components/icon/assets/cheer.js +++ b/src/components/icon/assets/cheer.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconCheer = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconCheer; diff --git a/src/components/icon/assets/clock.js b/src/components/icon/assets/clock.js index 47ebf476f6..e38a2f0cc5 100644 --- a/src/components/icon/assets/clock.js +++ b/src/components/icon/assets/clock.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconClock = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconClock; diff --git a/src/components/icon/assets/cloudDrizzle.js b/src/components/icon/assets/cloudDrizzle.js index 6048d1bafb..746e5012d9 100644 --- a/src/components/icon/assets/cloudDrizzle.js +++ b/src/components/icon/assets/cloudDrizzle.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconCloudDrizzle = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconCloudDrizzle; diff --git a/src/components/icon/assets/cloudStormy.js b/src/components/icon/assets/cloudStormy.js index 265bca16f6..b7c69c91b7 100644 --- a/src/components/icon/assets/cloudStormy.js +++ b/src/components/icon/assets/cloudStormy.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconCloudStormy = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconCloudStormy; diff --git a/src/components/icon/assets/cloudSunny.js b/src/components/icon/assets/cloudSunny.js index 370d97d982..ec78802350 100644 --- a/src/components/icon/assets/cloudSunny.js +++ b/src/components/icon/assets/cloudSunny.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconCloudSunny = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconCloudSunny; diff --git a/src/components/icon/assets/color.js b/src/components/icon/assets/color.js index f20caed2ad..f22957eb97 100644 --- a/src/components/icon/assets/color.js +++ b/src/components/icon/assets/color.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconColor = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconColor; diff --git a/src/components/icon/assets/compute.js b/src/components/icon/assets/compute.js index d68b8f3fd6..34af9a22c2 100644 --- a/src/components/icon/assets/compute.js +++ b/src/components/icon/assets/compute.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconCompute = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconCompute; diff --git a/src/components/icon/assets/console.js b/src/components/icon/assets/console.js index 67eeb57267..e649b0520a 100644 --- a/src/components/icon/assets/console.js +++ b/src/components/icon/assets/console.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconConsole = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconConsole; diff --git a/src/components/icon/assets/continuityAbove.js b/src/components/icon/assets/continuityAbove.js index 5140379763..8c96011915 100644 --- a/src/components/icon/assets/continuityAbove.js +++ b/src/components/icon/assets/continuityAbove.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconContinuityAbove = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconContinuityAbove; diff --git a/src/components/icon/assets/continuityAboveBelow.js b/src/components/icon/assets/continuityAboveBelow.js index 12921c58bb..e38af36746 100644 --- a/src/components/icon/assets/continuityAboveBelow.js +++ b/src/components/icon/assets/continuityAboveBelow.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconContinuityAboveBelow = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconContinuityAboveBelow; diff --git a/src/components/icon/assets/continuityBelow.js b/src/components/icon/assets/continuityBelow.js index f238e17333..d4ba59bed0 100644 --- a/src/components/icon/assets/continuityBelow.js +++ b/src/components/icon/assets/continuityBelow.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconContinuityBelow = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconContinuityBelow; diff --git a/src/components/icon/assets/continuityWithin.js b/src/components/icon/assets/continuityWithin.js index dccd522e5b..6485a2cc8c 100644 --- a/src/components/icon/assets/continuityWithin.js +++ b/src/components/icon/assets/continuityWithin.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconContinuityWithin = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconContinuityWithin; diff --git a/src/components/icon/assets/controls_horizontal.js b/src/components/icon/assets/controls_horizontal.js index c9e8c08e4f..fbe7a5ba1f 100644 --- a/src/components/icon/assets/controls_horizontal.js +++ b/src/components/icon/assets/controls_horizontal.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconControlsHorizontal = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconControlsHorizontal; diff --git a/src/components/icon/assets/controls_vertical.js b/src/components/icon/assets/controls_vertical.js index d5ab03d1a0..7a84b458dd 100644 --- a/src/components/icon/assets/controls_vertical.js +++ b/src/components/icon/assets/controls_vertical.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconControlsVertical = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconControlsVertical; diff --git a/src/components/icon/assets/copy.js b/src/components/icon/assets/copy.js index e0acac6d24..7e46a7de36 100644 --- a/src/components/icon/assets/copy.js +++ b/src/components/icon/assets/copy.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconCopy = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconCopy; diff --git a/src/components/icon/assets/copy_clipboard.js b/src/components/icon/assets/copy_clipboard.js index ae29fdc1ac..cd3f948fcf 100644 --- a/src/components/icon/assets/copy_clipboard.js +++ b/src/components/icon/assets/copy_clipboard.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconCopyClipboard = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconCopyClipboard; diff --git a/src/components/icon/assets/cross.js b/src/components/icon/assets/cross.js index 1c9cc45a70..5175754419 100644 --- a/src/components/icon/assets/cross.js +++ b/src/components/icon/assets/cross.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconCross = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconCross; diff --git a/src/components/icon/assets/crossInACircleFilled.js b/src/components/icon/assets/crossInACircleFilled.js index bdfcd5619b..2e7927bb01 100644 --- a/src/components/icon/assets/crossInACircleFilled.js +++ b/src/components/icon/assets/crossInACircleFilled.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconCrossInACircleFilled = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconCrossInACircleFilled; diff --git a/src/components/icon/assets/crosshairs.js b/src/components/icon/assets/crosshairs.js index cd7f6bbf71..63003594e8 100644 --- a/src/components/icon/assets/crosshairs.js +++ b/src/components/icon/assets/crosshairs.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconCrosshairs = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconCrosshairs; diff --git a/src/components/icon/assets/currency.js b/src/components/icon/assets/currency.js index b7d40f07e0..190019e560 100644 --- a/src/components/icon/assets/currency.js +++ b/src/components/icon/assets/currency.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconCurrency = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconCurrency; diff --git a/src/components/icon/assets/cut.js b/src/components/icon/assets/cut.js index 84dd1ef2fa..1077ddcc82 100644 --- a/src/components/icon/assets/cut.js +++ b/src/components/icon/assets/cut.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconCut = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconCut; diff --git a/src/components/icon/assets/database.js b/src/components/icon/assets/database.js index 86cb471ac3..234f3fe95a 100644 --- a/src/components/icon/assets/database.js +++ b/src/components/icon/assets/database.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconDatabase = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconDatabase; diff --git a/src/components/icon/assets/document.js b/src/components/icon/assets/document.js index bfb4b96fc5..798ec925d8 100644 --- a/src/components/icon/assets/document.js +++ b/src/components/icon/assets/document.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconDocument = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconDocument; diff --git a/src/components/icon/assets/documentEdit.js b/src/components/icon/assets/documentEdit.js index aca9b2b7ce..74d74fa972 100644 --- a/src/components/icon/assets/documentEdit.js +++ b/src/components/icon/assets/documentEdit.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconDocumentEdit = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconDocumentEdit; diff --git a/src/components/icon/assets/documentation.js b/src/components/icon/assets/documentation.js index 8af0127916..fc773f3d5a 100644 --- a/src/components/icon/assets/documentation.js +++ b/src/components/icon/assets/documentation.js @@ -10,20 +10,18 @@ */ import * as React from 'react'; - const OuiIconDocumentation = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - - + + + ); - export const icon = OuiIconDocumentation; diff --git a/src/components/icon/assets/documents.js b/src/components/icon/assets/documents.js index 1014da549e..783e03cc45 100644 --- a/src/components/icon/assets/documents.js +++ b/src/components/icon/assets/documents.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconDocuments = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconDocuments; diff --git a/src/components/icon/assets/dot.js b/src/components/icon/assets/dot.js index 4983eae2de..b00ded7b44 100644 --- a/src/components/icon/assets/dot.js +++ b/src/components/icon/assets/dot.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconDot = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconDot; diff --git a/src/components/icon/assets/download.js b/src/components/icon/assets/download.js index 8c8f6630de..00f540f6a1 100644 --- a/src/components/icon/assets/download.js +++ b/src/components/icon/assets/download.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconDownload = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconDownload; diff --git a/src/components/icon/assets/editorDistributeHorizontal.js b/src/components/icon/assets/editorDistributeHorizontal.js index 5317dfb702..e597c39f10 100644 --- a/src/components/icon/assets/editorDistributeHorizontal.js +++ b/src/components/icon/assets/editorDistributeHorizontal.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorDistributeHorizontal = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorDistributeHorizontal; diff --git a/src/components/icon/assets/editorDistributeVertical.js b/src/components/icon/assets/editorDistributeVertical.js index d39287f2eb..9bc728ba2e 100644 --- a/src/components/icon/assets/editorDistributeVertical.js +++ b/src/components/icon/assets/editorDistributeVertical.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorDistributeVertical = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorDistributeVertical; diff --git a/src/components/icon/assets/editorItemAlignBottom.js b/src/components/icon/assets/editorItemAlignBottom.js index 924104447a..35b0c08e4f 100644 --- a/src/components/icon/assets/editorItemAlignBottom.js +++ b/src/components/icon/assets/editorItemAlignBottom.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorItemAlignBottom = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorItemAlignBottom; diff --git a/src/components/icon/assets/editorItemAlignCenter.js b/src/components/icon/assets/editorItemAlignCenter.js index 989f1f9129..6e39f9cba8 100644 --- a/src/components/icon/assets/editorItemAlignCenter.js +++ b/src/components/icon/assets/editorItemAlignCenter.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorItemAlignCenter = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorItemAlignCenter; diff --git a/src/components/icon/assets/editorItemAlignLeft.js b/src/components/icon/assets/editorItemAlignLeft.js index 2ab035fbd3..aaf509ba23 100644 --- a/src/components/icon/assets/editorItemAlignLeft.js +++ b/src/components/icon/assets/editorItemAlignLeft.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorItemAlignLeft = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorItemAlignLeft; diff --git a/src/components/icon/assets/editorItemAlignMiddle.js b/src/components/icon/assets/editorItemAlignMiddle.js index 9c8a3de6ec..93852e7573 100644 --- a/src/components/icon/assets/editorItemAlignMiddle.js +++ b/src/components/icon/assets/editorItemAlignMiddle.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorItemAlignMiddle = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorItemAlignMiddle; diff --git a/src/components/icon/assets/editorItemAlignRight.js b/src/components/icon/assets/editorItemAlignRight.js index 96fb412a43..5110a6818f 100644 --- a/src/components/icon/assets/editorItemAlignRight.js +++ b/src/components/icon/assets/editorItemAlignRight.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorItemAlignRight = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorItemAlignRight; diff --git a/src/components/icon/assets/editorItemAlignTop.js b/src/components/icon/assets/editorItemAlignTop.js index b7f9f24bda..afdd894a8e 100644 --- a/src/components/icon/assets/editorItemAlignTop.js +++ b/src/components/icon/assets/editorItemAlignTop.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorItemAlignTop = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorItemAlignTop; diff --git a/src/components/icon/assets/editorPositionBottomLeft.js b/src/components/icon/assets/editorPositionBottomLeft.js index de3c6d7b3c..882a668c0c 100644 --- a/src/components/icon/assets/editorPositionBottomLeft.js +++ b/src/components/icon/assets/editorPositionBottomLeft.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorPositionBottomLeft = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorPositionBottomLeft; diff --git a/src/components/icon/assets/editorPositionBottomRight.js b/src/components/icon/assets/editorPositionBottomRight.js index 3804b60f3c..bf45540c66 100644 --- a/src/components/icon/assets/editorPositionBottomRight.js +++ b/src/components/icon/assets/editorPositionBottomRight.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorPositionBottomRight = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorPositionBottomRight; diff --git a/src/components/icon/assets/editorPositionTopLeft.js b/src/components/icon/assets/editorPositionTopLeft.js index b9b344f20e..477fabc7dc 100644 --- a/src/components/icon/assets/editorPositionTopLeft.js +++ b/src/components/icon/assets/editorPositionTopLeft.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorPositionTopLeft = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorPositionTopLeft; diff --git a/src/components/icon/assets/editorPositionTopRight.js b/src/components/icon/assets/editorPositionTopRight.js index 216ee80e15..dd5429ca48 100644 --- a/src/components/icon/assets/editorPositionTopRight.js +++ b/src/components/icon/assets/editorPositionTopRight.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorPositionTopRight = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorPositionTopRight; diff --git a/src/components/icon/assets/editor_align_center.js b/src/components/icon/assets/editor_align_center.js index bf052a1731..28e111b2f8 100644 --- a/src/components/icon/assets/editor_align_center.js +++ b/src/components/icon/assets/editor_align_center.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorAlignCenter = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorAlignCenter; diff --git a/src/components/icon/assets/editor_align_left.js b/src/components/icon/assets/editor_align_left.js index 41f559ef24..b22c7a0690 100644 --- a/src/components/icon/assets/editor_align_left.js +++ b/src/components/icon/assets/editor_align_left.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorAlignLeft = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorAlignLeft; diff --git a/src/components/icon/assets/editor_align_right.js b/src/components/icon/assets/editor_align_right.js index 191eb574c8..1b386bdc50 100644 --- a/src/components/icon/assets/editor_align_right.js +++ b/src/components/icon/assets/editor_align_right.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorAlignRight = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorAlignRight; diff --git a/src/components/icon/assets/editor_bold.js b/src/components/icon/assets/editor_bold.js index 5bee80e22b..d6a8c23baf 100644 --- a/src/components/icon/assets/editor_bold.js +++ b/src/components/icon/assets/editor_bold.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorBold = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorBold; diff --git a/src/components/icon/assets/editor_code_block.js b/src/components/icon/assets/editor_code_block.js index 47827d5a08..6a5d078bf5 100644 --- a/src/components/icon/assets/editor_code_block.js +++ b/src/components/icon/assets/editor_code_block.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorCodeBlock = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorCodeBlock; diff --git a/src/components/icon/assets/editor_comment.js b/src/components/icon/assets/editor_comment.js index b17fb829c6..ae3485b073 100644 --- a/src/components/icon/assets/editor_comment.js +++ b/src/components/icon/assets/editor_comment.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorComment = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorComment; diff --git a/src/components/icon/assets/editor_heading.js b/src/components/icon/assets/editor_heading.js index 80d12f9ffe..8895c38cd6 100644 --- a/src/components/icon/assets/editor_heading.js +++ b/src/components/icon/assets/editor_heading.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorHeading = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorHeading; diff --git a/src/components/icon/assets/editor_italic.js b/src/components/icon/assets/editor_italic.js index d325ee9a81..585c268651 100644 --- a/src/components/icon/assets/editor_italic.js +++ b/src/components/icon/assets/editor_italic.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorItalic = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorItalic; diff --git a/src/components/icon/assets/editor_link.js b/src/components/icon/assets/editor_link.js index 0f8fce78ed..aebdefedfa 100644 --- a/src/components/icon/assets/editor_link.js +++ b/src/components/icon/assets/editor_link.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorLink = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorLink; diff --git a/src/components/icon/assets/editor_ordered_list.js b/src/components/icon/assets/editor_ordered_list.js index 7f356c39f5..98f9ed78ae 100644 --- a/src/components/icon/assets/editor_ordered_list.js +++ b/src/components/icon/assets/editor_ordered_list.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorOrderedList = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorOrderedList; diff --git a/src/components/icon/assets/editor_redo.js b/src/components/icon/assets/editor_redo.js index c9ef9b774c..050b1c4a3c 100644 --- a/src/components/icon/assets/editor_redo.js +++ b/src/components/icon/assets/editor_redo.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorRedo = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorRedo; diff --git a/src/components/icon/assets/editor_strike.js b/src/components/icon/assets/editor_strike.js index 3fcdc02ac1..6d16073e68 100644 --- a/src/components/icon/assets/editor_strike.js +++ b/src/components/icon/assets/editor_strike.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorStrike = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorStrike; diff --git a/src/components/icon/assets/editor_table.js b/src/components/icon/assets/editor_table.js index 208422f89c..89dff1543a 100644 --- a/src/components/icon/assets/editor_table.js +++ b/src/components/icon/assets/editor_table.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorTable = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorTable; diff --git a/src/components/icon/assets/editor_underline.js b/src/components/icon/assets/editor_underline.js index a68970d1ee..c0b9f2f2fb 100644 --- a/src/components/icon/assets/editor_underline.js +++ b/src/components/icon/assets/editor_underline.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorUnderline = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorUnderline; diff --git a/src/components/icon/assets/editor_undo.js b/src/components/icon/assets/editor_undo.js index 2e15572bd3..84bc4376ed 100644 --- a/src/components/icon/assets/editor_undo.js +++ b/src/components/icon/assets/editor_undo.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorUndo = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorUndo; diff --git a/src/components/icon/assets/editor_unordered_list.js b/src/components/icon/assets/editor_unordered_list.js index cf7e890803..b07faf4fcc 100644 --- a/src/components/icon/assets/editor_unordered_list.js +++ b/src/components/icon/assets/editor_unordered_list.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEditorUnorderedList = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEditorUnorderedList; diff --git a/src/components/icon/assets/email.js b/src/components/icon/assets/email.js index a8359e0f1b..21a3ca89d7 100644 --- a/src/components/icon/assets/email.js +++ b/src/components/icon/assets/email.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconEmail = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconEmail; diff --git a/src/components/icon/assets/empty.js b/src/components/icon/assets/empty.js index e9d17eb2f9..23611b38bc 100644 --- a/src/components/icon/assets/empty.js +++ b/src/components/icon/assets/empty.js @@ -10,16 +10,14 @@ */ import * as React from 'react'; - const OuiIconEmpty = ({ title, titleId, ...props }) => ( ); - export const icon = OuiIconEmpty; diff --git a/src/components/icon/assets/eql.js b/src/components/icon/assets/eql.js index e5b85de658..2c2ef568c2 100644 --- a/src/components/icon/assets/eql.js +++ b/src/components/icon/assets/eql.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconEql = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconEql; diff --git a/src/components/icon/assets/eraser.js b/src/components/icon/assets/eraser.js index a294c822c0..bfb780374f 100644 --- a/src/components/icon/assets/eraser.js +++ b/src/components/icon/assets/eraser.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconEraser = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconEraser; diff --git a/src/components/icon/assets/exit.js b/src/components/icon/assets/exit.js index 7f8bd0d81b..baec0447c6 100644 --- a/src/components/icon/assets/exit.js +++ b/src/components/icon/assets/exit.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconExit = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconExit; diff --git a/src/components/icon/assets/expand.js b/src/components/icon/assets/expand.js index 89a3dd855b..82dddf602b 100644 --- a/src/components/icon/assets/expand.js +++ b/src/components/icon/assets/expand.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconExpand = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconExpand; diff --git a/src/components/icon/assets/expandMini.js b/src/components/icon/assets/expandMini.js index 547d65cfce..10fe69697a 100644 --- a/src/components/icon/assets/expandMini.js +++ b/src/components/icon/assets/expandMini.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconExpandMini = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconExpandMini; diff --git a/src/components/icon/assets/export.js b/src/components/icon/assets/export.js index 8657fa0ae5..0f5ff1132d 100644 --- a/src/components/icon/assets/export.js +++ b/src/components/icon/assets/export.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconExport = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconExport; diff --git a/src/components/icon/assets/eye.js b/src/components/icon/assets/eye.js index 2e4ec06bba..c3de0b37cd 100644 --- a/src/components/icon/assets/eye.js +++ b/src/components/icon/assets/eye.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEye = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEye; diff --git a/src/components/icon/assets/eye_closed.js b/src/components/icon/assets/eye_closed.js index 3063afec89..9b1ea1b4fa 100644 --- a/src/components/icon/assets/eye_closed.js +++ b/src/components/icon/assets/eye_closed.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconEyeClosed = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconEyeClosed; diff --git a/src/components/icon/assets/faceNeutral.js b/src/components/icon/assets/faceNeutral.js index 33b89580eb..65a579582e 100644 --- a/src/components/icon/assets/faceNeutral.js +++ b/src/components/icon/assets/faceNeutral.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconFaceNeutral = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconFaceNeutral; diff --git a/src/components/icon/assets/face_happy.js b/src/components/icon/assets/face_happy.js index 6bb57f38ae..00d8872ed1 100644 --- a/src/components/icon/assets/face_happy.js +++ b/src/components/icon/assets/face_happy.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconFaceHappy = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconFaceHappy; diff --git a/src/components/icon/assets/face_neutral.js b/src/components/icon/assets/face_neutral.js index 6e76b5d10b..f08a0918a5 100644 --- a/src/components/icon/assets/face_neutral.js +++ b/src/components/icon/assets/face_neutral.js @@ -10,13 +10,12 @@ */ import * as React from 'react'; - const OuiIconFaceNeutral = ({ title, titleId, ...props }) => ( {title ? {title} : null} @@ -25,11 +24,10 @@ const OuiIconFaceNeutral = ({ title, titleId, ...props }) => ( - + ); - export const icon = OuiIconFaceNeutral; diff --git a/src/components/icon/assets/face_sad.js b/src/components/icon/assets/face_sad.js index 50d05c6381..09c3dd4de5 100644 --- a/src/components/icon/assets/face_sad.js +++ b/src/components/icon/assets/face_sad.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconFaceSad = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconFaceSad; diff --git a/src/components/icon/assets/filter.js b/src/components/icon/assets/filter.js index 1fffb2056a..1b8bc8df76 100644 --- a/src/components/icon/assets/filter.js +++ b/src/components/icon/assets/filter.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconFilter = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconFilter; diff --git a/src/components/icon/assets/flag.js b/src/components/icon/assets/flag.js index acfb3cb18d..55171ecb15 100644 --- a/src/components/icon/assets/flag.js +++ b/src/components/icon/assets/flag.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconFlag = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconFlag; diff --git a/src/components/icon/assets/fold.js b/src/components/icon/assets/fold.js index 8908e62768..7402643488 100644 --- a/src/components/icon/assets/fold.js +++ b/src/components/icon/assets/fold.js @@ -10,16 +10,14 @@ */ import * as React from 'react'; - const OuiIconFold = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconFold; diff --git a/src/components/icon/assets/folder_check.js b/src/components/icon/assets/folder_check.js index 18557e10fb..58a7104a2b 100644 --- a/src/components/icon/assets/folder_check.js +++ b/src/components/icon/assets/folder_check.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconFolderCheck = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconFolderCheck; diff --git a/src/components/icon/assets/folder_closed.js b/src/components/icon/assets/folder_closed.js index 508f7c976f..c097d9d7a8 100644 --- a/src/components/icon/assets/folder_closed.js +++ b/src/components/icon/assets/folder_closed.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconFolderClosed = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconFolderClosed; diff --git a/src/components/icon/assets/folder_exclamation.js b/src/components/icon/assets/folder_exclamation.js index 52dc758258..78c8271f6c 100644 --- a/src/components/icon/assets/folder_exclamation.js +++ b/src/components/icon/assets/folder_exclamation.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconFolderExclamation = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconFolderExclamation; diff --git a/src/components/icon/assets/folder_open.js b/src/components/icon/assets/folder_open.js index 615d4ffb73..98ac099d32 100644 --- a/src/components/icon/assets/folder_open.js +++ b/src/components/icon/assets/folder_open.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconFolderOpen = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconFolderOpen; diff --git a/src/components/icon/assets/frameNext.js b/src/components/icon/assets/frameNext.js index 6b71bd987f..faf8f2b5de 100644 --- a/src/components/icon/assets/frameNext.js +++ b/src/components/icon/assets/frameNext.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconFrameNext = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconFrameNext; diff --git a/src/components/icon/assets/framePrevious.js b/src/components/icon/assets/framePrevious.js index 51e2df6bbb..8dc7ae2b6d 100644 --- a/src/components/icon/assets/framePrevious.js +++ b/src/components/icon/assets/framePrevious.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconFramePrevious = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconFramePrevious; diff --git a/src/components/icon/assets/fullScreenExit.js b/src/components/icon/assets/fullScreenExit.js index 864abb67fc..06a6840b33 100644 --- a/src/components/icon/assets/fullScreenExit.js +++ b/src/components/icon/assets/fullScreenExit.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconFullScreenExit = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconFullScreenExit; diff --git a/src/components/icon/assets/full_screen.js b/src/components/icon/assets/full_screen.js index bf275d7e79..ba2cefcc00 100644 --- a/src/components/icon/assets/full_screen.js +++ b/src/components/icon/assets/full_screen.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconFullScreen = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconFullScreen; diff --git a/src/components/icon/assets/function.js b/src/components/icon/assets/function.js index b8802bb1a8..36a13e3151 100644 --- a/src/components/icon/assets/function.js +++ b/src/components/icon/assets/function.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconFunction = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconFunction; diff --git a/src/components/icon/assets/gear.js b/src/components/icon/assets/gear.js index 9994db361c..ddac275acf 100644 --- a/src/components/icon/assets/gear.js +++ b/src/components/icon/assets/gear.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconGear = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconGear; diff --git a/src/components/icon/assets/glasses.js b/src/components/icon/assets/glasses.js index 6eddd35d27..733ab88cd4 100644 --- a/src/components/icon/assets/glasses.js +++ b/src/components/icon/assets/glasses.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconGlasses = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconGlasses; diff --git a/src/components/icon/assets/globe.js b/src/components/icon/assets/globe.js index 2b14a04631..ef2bcec168 100644 --- a/src/components/icon/assets/globe.js +++ b/src/components/icon/assets/globe.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconGlobe = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconGlobe; diff --git a/src/components/icon/assets/grab.js b/src/components/icon/assets/grab.js index d29db1ff86..6543b2a160 100644 --- a/src/components/icon/assets/grab.js +++ b/src/components/icon/assets/grab.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconGrab = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconGrab; diff --git a/src/components/icon/assets/grab_horizontal.js b/src/components/icon/assets/grab_horizontal.js index a802bd8fc6..ec84214ac6 100644 --- a/src/components/icon/assets/grab_horizontal.js +++ b/src/components/icon/assets/grab_horizontal.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconGrabHorizontal = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconGrabHorizontal; diff --git a/src/components/icon/assets/grid.js b/src/components/icon/assets/grid.js index cb7a86c59b..fc3842a338 100644 --- a/src/components/icon/assets/grid.js +++ b/src/components/icon/assets/grid.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconGrid = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconGrid; diff --git a/src/components/icon/assets/heart.js b/src/components/icon/assets/heart.js index 22999097ea..024d65f0ec 100644 --- a/src/components/icon/assets/heart.js +++ b/src/components/icon/assets/heart.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconHeart = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconHeart; diff --git a/src/components/icon/assets/heatmap.js b/src/components/icon/assets/heatmap.js index b068c6e738..b0c11484ea 100644 --- a/src/components/icon/assets/heatmap.js +++ b/src/components/icon/assets/heatmap.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconHeatmap = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconHeatmap; diff --git a/src/components/icon/assets/help.js b/src/components/icon/assets/help.js index 89a47b6fe9..258c860b43 100644 --- a/src/components/icon/assets/help.js +++ b/src/components/icon/assets/help.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconHelp = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconHelp; diff --git a/src/components/icon/assets/home.js b/src/components/icon/assets/home.js index 68f9ebde6f..cecc8f738d 100644 --- a/src/components/icon/assets/home.js +++ b/src/components/icon/assets/home.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconHome = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconHome; diff --git a/src/components/icon/assets/iInCircle.js b/src/components/icon/assets/iInCircle.js index 06cc66e210..ddceaf46b4 100644 --- a/src/components/icon/assets/iInCircle.js +++ b/src/components/icon/assets/iInCircle.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconIInCircle = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconIInCircle; diff --git a/src/components/icon/assets/image.js b/src/components/icon/assets/image.js index eac91c784e..01d9a5853f 100644 --- a/src/components/icon/assets/image.js +++ b/src/components/icon/assets/image.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconImage = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconImage; diff --git a/src/components/icon/assets/import.js b/src/components/icon/assets/import.js index 8ac31f3daa..e4a8f44344 100644 --- a/src/components/icon/assets/import.js +++ b/src/components/icon/assets/import.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconImport = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconImport; diff --git a/src/components/icon/assets/index_close.js b/src/components/icon/assets/index_close.js index 0c3106acd3..5baa01f2c1 100644 --- a/src/components/icon/assets/index_close.js +++ b/src/components/icon/assets/index_close.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconIndexClose = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconIndexClose; diff --git a/src/components/icon/assets/index_edit.js b/src/components/icon/assets/index_edit.js index f33b79001f..a59fddd066 100644 --- a/src/components/icon/assets/index_edit.js +++ b/src/components/icon/assets/index_edit.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconIndexEdit = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconIndexEdit; diff --git a/src/components/icon/assets/index_flush.js b/src/components/icon/assets/index_flush.js index 485a63ebcb..2a4740d7d1 100644 --- a/src/components/icon/assets/index_flush.js +++ b/src/components/icon/assets/index_flush.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconIndexFlush = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconIndexFlush; diff --git a/src/components/icon/assets/index_mapping.js b/src/components/icon/assets/index_mapping.js index 45b4dbc8ed..d4c80f480e 100644 --- a/src/components/icon/assets/index_mapping.js +++ b/src/components/icon/assets/index_mapping.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconIndexMapping = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconIndexMapping; diff --git a/src/components/icon/assets/index_open.js b/src/components/icon/assets/index_open.js index aa2bd91e01..1cf05b1e89 100644 --- a/src/components/icon/assets/index_open.js +++ b/src/components/icon/assets/index_open.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconIndexOpen = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconIndexOpen; diff --git a/src/components/icon/assets/index_runtime.js b/src/components/icon/assets/index_runtime.js index 6887ae690a..594cb06d82 100644 --- a/src/components/icon/assets/index_runtime.js +++ b/src/components/icon/assets/index_runtime.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconIndexRuntime = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconIndexRuntime; diff --git a/src/components/icon/assets/index_settings.js b/src/components/icon/assets/index_settings.js index 5c3e7d1967..12c9a60284 100644 --- a/src/components/icon/assets/index_settings.js +++ b/src/components/icon/assets/index_settings.js @@ -10,20 +10,18 @@ */ import * as React from 'react'; - const OuiIconIndexSettings = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - - + + + ); - export const icon = OuiIconIndexSettings; diff --git a/src/components/icon/assets/inputOutput.js b/src/components/icon/assets/inputOutput.js index 17b4e1786a..ed39b10bec 100644 --- a/src/components/icon/assets/inputOutput.js +++ b/src/components/icon/assets/inputOutput.js @@ -10,13 +10,12 @@ */ import * as React from 'react'; - const OuiIconInputOutput = ({ title, titleId, ...props }) => ( {title ? {title} : null} @@ -25,5 +24,4 @@ const OuiIconInputOutput = ({ title, titleId, ...props }) => ( ); - export const icon = OuiIconInputOutput; diff --git a/src/components/icon/assets/inspect.js b/src/components/icon/assets/inspect.js index b09a95af66..0477a57b8f 100644 --- a/src/components/icon/assets/inspect.js +++ b/src/components/icon/assets/inspect.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconInspect = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconInspect; diff --git a/src/components/icon/assets/invert.js b/src/components/icon/assets/invert.js index c27055b9ee..e882f8adb8 100644 --- a/src/components/icon/assets/invert.js +++ b/src/components/icon/assets/invert.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconInvert = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconInvert; diff --git a/src/components/icon/assets/ip.js b/src/components/icon/assets/ip.js index 256e813796..fc08af4e3e 100644 --- a/src/components/icon/assets/ip.js +++ b/src/components/icon/assets/ip.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconIp = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconIp; diff --git a/src/components/icon/assets/keyboard_shortcut.js b/src/components/icon/assets/keyboard_shortcut.js index 6255c37af9..0536353261 100644 --- a/src/components/icon/assets/keyboard_shortcut.js +++ b/src/components/icon/assets/keyboard_shortcut.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconKeyboardShortcut = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconKeyboardShortcut; diff --git a/src/components/icon/assets/kql_field.js b/src/components/icon/assets/kql_field.js index f2ffa95b0b..d1cbf60683 100644 --- a/src/components/icon/assets/kql_field.js +++ b/src/components/icon/assets/kql_field.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconKqlField = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconKqlField; diff --git a/src/components/icon/assets/kql_function.js b/src/components/icon/assets/kql_function.js index 1dee064f6e..a4994cc3c4 100644 --- a/src/components/icon/assets/kql_function.js +++ b/src/components/icon/assets/kql_function.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconKqlFunction = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconKqlFunction; diff --git a/src/components/icon/assets/kql_operand.js b/src/components/icon/assets/kql_operand.js index 851f084297..75496696a4 100644 --- a/src/components/icon/assets/kql_operand.js +++ b/src/components/icon/assets/kql_operand.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconKqlOperand = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconKqlOperand; diff --git a/src/components/icon/assets/kql_selector.js b/src/components/icon/assets/kql_selector.js index 215a0f039b..e87a518c75 100644 --- a/src/components/icon/assets/kql_selector.js +++ b/src/components/icon/assets/kql_selector.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconKqlSelector = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconKqlSelector; diff --git a/src/components/icon/assets/kql_value.js b/src/components/icon/assets/kql_value.js index fb2fcff08c..47c7cdd3fe 100644 --- a/src/components/icon/assets/kql_value.js +++ b/src/components/icon/assets/kql_value.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconKqlValue = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconKqlValue; diff --git a/src/components/icon/assets/layers.js b/src/components/icon/assets/layers.js index 2c2fbbe4c3..c107d4f4c5 100644 --- a/src/components/icon/assets/layers.js +++ b/src/components/icon/assets/layers.js @@ -10,20 +10,18 @@ */ import * as React from 'react'; - const OuiIconLayers = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - - + + + ); - export const icon = OuiIconLayers; diff --git a/src/components/icon/assets/link.js b/src/components/icon/assets/link.js index 74e0254814..0b07fa3748 100644 --- a/src/components/icon/assets/link.js +++ b/src/components/icon/assets/link.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconLink = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconLink; diff --git a/src/components/icon/assets/list.js b/src/components/icon/assets/list.js index ffc67d134d..3db5a03d6c 100644 --- a/src/components/icon/assets/list.js +++ b/src/components/icon/assets/list.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconList = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconList; diff --git a/src/components/icon/assets/list_add.js b/src/components/icon/assets/list_add.js index 206f3085a8..c5d078b405 100644 --- a/src/components/icon/assets/list_add.js +++ b/src/components/icon/assets/list_add.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconListAdd = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconListAdd; diff --git a/src/components/icon/assets/lock.js b/src/components/icon/assets/lock.js index b90874ebf0..99413baa0d 100644 --- a/src/components/icon/assets/lock.js +++ b/src/components/icon/assets/lock.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconLock = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconLock; diff --git a/src/components/icon/assets/lockOpen.js b/src/components/icon/assets/lockOpen.js index e67e5c29fd..33c8436357 100644 --- a/src/components/icon/assets/lockOpen.js +++ b/src/components/icon/assets/lockOpen.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconLockOpen = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconLockOpen; diff --git a/src/components/icon/assets/logo_aerospike.js b/src/components/icon/assets/logo_aerospike.js index ecf552b0c4..a9782771fd 100644 --- a/src/components/icon/assets/logo_aerospike.js +++ b/src/components/icon/assets/logo_aerospike.js @@ -10,13 +10,12 @@ */ import * as React from 'react'; - const OuiIconLogoAerospike = ({ title, titleId, ...props }) => ( {title ? {title} : null} @@ -24,10 +23,9 @@ const OuiIconLogoAerospike = ({ title, titleId, ...props }) => ( ); - export const icon = OuiIconLogoAerospike; diff --git a/src/components/icon/assets/logo_apache.js b/src/components/icon/assets/logo_apache.js index 0c6a8778b6..b48034ec3a 100644 --- a/src/components/icon/assets/logo_apache.js +++ b/src/components/icon/assets/logo_apache.js @@ -10,13 +10,12 @@ */ import * as React from 'react'; - const OuiIconLogoApache = ({ title, titleId, ...props }) => ( {title ? {title} : null} @@ -101,41 +100,40 @@ const OuiIconLogoApache = ({ title, titleId, ...props }) => ( ); - export const icon = OuiIconLogoApache; diff --git a/src/components/icon/assets/logo_app_search.js b/src/components/icon/assets/logo_app_search.js index 7e3a20c507..57c3e74cf9 100644 --- a/src/components/icon/assets/logo_app_search.js +++ b/src/components/icon/assets/logo_app_search.js @@ -10,29 +10,27 @@ */ import * as React from 'react'; - const OuiIconLogoAppSearch = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoAppSearch; diff --git a/src/components/icon/assets/logo_aws.js b/src/components/icon/assets/logo_aws.js index 4644429aa5..78e8a4a8af 100644 --- a/src/components/icon/assets/logo_aws.js +++ b/src/components/icon/assets/logo_aws.js @@ -10,27 +10,25 @@ */ import * as React from 'react'; - const OuiIconLogoAws = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconLogoAws; diff --git a/src/components/icon/assets/logo_aws_mono.js b/src/components/icon/assets/logo_aws_mono.js index a7d19b3e82..117b7debc9 100644 --- a/src/components/icon/assets/logo_aws_mono.js +++ b/src/components/icon/assets/logo_aws_mono.js @@ -10,25 +10,23 @@ */ import * as React from 'react'; - const OuiIconLogoAwsMono = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconLogoAwsMono; diff --git a/src/components/icon/assets/logo_azure.js b/src/components/icon/assets/logo_azure.js index 22f002bd5b..9e6c8703e2 100644 --- a/src/components/icon/assets/logo_azure.js +++ b/src/components/icon/assets/logo_azure.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconLogoAzure = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoAzure; diff --git a/src/components/icon/assets/logo_azure_mono.js b/src/components/icon/assets/logo_azure_mono.js index f191a84071..cc371db721 100644 --- a/src/components/icon/assets/logo_azure_mono.js +++ b/src/components/icon/assets/logo_azure_mono.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconLogoAzureMono = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconLogoAzureMono; diff --git a/src/components/icon/assets/logo_beats.js b/src/components/icon/assets/logo_beats.js index 04a77e65a4..f9eb0cc237 100644 --- a/src/components/icon/assets/logo_beats.js +++ b/src/components/icon/assets/logo_beats.js @@ -10,13 +10,12 @@ */ import * as React from 'react'; - const OuiIconLogoBeats = ({ title, titleId, ...props }) => ( {title ? {title} : null} @@ -26,13 +25,12 @@ const OuiIconLogoBeats = ({ title, titleId, ...props }) => ( /> ); - export const icon = OuiIconLogoBeats; diff --git a/src/components/icon/assets/logo_business_analytics.js b/src/components/icon/assets/logo_business_analytics.js index 805cf63a6f..82f05551fa 100644 --- a/src/components/icon/assets/logo_business_analytics.js +++ b/src/components/icon/assets/logo_business_analytics.js @@ -10,13 +10,12 @@ */ import * as React from 'react'; - const OuiIconLogoBusinessAnalytics = ({ title, titleId, ...props }) => ( {title ? {title} : null} @@ -26,8 +25,8 @@ const OuiIconLogoBusinessAnalytics = ({ title, titleId, ...props }) => ( d="M0 22c0 5.522 4.478 10 10 10V12C4.478 12 0 16.478 0 22" /> ( ); - export const icon = OuiIconLogoBusinessAnalytics; diff --git a/src/components/icon/assets/logo_ceph.js b/src/components/icon/assets/logo_ceph.js index fb3f07d79c..4e77462818 100644 --- a/src/components/icon/assets/logo_ceph.js +++ b/src/components/icon/assets/logo_ceph.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconLogoCeph = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoCeph; diff --git a/src/components/icon/assets/logo_cloud.js b/src/components/icon/assets/logo_cloud.js index 6234c5290a..d1359d615f 100644 --- a/src/components/icon/assets/logo_cloud.js +++ b/src/components/icon/assets/logo_cloud.js @@ -10,31 +10,29 @@ */ import * as React from 'react'; - const OuiIconLogoCloud = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoCloud; diff --git a/src/components/icon/assets/logo_cloud_ece.js b/src/components/icon/assets/logo_cloud_ece.js index a90d9fb7db..2080b2d745 100644 --- a/src/components/icon/assets/logo_cloud_ece.js +++ b/src/components/icon/assets/logo_cloud_ece.js @@ -10,29 +10,27 @@ */ import * as React from 'react'; - const OuiIconLogoCloudEce = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoCloudEce; diff --git a/src/components/icon/assets/logo_code.js b/src/components/icon/assets/logo_code.js index 182cda24f6..70c2a7ffb6 100644 --- a/src/components/icon/assets/logo_code.js +++ b/src/components/icon/assets/logo_code.js @@ -10,26 +10,24 @@ */ import * as React from 'react'; - const OuiIconLogoCode = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconLogoCode; diff --git a/src/components/icon/assets/logo_codesandbox.js b/src/components/icon/assets/logo_codesandbox.js index cc8f641091..37705f454d 100644 --- a/src/components/icon/assets/logo_codesandbox.js +++ b/src/components/icon/assets/logo_codesandbox.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconLogoCodesandbox = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconLogoCodesandbox; diff --git a/src/components/icon/assets/logo_couchbase.js b/src/components/icon/assets/logo_couchbase.js index 27309ff3ac..65422a7d8f 100644 --- a/src/components/icon/assets/logo_couchbase.js +++ b/src/components/icon/assets/logo_couchbase.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconLogoCouchbase = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoCouchbase; diff --git a/src/components/icon/assets/logo_docker.js b/src/components/icon/assets/logo_docker.js index d4b2bb5522..82957e25a7 100644 --- a/src/components/icon/assets/logo_docker.js +++ b/src/components/icon/assets/logo_docker.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconLogoDocker = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoDocker; diff --git a/src/components/icon/assets/logo_dropwizard.js b/src/components/icon/assets/logo_dropwizard.js index b7b51caaeb..ba858890bc 100644 --- a/src/components/icon/assets/logo_dropwizard.js +++ b/src/components/icon/assets/logo_dropwizard.js @@ -10,43 +10,42 @@ */ import * as React from 'react'; - const OuiIconLogoDropwizard = ({ title, titleId, ...props }) => ( {title ? {title} : null} @@ -57,8 +56,8 @@ const OuiIconLogoDropwizard = ({ title, titleId, ...props }) => ( @@ -69,5 +68,4 @@ const OuiIconLogoDropwizard = ({ title, titleId, ...props }) => ( ); - export const icon = OuiIconLogoDropwizard; diff --git a/src/components/icon/assets/logo_elastic.js b/src/components/icon/assets/logo_elastic.js index cf4f666722..b17a24a74a 100644 --- a/src/components/icon/assets/logo_elastic.js +++ b/src/components/icon/assets/logo_elastic.js @@ -10,46 +10,44 @@ */ import * as React from 'react'; - const OuiIconLogoElastic = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoElastic; diff --git a/src/components/icon/assets/logo_elastic_stack.js b/src/components/icon/assets/logo_elastic_stack.js index a56b3f110b..2a32e9a7b4 100644 --- a/src/components/icon/assets/logo_elastic_stack.js +++ b/src/components/icon/assets/logo_elastic_stack.js @@ -10,26 +10,24 @@ */ import * as React from 'react'; - const OuiIconLogoElasticStack = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconLogoElasticStack; diff --git a/src/components/icon/assets/logo_elasticsearch.js b/src/components/icon/assets/logo_elasticsearch.js index 736f8d60f4..a064fe3560 100644 --- a/src/components/icon/assets/logo_elasticsearch.js +++ b/src/components/icon/assets/logo_elasticsearch.js @@ -10,31 +10,29 @@ */ import * as React from 'react'; - const OuiIconLogoElasticsearch = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoElasticsearch; diff --git a/src/components/icon/assets/logo_enterprise_search.js b/src/components/icon/assets/logo_enterprise_search.js index f9a26bec2c..6aa3900fe6 100644 --- a/src/components/icon/assets/logo_enterprise_search.js +++ b/src/components/icon/assets/logo_enterprise_search.js @@ -10,35 +10,33 @@ */ import * as React from 'react'; - const OuiIconLogoEnterpriseSearch = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoEnterpriseSearch; diff --git a/src/components/icon/assets/logo_etcd.js b/src/components/icon/assets/logo_etcd.js index 1d4553be16..a04d0316ab 100644 --- a/src/components/icon/assets/logo_etcd.js +++ b/src/components/icon/assets/logo_etcd.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconLogoEtcd = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconLogoEtcd; diff --git a/src/components/icon/assets/logo_gcp.js b/src/components/icon/assets/logo_gcp.js index 2bf59270c9..c37b12255b 100644 --- a/src/components/icon/assets/logo_gcp.js +++ b/src/components/icon/assets/logo_gcp.js @@ -10,13 +10,13 @@ */ import * as React from 'react'; - const OuiIconLogoGcp = ({ title, titleId, ...props }) => ( {title ? {title} : null} @@ -27,21 +27,21 @@ const OuiIconLogoGcp = ({ title, titleId, ...props }) => ( @@ -50,17 +50,16 @@ const OuiIconLogoGcp = ({ title, titleId, ...props }) => ( ); - export const icon = OuiIconLogoGcp; diff --git a/src/components/icon/assets/logo_gcp_mono.js b/src/components/icon/assets/logo_gcp_mono.js index 93d08febb4..4cdf8e470b 100644 --- a/src/components/icon/assets/logo_gcp_mono.js +++ b/src/components/icon/assets/logo_gcp_mono.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconLogoGcpMono = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconLogoGcpMono; diff --git a/src/components/icon/assets/logo_github.js b/src/components/icon/assets/logo_github.js index a45aa4b7ea..906b59db49 100644 --- a/src/components/icon/assets/logo_github.js +++ b/src/components/icon/assets/logo_github.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconLogoGithub = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconLogoGithub; diff --git a/src/components/icon/assets/logo_gmail.js b/src/components/icon/assets/logo_gmail.js index 04b1e2168c..7dbd2de133 100644 --- a/src/components/icon/assets/logo_gmail.js +++ b/src/components/icon/assets/logo_gmail.js @@ -10,47 +10,45 @@ */ import * as React from 'react'; - const OuiIconLogoGmail = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoGmail; diff --git a/src/components/icon/assets/logo_golang.js b/src/components/icon/assets/logo_golang.js index 35f1402815..1511340cf7 100644 --- a/src/components/icon/assets/logo_golang.js +++ b/src/components/icon/assets/logo_golang.js @@ -10,144 +10,142 @@ */ import * as React from 'react'; - const OuiIconLogoGolang = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + - + ); - export const icon = OuiIconLogoGolang; diff --git a/src/components/icon/assets/logo_google_g.js b/src/components/icon/assets/logo_google_g.js index 20617975c2..84b361f5e1 100644 --- a/src/components/icon/assets/logo_google_g.js +++ b/src/components/icon/assets/logo_google_g.js @@ -10,13 +10,13 @@ */ import * as React from 'react'; - const OuiIconLogoGoogleG = ({ title, titleId, ...props }) => ( {title ? {title} : null} @@ -31,7 +31,7 @@ const OuiIconLogoGoogleG = ({ title, titleId, ...props }) => ( /> ( @@ -57,8 +57,8 @@ const OuiIconLogoGoogleG = ({ title, titleId, ...props }) => ( @@ -68,8 +68,8 @@ const OuiIconLogoGoogleG = ({ title, titleId, ...props }) => ( @@ -79,12 +79,11 @@ const OuiIconLogoGoogleG = ({ title, titleId, ...props }) => ( ); - export const icon = OuiIconLogoGoogleG; diff --git a/src/components/icon/assets/logo_haproxy.js b/src/components/icon/assets/logo_haproxy.js index 1b4e748734..2fca9e7774 100644 --- a/src/components/icon/assets/logo_haproxy.js +++ b/src/components/icon/assets/logo_haproxy.js @@ -10,83 +10,81 @@ */ import * as React from 'react'; - const OuiIconLogoHaproxy = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconLogoHaproxy; diff --git a/src/components/icon/assets/logo_ibm.js b/src/components/icon/assets/logo_ibm.js index 95fb403236..24dc581d28 100644 --- a/src/components/icon/assets/logo_ibm.js +++ b/src/components/icon/assets/logo_ibm.js @@ -10,13 +10,12 @@ */ import * as React from 'react'; - const OuiIconLogoIbm = ({ title, titleId, ...props }) => ( {title ? {title} : null} @@ -75,35 +74,34 @@ const OuiIconLogoIbm = ({ title, titleId, ...props }) => ( ); - export const icon = OuiIconLogoIbm; diff --git a/src/components/icon/assets/logo_ibm_mono.js b/src/components/icon/assets/logo_ibm_mono.js index eea53cda84..386831b948 100644 --- a/src/components/icon/assets/logo_ibm_mono.js +++ b/src/components/icon/assets/logo_ibm_mono.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconLogoIbmMono = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoIbmMono; diff --git a/src/components/icon/assets/logo_kafka.js b/src/components/icon/assets/logo_kafka.js index 0984105fd5..9eee9eb1ed 100644 --- a/src/components/icon/assets/logo_kafka.js +++ b/src/components/icon/assets/logo_kafka.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconLogoKafka = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconLogoKafka; diff --git a/src/components/icon/assets/logo_kibana.js b/src/components/icon/assets/logo_kibana.js index fa91240a4d..24e5881d43 100644 --- a/src/components/icon/assets/logo_kibana.js +++ b/src/components/icon/assets/logo_kibana.js @@ -10,28 +10,26 @@ */ import * as React from 'react'; - const OuiIconLogoKibana = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoKibana; diff --git a/src/components/icon/assets/logo_kubernetes.js b/src/components/icon/assets/logo_kubernetes.js index df7dc41e28..827c80d7a1 100644 --- a/src/components/icon/assets/logo_kubernetes.js +++ b/src/components/icon/assets/logo_kubernetes.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconLogoKubernetes = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoKubernetes; diff --git a/src/components/icon/assets/logo_logging.js b/src/components/icon/assets/logo_logging.js index 34306a73dd..266716b7f9 100644 --- a/src/components/icon/assets/logo_logging.js +++ b/src/components/icon/assets/logo_logging.js @@ -10,20 +10,19 @@ */ import * as React from 'react'; - const OuiIconLogoLogging = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ( /> ); - export const icon = OuiIconLogoLogging; diff --git a/src/components/icon/assets/logo_logstash.js b/src/components/icon/assets/logo_logstash.js index 9185c2d38e..3b297adc59 100644 --- a/src/components/icon/assets/logo_logstash.js +++ b/src/components/icon/assets/logo_logstash.js @@ -10,23 +10,21 @@ */ import * as React from 'react'; - const OuiIconLogoLogstash = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoLogstash; diff --git a/src/components/icon/assets/logo_maps.js b/src/components/icon/assets/logo_maps.js index 409ebfa19c..a1d41acfee 100644 --- a/src/components/icon/assets/logo_maps.js +++ b/src/components/icon/assets/logo_maps.js @@ -10,29 +10,27 @@ */ import * as React from 'react'; - const OuiIconLogoMaps = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoMaps; diff --git a/src/components/icon/assets/logo_memcached.js b/src/components/icon/assets/logo_memcached.js index f909dba8db..d807bac6f6 100644 --- a/src/components/icon/assets/logo_memcached.js +++ b/src/components/icon/assets/logo_memcached.js @@ -10,13 +10,12 @@ */ import * as React from 'react'; - const OuiIconLogoMemcached = ({ title, titleId, ...props }) => ( {title ? {title} : null} @@ -58,32 +57,31 @@ const OuiIconLogoMemcached = ({ title, titleId, ...props }) => ( ); - export const icon = OuiIconLogoMemcached; diff --git a/src/components/icon/assets/logo_metrics.js b/src/components/icon/assets/logo_metrics.js index d1d9df33d9..15f8bc659f 100644 --- a/src/components/icon/assets/logo_metrics.js +++ b/src/components/icon/assets/logo_metrics.js @@ -10,31 +10,29 @@ */ import * as React from 'react'; - const OuiIconLogoMetrics = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoMetrics; diff --git a/src/components/icon/assets/logo_mongodb.js b/src/components/icon/assets/logo_mongodb.js index 0e3f40effc..63aa8f0d0b 100644 --- a/src/components/icon/assets/logo_mongodb.js +++ b/src/components/icon/assets/logo_mongodb.js @@ -10,24 +10,23 @@ */ import * as React from 'react'; - const OuiIconLogoMongodb = ({ title, titleId, ...props }) => ( {title ? {title} : null} ( /> ); - export const icon = OuiIconLogoMongodb; diff --git a/src/components/icon/assets/logo_mysql.js b/src/components/icon/assets/logo_mysql.js index 4070c34775..20e521f84c 100644 --- a/src/components/icon/assets/logo_mysql.js +++ b/src/components/icon/assets/logo_mysql.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconLogoMysql = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconLogoMysql; diff --git a/src/components/icon/assets/logo_nginx.js b/src/components/icon/assets/logo_nginx.js index b5b64d1502..58561f3d44 100644 --- a/src/components/icon/assets/logo_nginx.js +++ b/src/components/icon/assets/logo_nginx.js @@ -10,25 +10,23 @@ */ import * as React from 'react'; - const OuiIconLogoNginx = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconLogoNginx; diff --git a/src/components/icon/assets/logo_observability.js b/src/components/icon/assets/logo_observability.js index 8ab099fc81..96d33e362b 100644 --- a/src/components/icon/assets/logo_observability.js +++ b/src/components/icon/assets/logo_observability.js @@ -10,23 +10,21 @@ */ import * as React from 'react'; - const OuiIconLogoObservability = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconLogoObservability; diff --git a/src/components/icon/assets/logo_opensearch.js b/src/components/icon/assets/logo_opensearch.js index 4b9992b2c7..d52391933f 100644 --- a/src/components/icon/assets/logo_opensearch.js +++ b/src/components/icon/assets/logo_opensearch.js @@ -10,30 +10,28 @@ */ import * as React from 'react'; - const OuiIconLogoOpensearch = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoOpensearch; diff --git a/src/components/icon/assets/logo_osquery.js b/src/components/icon/assets/logo_osquery.js index f23014c7e3..a2d985570a 100644 --- a/src/components/icon/assets/logo_osquery.js +++ b/src/components/icon/assets/logo_osquery.js @@ -10,13 +10,12 @@ */ import * as React from 'react'; - const OuiIconLogoOsquery = ({ title, titleId, ...props }) => ( {title ? {title} : null} @@ -44,5 +43,4 @@ const OuiIconLogoOsquery = ({ title, titleId, ...props }) => ( ); - export const icon = OuiIconLogoOsquery; diff --git a/src/components/icon/assets/logo_php.js b/src/components/icon/assets/logo_php.js index 323639ee9b..76b6a34e81 100644 --- a/src/components/icon/assets/logo_php.js +++ b/src/components/icon/assets/logo_php.js @@ -10,13 +10,13 @@ */ import * as React from 'react'; - const OuiIconLogoPhp = ({ title, titleId, ...props }) => ( {title ? {title} : null} @@ -66,31 +66,30 @@ const OuiIconLogoPhp = ({ title, titleId, ...props }) => ( ); - export const icon = OuiIconLogoPhp; diff --git a/src/components/icon/assets/logo_postgres.js b/src/components/icon/assets/logo_postgres.js index ea6e3fab72..e7e5cae539 100644 --- a/src/components/icon/assets/logo_postgres.js +++ b/src/components/icon/assets/logo_postgres.js @@ -10,35 +10,33 @@ */ import * as React from 'react'; - const OuiIconLogoPostgres = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoPostgres; diff --git a/src/components/icon/assets/logo_prometheus.js b/src/components/icon/assets/logo_prometheus.js index bc3809393e..dd9c2463fa 100644 --- a/src/components/icon/assets/logo_prometheus.js +++ b/src/components/icon/assets/logo_prometheus.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconLogoPrometheus = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoPrometheus; diff --git a/src/components/icon/assets/logo_rabbitmq.js b/src/components/icon/assets/logo_rabbitmq.js index ad81a22dec..3de46a6c1f 100644 --- a/src/components/icon/assets/logo_rabbitmq.js +++ b/src/components/icon/assets/logo_rabbitmq.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconLogoRabbitmq = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoRabbitmq; diff --git a/src/components/icon/assets/logo_redis.js b/src/components/icon/assets/logo_redis.js index 73557a158b..2fe7c742b5 100644 --- a/src/components/icon/assets/logo_redis.js +++ b/src/components/icon/assets/logo_redis.js @@ -10,50 +10,48 @@ */ import * as React from 'react'; - const OuiIconLogoRedis = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + - - - + + + ); - export const icon = OuiIconLogoRedis; diff --git a/src/components/icon/assets/logo_security.js b/src/components/icon/assets/logo_security.js index 874ef99737..543ee3a645 100644 --- a/src/components/icon/assets/logo_security.js +++ b/src/components/icon/assets/logo_security.js @@ -10,29 +10,27 @@ */ import * as React from 'react'; - const OuiIconLogoSecurity = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoSecurity; diff --git a/src/components/icon/assets/logo_site_search.js b/src/components/icon/assets/logo_site_search.js index e9ca1d0cf1..680031238b 100644 --- a/src/components/icon/assets/logo_site_search.js +++ b/src/components/icon/assets/logo_site_search.js @@ -10,13 +10,12 @@ */ import * as React from 'react'; - const OuiIconLogoSiteSearch = ({ title, titleId, ...props }) => ( {title ? {title} : null} @@ -27,14 +26,13 @@ const OuiIconLogoSiteSearch = ({ title, titleId, ...props }) => ( /> ); - export const icon = OuiIconLogoSiteSearch; diff --git a/src/components/icon/assets/logo_sketch.js b/src/components/icon/assets/logo_sketch.js index f5f6500985..e120d83704 100644 --- a/src/components/icon/assets/logo_sketch.js +++ b/src/components/icon/assets/logo_sketch.js @@ -10,34 +10,32 @@ */ import * as React from 'react'; - const OuiIconLogoSketch = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - - + + + ); - export const icon = OuiIconLogoSketch; diff --git a/src/components/icon/assets/logo_slack.js b/src/components/icon/assets/logo_slack.js index b1646d20de..f639b5273c 100644 --- a/src/components/icon/assets/logo_slack.js +++ b/src/components/icon/assets/logo_slack.js @@ -10,35 +10,33 @@ */ import * as React from 'react'; - const OuiIconLogoSlack = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoSlack; diff --git a/src/components/icon/assets/logo_uptime.js b/src/components/icon/assets/logo_uptime.js index 978f506625..05d3282e5b 100644 --- a/src/components/icon/assets/logo_uptime.js +++ b/src/components/icon/assets/logo_uptime.js @@ -10,29 +10,27 @@ */ import * as React from 'react'; - const OuiIconLogoUptime = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoUptime; diff --git a/src/components/icon/assets/logo_webhook.js b/src/components/icon/assets/logo_webhook.js index 1b28e5b140..466bce3ea4 100644 --- a/src/components/icon/assets/logo_webhook.js +++ b/src/components/icon/assets/logo_webhook.js @@ -10,31 +10,29 @@ */ import * as React from 'react'; - const OuiIconLogoWebhook = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoWebhook; diff --git a/src/components/icon/assets/logo_windows.js b/src/components/icon/assets/logo_windows.js index 437148afe1..9ef69adcca 100644 --- a/src/components/icon/assets/logo_windows.js +++ b/src/components/icon/assets/logo_windows.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconLogoWindows = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoWindows; diff --git a/src/components/icon/assets/logo_workplace_search.js b/src/components/icon/assets/logo_workplace_search.js index eda0f8aa9e..f97e145cba 100644 --- a/src/components/icon/assets/logo_workplace_search.js +++ b/src/components/icon/assets/logo_workplace_search.js @@ -10,29 +10,27 @@ */ import * as React from 'react'; - const OuiIconLogoWorkplaceSearch = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconLogoWorkplaceSearch; diff --git a/src/components/icon/assets/logstash_filter.js b/src/components/icon/assets/logstash_filter.js index d5201905a7..0d3c3cbea3 100644 --- a/src/components/icon/assets/logstash_filter.js +++ b/src/components/icon/assets/logstash_filter.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconLogstashFilter = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconLogstashFilter; diff --git a/src/components/icon/assets/logstash_if.js b/src/components/icon/assets/logstash_if.js index 562ef9c6dc..b23effb212 100644 --- a/src/components/icon/assets/logstash_if.js +++ b/src/components/icon/assets/logstash_if.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconLogstashIf = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconLogstashIf; diff --git a/src/components/icon/assets/logstash_input.js b/src/components/icon/assets/logstash_input.js index d12b40dccd..bd70abca48 100644 --- a/src/components/icon/assets/logstash_input.js +++ b/src/components/icon/assets/logstash_input.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconLogstashInput = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconLogstashInput; diff --git a/src/components/icon/assets/logstash_output.js b/src/components/icon/assets/logstash_output.js index cd53b81e9d..2b135a187f 100644 --- a/src/components/icon/assets/logstash_output.js +++ b/src/components/icon/assets/logstash_output.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconLogstashOutput = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconLogstashOutput; diff --git a/src/components/icon/assets/logstash_queue.js b/src/components/icon/assets/logstash_queue.js index 0403b53838..8dd1c43953 100644 --- a/src/components/icon/assets/logstash_queue.js +++ b/src/components/icon/assets/logstash_queue.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconLogstashQueue = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconLogstashQueue; diff --git a/src/components/icon/assets/magnet.js b/src/components/icon/assets/magnet.js index f00d1abd82..a4a2c45bff 100644 --- a/src/components/icon/assets/magnet.js +++ b/src/components/icon/assets/magnet.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconMagnet = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconMagnet; diff --git a/src/components/icon/assets/magnifyWithMinus.js b/src/components/icon/assets/magnifyWithMinus.js index 36c802a38a..889db40dc8 100644 --- a/src/components/icon/assets/magnifyWithMinus.js +++ b/src/components/icon/assets/magnifyWithMinus.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconMagnifyWithMinus = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconMagnifyWithMinus; diff --git a/src/components/icon/assets/magnifyWithPlus.js b/src/components/icon/assets/magnifyWithPlus.js index 858b1a7e6c..156f759619 100644 --- a/src/components/icon/assets/magnifyWithPlus.js +++ b/src/components/icon/assets/magnifyWithPlus.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconMagnifyWithPlus = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconMagnifyWithPlus; diff --git a/src/components/icon/assets/map_marker.js b/src/components/icon/assets/map_marker.js index 03c5066c23..39d3879658 100644 --- a/src/components/icon/assets/map_marker.js +++ b/src/components/icon/assets/map_marker.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconMapMarker = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconMapMarker; diff --git a/src/components/icon/assets/memory.js b/src/components/icon/assets/memory.js index d91c1c69d1..bd1dacd6c3 100644 --- a/src/components/icon/assets/memory.js +++ b/src/components/icon/assets/memory.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconMemory = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconMemory; diff --git a/src/components/icon/assets/menu.js b/src/components/icon/assets/menu.js index 62fb477fdf..3db3f48ad2 100644 --- a/src/components/icon/assets/menu.js +++ b/src/components/icon/assets/menu.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconMenu = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconMenu; diff --git a/src/components/icon/assets/menuDown.js b/src/components/icon/assets/menuDown.js index 8e7db8e188..a5b97d4259 100644 --- a/src/components/icon/assets/menuDown.js +++ b/src/components/icon/assets/menuDown.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconMenuDown = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconMenuDown; diff --git a/src/components/icon/assets/menuLeft.js b/src/components/icon/assets/menuLeft.js index 14d4b0aa36..43c5c42f16 100644 --- a/src/components/icon/assets/menuLeft.js +++ b/src/components/icon/assets/menuLeft.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconMenuLeft = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconMenuLeft; diff --git a/src/components/icon/assets/menuRight.js b/src/components/icon/assets/menuRight.js index e47c51e13c..b94394cd99 100644 --- a/src/components/icon/assets/menuRight.js +++ b/src/components/icon/assets/menuRight.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconMenuRight = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconMenuRight; diff --git a/src/components/icon/assets/menuUp.js b/src/components/icon/assets/menuUp.js index 4c4eb699d9..9be1793076 100644 --- a/src/components/icon/assets/menuUp.js +++ b/src/components/icon/assets/menuUp.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconMenuUp = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconMenuUp; diff --git a/src/components/icon/assets/merge.js b/src/components/icon/assets/merge.js index d64771bbbf..88d583f333 100644 --- a/src/components/icon/assets/merge.js +++ b/src/components/icon/assets/merge.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconMerge = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconMerge; diff --git a/src/components/icon/assets/minimize.js b/src/components/icon/assets/minimize.js index d9f67ffa71..607aa78fd1 100644 --- a/src/components/icon/assets/minimize.js +++ b/src/components/icon/assets/minimize.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconMinimize = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconMinimize; diff --git a/src/components/icon/assets/minus.js b/src/components/icon/assets/minus.js index 59f05f12a9..2f366f20f6 100644 --- a/src/components/icon/assets/minus.js +++ b/src/components/icon/assets/minus.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconMinus = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconMinus; diff --git a/src/components/icon/assets/minus_in_circle.js b/src/components/icon/assets/minus_in_circle.js index 52e4f286b5..85fe12751f 100644 --- a/src/components/icon/assets/minus_in_circle.js +++ b/src/components/icon/assets/minus_in_circle.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconMinusInCircle = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconMinusInCircle; diff --git a/src/components/icon/assets/minus_in_circle_filled.js b/src/components/icon/assets/minus_in_circle_filled.js index 4197530f2a..86e8435ddc 100644 --- a/src/components/icon/assets/minus_in_circle_filled.js +++ b/src/components/icon/assets/minus_in_circle_filled.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconMinusInCircleFilled = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconMinusInCircleFilled; diff --git a/src/components/icon/assets/ml_classification_job.js b/src/components/icon/assets/ml_classification_job.js index 6848c96355..326c5c8e93 100644 --- a/src/components/icon/assets/ml_classification_job.js +++ b/src/components/icon/assets/ml_classification_job.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconMlClassificationJob = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconMlClassificationJob; diff --git a/src/components/icon/assets/ml_create_advanced_job.js b/src/components/icon/assets/ml_create_advanced_job.js index 0be7156954..a8f5f1619d 100644 --- a/src/components/icon/assets/ml_create_advanced_job.js +++ b/src/components/icon/assets/ml_create_advanced_job.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconMlCreateAdvancedJob = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconMlCreateAdvancedJob; diff --git a/src/components/icon/assets/ml_create_multi_metric_job.js b/src/components/icon/assets/ml_create_multi_metric_job.js index b62e8657ca..052746e63a 100644 --- a/src/components/icon/assets/ml_create_multi_metric_job.js +++ b/src/components/icon/assets/ml_create_multi_metric_job.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconMlCreateMultiMetricJob = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconMlCreateMultiMetricJob; diff --git a/src/components/icon/assets/ml_create_population_job.js b/src/components/icon/assets/ml_create_population_job.js index a726ed8924..2bbc5ebd08 100644 --- a/src/components/icon/assets/ml_create_population_job.js +++ b/src/components/icon/assets/ml_create_population_job.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconMlCreatePopulationJob = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconMlCreatePopulationJob; diff --git a/src/components/icon/assets/ml_create_single_metric_job.js b/src/components/icon/assets/ml_create_single_metric_job.js index 341bff3ebc..3869558546 100644 --- a/src/components/icon/assets/ml_create_single_metric_job.js +++ b/src/components/icon/assets/ml_create_single_metric_job.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconMlCreateSingleMetricJob = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconMlCreateSingleMetricJob; diff --git a/src/components/icon/assets/ml_data_visualizer.js b/src/components/icon/assets/ml_data_visualizer.js index ba8b621a4d..c7b4cf53ed 100644 --- a/src/components/icon/assets/ml_data_visualizer.js +++ b/src/components/icon/assets/ml_data_visualizer.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconMlDataVisualizer = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconMlDataVisualizer; diff --git a/src/components/icon/assets/ml_outlier_detection_job.js b/src/components/icon/assets/ml_outlier_detection_job.js index c988611458..6b6482ab23 100644 --- a/src/components/icon/assets/ml_outlier_detection_job.js +++ b/src/components/icon/assets/ml_outlier_detection_job.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconMlOutlierDetectionJob = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconMlOutlierDetectionJob; diff --git a/src/components/icon/assets/ml_regression_job.js b/src/components/icon/assets/ml_regression_job.js index ffd56ffe0d..8107d38393 100644 --- a/src/components/icon/assets/ml_regression_job.js +++ b/src/components/icon/assets/ml_regression_job.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconMlRegressionJob = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconMlRegressionJob; diff --git a/src/components/icon/assets/mobile.js b/src/components/icon/assets/mobile.js index 302890bbf4..4472c39f1a 100644 --- a/src/components/icon/assets/mobile.js +++ b/src/components/icon/assets/mobile.js @@ -10,23 +10,21 @@ */ import * as React from 'react'; - const OuiIconMobile = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconMobile; diff --git a/src/components/icon/assets/moon.js b/src/components/icon/assets/moon.js index 5a8cf8ef2d..154e355212 100644 --- a/src/components/icon/assets/moon.js +++ b/src/components/icon/assets/moon.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconMoon = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconMoon; diff --git a/src/components/icon/assets/nested.js b/src/components/icon/assets/nested.js index f0cf192b14..fd0cdc5b33 100644 --- a/src/components/icon/assets/nested.js +++ b/src/components/icon/assets/nested.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconNested = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconNested; diff --git a/src/components/icon/assets/node.js b/src/components/icon/assets/node.js index eed1be7f03..296365b455 100644 --- a/src/components/icon/assets/node.js +++ b/src/components/icon/assets/node.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconNode = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconNode; diff --git a/src/components/icon/assets/number.js b/src/components/icon/assets/number.js index 3141713909..60116e07b6 100644 --- a/src/components/icon/assets/number.js +++ b/src/components/icon/assets/number.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconNumber = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconNumber; diff --git a/src/components/icon/assets/offline.js b/src/components/icon/assets/offline.js index 03c663c1f3..3b263bbee0 100644 --- a/src/components/icon/assets/offline.js +++ b/src/components/icon/assets/offline.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconOffline = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconOffline; diff --git a/src/components/icon/assets/online.js b/src/components/icon/assets/online.js index a3e899985d..0500fae66a 100644 --- a/src/components/icon/assets/online.js +++ b/src/components/icon/assets/online.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconOnline = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconOnline; diff --git a/src/components/icon/assets/package.js b/src/components/icon/assets/package.js index d74d16633c..f78b843740 100644 --- a/src/components/icon/assets/package.js +++ b/src/components/icon/assets/package.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconPackage = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconPackage; diff --git a/src/components/icon/assets/pageSelect.js b/src/components/icon/assets/pageSelect.js index cf63806ae0..ac8e91365d 100644 --- a/src/components/icon/assets/pageSelect.js +++ b/src/components/icon/assets/pageSelect.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconPageSelect = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconPageSelect; diff --git a/src/components/icon/assets/pagesSelect.js b/src/components/icon/assets/pagesSelect.js index 411fb8b4c0..af167d921e 100644 --- a/src/components/icon/assets/pagesSelect.js +++ b/src/components/icon/assets/pagesSelect.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconPagesSelect = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconPagesSelect; diff --git a/src/components/icon/assets/paint.js b/src/components/icon/assets/paint.js index 1ec8350954..5738f4404c 100644 --- a/src/components/icon/assets/paint.js +++ b/src/components/icon/assets/paint.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconPaint = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconPaint; diff --git a/src/components/icon/assets/paper_clip.js b/src/components/icon/assets/paper_clip.js index 5ad8b0f461..d37f5c6d7c 100644 --- a/src/components/icon/assets/paper_clip.js +++ b/src/components/icon/assets/paper_clip.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconPaperClip = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconPaperClip; diff --git a/src/components/icon/assets/partial.js b/src/components/icon/assets/partial.js index 4a458190b9..d48d72d9e2 100644 --- a/src/components/icon/assets/partial.js +++ b/src/components/icon/assets/partial.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconPartial = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconPartial; diff --git a/src/components/icon/assets/pause.js b/src/components/icon/assets/pause.js index cf15892a1e..e24dbac74d 100644 --- a/src/components/icon/assets/pause.js +++ b/src/components/icon/assets/pause.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconPause = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconPause; diff --git a/src/components/icon/assets/pencil.js b/src/components/icon/assets/pencil.js index a4874a1a9c..f12d40a472 100644 --- a/src/components/icon/assets/pencil.js +++ b/src/components/icon/assets/pencil.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconPencil = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconPencil; diff --git a/src/components/icon/assets/percent.js b/src/components/icon/assets/percent.js index 0615292280..d51fb38d38 100644 --- a/src/components/icon/assets/percent.js +++ b/src/components/icon/assets/percent.js @@ -10,13 +10,12 @@ */ import * as React from 'react'; - const OuiIconPercent = ({ title, titleId, ...props }) => ( {title ? {title} : null} @@ -31,5 +30,4 @@ const OuiIconPercent = ({ title, titleId, ...props }) => ( /> ); - export const icon = OuiIconPercent; diff --git a/src/components/icon/assets/pin.js b/src/components/icon/assets/pin.js index c431f836c2..c15389f62d 100644 --- a/src/components/icon/assets/pin.js +++ b/src/components/icon/assets/pin.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconPin = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconPin; diff --git a/src/components/icon/assets/pin_filled.js b/src/components/icon/assets/pin_filled.js index 76a6944eca..9eb86d9461 100644 --- a/src/components/icon/assets/pin_filled.js +++ b/src/components/icon/assets/pin_filled.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconPinFilled = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconPinFilled; diff --git a/src/components/icon/assets/play.js b/src/components/icon/assets/play.js index 6a36be8b0d..74b02bc0ea 100644 --- a/src/components/icon/assets/play.js +++ b/src/components/icon/assets/play.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconPlay = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconPlay; diff --git a/src/components/icon/assets/playFilled.js b/src/components/icon/assets/playFilled.js index 5bce4ee6c7..5bfcce8a00 100644 --- a/src/components/icon/assets/playFilled.js +++ b/src/components/icon/assets/playFilled.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconPlayFilled = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconPlayFilled; diff --git a/src/components/icon/assets/plus.js b/src/components/icon/assets/plus.js index 594848cab4..3fa2138a45 100644 --- a/src/components/icon/assets/plus.js +++ b/src/components/icon/assets/plus.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconPlus = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconPlus; diff --git a/src/components/icon/assets/plus_in_circle.js b/src/components/icon/assets/plus_in_circle.js index 03f616c5d8..7228fd52f8 100644 --- a/src/components/icon/assets/plus_in_circle.js +++ b/src/components/icon/assets/plus_in_circle.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconPlusInCircle = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconPlusInCircle; diff --git a/src/components/icon/assets/plus_in_circle_filled.js b/src/components/icon/assets/plus_in_circle_filled.js index 49ed65b807..d03b06ff6a 100644 --- a/src/components/icon/assets/plus_in_circle_filled.js +++ b/src/components/icon/assets/plus_in_circle_filled.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconPlusInCircleFilled = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconPlusInCircleFilled; diff --git a/src/components/icon/assets/polygon.js b/src/components/icon/assets/polygon.js index dcf09c42a7..27be5ade0a 100644 --- a/src/components/icon/assets/polygon.js +++ b/src/components/icon/assets/polygon.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconPolygon = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconPolygon; diff --git a/src/components/icon/assets/popout.js b/src/components/icon/assets/popout.js index 8f69b3d3c2..48c4ced21f 100644 --- a/src/components/icon/assets/popout.js +++ b/src/components/icon/assets/popout.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconPopout = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconPopout; diff --git a/src/components/icon/assets/push.js b/src/components/icon/assets/push.js index 2e09e8ad4d..f89af4314b 100644 --- a/src/components/icon/assets/push.js +++ b/src/components/icon/assets/push.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconPush = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconPush; diff --git a/src/components/icon/assets/question_in_circle.js b/src/components/icon/assets/question_in_circle.js index 2dfe7b281f..2268b19b94 100644 --- a/src/components/icon/assets/question_in_circle.js +++ b/src/components/icon/assets/question_in_circle.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconQuestionInCircle = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconQuestionInCircle; diff --git a/src/components/icon/assets/quote.js b/src/components/icon/assets/quote.js index 2ee94383e0..b8f7e68291 100644 --- a/src/components/icon/assets/quote.js +++ b/src/components/icon/assets/quote.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconQuote = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconQuote; diff --git a/src/components/icon/assets/radius.js b/src/components/icon/assets/radius.js index 85bbb8c280..5b4ee6f553 100644 --- a/src/components/icon/assets/radius.js +++ b/src/components/icon/assets/radius.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconRadius = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconRadius; diff --git a/src/components/icon/assets/refresh.js b/src/components/icon/assets/refresh.js index 0fe67b90ba..e07499f1c9 100644 --- a/src/components/icon/assets/refresh.js +++ b/src/components/icon/assets/refresh.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconRefresh = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconRefresh; diff --git a/src/components/icon/assets/reporter.js b/src/components/icon/assets/reporter.js index 7cd6e48f54..f593bf9795 100644 --- a/src/components/icon/assets/reporter.js +++ b/src/components/icon/assets/reporter.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconReporter = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconReporter; diff --git a/src/components/icon/assets/return_key.js b/src/components/icon/assets/return_key.js index a5c78a4e27..d2a2ee7ca1 100644 --- a/src/components/icon/assets/return_key.js +++ b/src/components/icon/assets/return_key.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconReturnKey = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconReturnKey; diff --git a/src/components/icon/assets/save.js b/src/components/icon/assets/save.js index ed22f5fbd3..0d0e3b825d 100644 --- a/src/components/icon/assets/save.js +++ b/src/components/icon/assets/save.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconSave = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconSave; diff --git a/src/components/icon/assets/scale.js b/src/components/icon/assets/scale.js index edda105fba..991e787030 100644 --- a/src/components/icon/assets/scale.js +++ b/src/components/icon/assets/scale.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconScale = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconScale; diff --git a/src/components/icon/assets/search.js b/src/components/icon/assets/search.js index ce0bebdd78..a7b4403d8c 100644 --- a/src/components/icon/assets/search.js +++ b/src/components/icon/assets/search.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconSearch = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconSearch; diff --git a/src/components/icon/assets/securitySignal.js b/src/components/icon/assets/securitySignal.js index f47138e40b..9b1c913387 100644 --- a/src/components/icon/assets/securitySignal.js +++ b/src/components/icon/assets/securitySignal.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconSecuritySignal = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconSecuritySignal; diff --git a/src/components/icon/assets/securitySignalDetected.js b/src/components/icon/assets/securitySignalDetected.js index 39c3bf068e..ce4443aa73 100644 --- a/src/components/icon/assets/securitySignalDetected.js +++ b/src/components/icon/assets/securitySignalDetected.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconSecuritySignalDetected = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconSecuritySignalDetected; diff --git a/src/components/icon/assets/securitySignalResolved.js b/src/components/icon/assets/securitySignalResolved.js index 6a506075e6..6d71ca0394 100644 --- a/src/components/icon/assets/securitySignalResolved.js +++ b/src/components/icon/assets/securitySignalResolved.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconSecuritySignalResolved = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconSecuritySignalResolved; diff --git a/src/components/icon/assets/shard.js b/src/components/icon/assets/shard.js index 2aa66a6d4b..bfbab4cd32 100644 --- a/src/components/icon/assets/shard.js +++ b/src/components/icon/assets/shard.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconShard = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconShard; diff --git a/src/components/icon/assets/share.js b/src/components/icon/assets/share.js index 827e5b8188..372bb16a17 100644 --- a/src/components/icon/assets/share.js +++ b/src/components/icon/assets/share.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconShare = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconShare; diff --git a/src/components/icon/assets/snowflake.js b/src/components/icon/assets/snowflake.js index aa1034d381..d301a81639 100644 --- a/src/components/icon/assets/snowflake.js +++ b/src/components/icon/assets/snowflake.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconSnowflake = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconSnowflake; diff --git a/src/components/icon/assets/sortLeft.js b/src/components/icon/assets/sortLeft.js index 3c6552fa95..9e199f0de9 100644 --- a/src/components/icon/assets/sortLeft.js +++ b/src/components/icon/assets/sortLeft.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconSortLeft = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconSortLeft; diff --git a/src/components/icon/assets/sortRight.js b/src/components/icon/assets/sortRight.js index 0663e7101b..b0d29563c5 100644 --- a/src/components/icon/assets/sortRight.js +++ b/src/components/icon/assets/sortRight.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconSortRight = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconSortRight; diff --git a/src/components/icon/assets/sort_down.js b/src/components/icon/assets/sort_down.js index 7d5ee38864..ac86ad7f98 100644 --- a/src/components/icon/assets/sort_down.js +++ b/src/components/icon/assets/sort_down.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconSortDown = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconSortDown; diff --git a/src/components/icon/assets/sort_up.js b/src/components/icon/assets/sort_up.js index 488c99f77f..97ddf4ce2d 100644 --- a/src/components/icon/assets/sort_up.js +++ b/src/components/icon/assets/sort_up.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconSortUp = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconSortUp; diff --git a/src/components/icon/assets/sortable.js b/src/components/icon/assets/sortable.js index 61eebba17d..f1a94ae854 100644 --- a/src/components/icon/assets/sortable.js +++ b/src/components/icon/assets/sortable.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconSortable = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconSortable; diff --git a/src/components/icon/assets/starPlusEmpty.js b/src/components/icon/assets/starPlusEmpty.js index e5a2612192..7c2123e494 100644 --- a/src/components/icon/assets/starPlusEmpty.js +++ b/src/components/icon/assets/starPlusEmpty.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconStarPlusEmpty = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconStarPlusEmpty; diff --git a/src/components/icon/assets/starPlusFilled.js b/src/components/icon/assets/starPlusFilled.js index 357e6f7a47..59d4707eff 100644 --- a/src/components/icon/assets/starPlusFilled.js +++ b/src/components/icon/assets/starPlusFilled.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconStarPlusFilled = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconStarPlusFilled; diff --git a/src/components/icon/assets/star_empty.js b/src/components/icon/assets/star_empty.js index 2a790baf64..2bccacb7a1 100644 --- a/src/components/icon/assets/star_empty.js +++ b/src/components/icon/assets/star_empty.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconStarEmpty = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconStarEmpty; diff --git a/src/components/icon/assets/star_empty_space.js b/src/components/icon/assets/star_empty_space.js index 680f2e1e4e..c0fb704e16 100644 --- a/src/components/icon/assets/star_empty_space.js +++ b/src/components/icon/assets/star_empty_space.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconStarEmptySpace = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconStarEmptySpace; diff --git a/src/components/icon/assets/star_filled.js b/src/components/icon/assets/star_filled.js index 67d29ef37f..e9a5b6dd94 100644 --- a/src/components/icon/assets/star_filled.js +++ b/src/components/icon/assets/star_filled.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconStarFilled = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconStarFilled; diff --git a/src/components/icon/assets/star_filled_space.js b/src/components/icon/assets/star_filled_space.js index 30c2d5637f..d01b110906 100644 --- a/src/components/icon/assets/star_filled_space.js +++ b/src/components/icon/assets/star_filled_space.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconStarFilledSpace = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconStarFilledSpace; diff --git a/src/components/icon/assets/star_minus_empty.js b/src/components/icon/assets/star_minus_empty.js index 35ce9d9788..5ef71c72f1 100644 --- a/src/components/icon/assets/star_minus_empty.js +++ b/src/components/icon/assets/star_minus_empty.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconStarMinusEmpty = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconStarMinusEmpty; diff --git a/src/components/icon/assets/star_minus_filled.js b/src/components/icon/assets/star_minus_filled.js index c88faac0e3..2f2a428489 100644 --- a/src/components/icon/assets/star_minus_filled.js +++ b/src/components/icon/assets/star_minus_filled.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconStarMinusFilled = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconStarMinusFilled; diff --git a/src/components/icon/assets/stats.js b/src/components/icon/assets/stats.js index 2b07c94a85..58b45c1f7e 100644 --- a/src/components/icon/assets/stats.js +++ b/src/components/icon/assets/stats.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconStats = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconStats; diff --git a/src/components/icon/assets/stop.js b/src/components/icon/assets/stop.js index ca992199af..12baaa571f 100644 --- a/src/components/icon/assets/stop.js +++ b/src/components/icon/assets/stop.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconStop = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconStop; diff --git a/src/components/icon/assets/stop_filled.js b/src/components/icon/assets/stop_filled.js index a00714e82a..46e43bff96 100644 --- a/src/components/icon/assets/stop_filled.js +++ b/src/components/icon/assets/stop_filled.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconStopFilled = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconStopFilled; diff --git a/src/components/icon/assets/stop_slash.js b/src/components/icon/assets/stop_slash.js index 8d6a8d2a8e..6bdaab4767 100644 --- a/src/components/icon/assets/stop_slash.js +++ b/src/components/icon/assets/stop_slash.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconStopSlash = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconStopSlash; diff --git a/src/components/icon/assets/storage.js b/src/components/icon/assets/storage.js index 90f0a4adb5..a7d7c4446c 100644 --- a/src/components/icon/assets/storage.js +++ b/src/components/icon/assets/storage.js @@ -10,20 +10,19 @@ */ import * as React from 'react'; - const OuiIconStorage = ({ title, titleId, ...props }) => ( {title ? {title} : null} @@ -31,5 +30,4 @@ const OuiIconStorage = ({ title, titleId, ...props }) => ( ); - export const icon = OuiIconStorage; diff --git a/src/components/icon/assets/string.js b/src/components/icon/assets/string.js index 2d598540d3..61d42d9ec5 100644 --- a/src/components/icon/assets/string.js +++ b/src/components/icon/assets/string.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconString = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconString; diff --git a/src/components/icon/assets/submodule.js b/src/components/icon/assets/submodule.js index f7a39d8e1d..659fb15093 100644 --- a/src/components/icon/assets/submodule.js +++ b/src/components/icon/assets/submodule.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconSubmodule = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconSubmodule; diff --git a/src/components/icon/assets/swatch_input.js b/src/components/icon/assets/swatch_input.js index 4358d92a0c..316c85d5aa 100644 --- a/src/components/icon/assets/swatch_input.js +++ b/src/components/icon/assets/swatch_input.js @@ -10,26 +10,24 @@ */ import * as React from 'react'; - const OuiIconSwatchInput = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconSwatchInput; diff --git a/src/components/icon/assets/symlink.js b/src/components/icon/assets/symlink.js index d3d1bd54f1..90d0184e1a 100644 --- a/src/components/icon/assets/symlink.js +++ b/src/components/icon/assets/symlink.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconSymlink = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconSymlink; diff --git a/src/components/icon/assets/tableOfContents.js b/src/components/icon/assets/tableOfContents.js index 1f9a0c9da4..5a43e97ee6 100644 --- a/src/components/icon/assets/tableOfContents.js +++ b/src/components/icon/assets/tableOfContents.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTableOfContents = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTableOfContents; diff --git a/src/components/icon/assets/table_density_compact.js b/src/components/icon/assets/table_density_compact.js index d041985abc..e7ce73648c 100644 --- a/src/components/icon/assets/table_density_compact.js +++ b/src/components/icon/assets/table_density_compact.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTableDensityCompact = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTableDensityCompact; diff --git a/src/components/icon/assets/table_density_expanded.js b/src/components/icon/assets/table_density_expanded.js index 6a759e2445..f0621b1d96 100644 --- a/src/components/icon/assets/table_density_expanded.js +++ b/src/components/icon/assets/table_density_expanded.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTableDensityExpanded = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTableDensityExpanded; diff --git a/src/components/icon/assets/table_density_normal.js b/src/components/icon/assets/table_density_normal.js index d3e3bbf69b..c75b0e0b56 100644 --- a/src/components/icon/assets/table_density_normal.js +++ b/src/components/icon/assets/table_density_normal.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTableDensityNormal = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTableDensityNormal; diff --git a/src/components/icon/assets/tag.js b/src/components/icon/assets/tag.js index 16c2b19637..4c118a57c0 100644 --- a/src/components/icon/assets/tag.js +++ b/src/components/icon/assets/tag.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTag = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTag; diff --git a/src/components/icon/assets/tear.js b/src/components/icon/assets/tear.js index 0ac91b5ed5..664439fd3b 100644 --- a/src/components/icon/assets/tear.js +++ b/src/components/icon/assets/tear.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTear = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTear; diff --git a/src/components/icon/assets/temperature.js b/src/components/icon/assets/temperature.js index 6e97bdceb5..8fe575737d 100644 --- a/src/components/icon/assets/temperature.js +++ b/src/components/icon/assets/temperature.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconTemperature = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconTemperature; diff --git a/src/components/icon/assets/timeline.js b/src/components/icon/assets/timeline.js index a6fdacdd43..e8fdd06aa5 100644 --- a/src/components/icon/assets/timeline.js +++ b/src/components/icon/assets/timeline.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTimeline = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTimeline; diff --git a/src/components/icon/assets/timeslider.js b/src/components/icon/assets/timeslider.js index 0b0afe59ed..4be7a59eb7 100644 --- a/src/components/icon/assets/timeslider.js +++ b/src/components/icon/assets/timeslider.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconTimeslider = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTimeslider; diff --git a/src/components/icon/assets/tokens/tokenAlias.js b/src/components/icon/assets/tokens/tokenAlias.js index 5b82fb888f..071f7d1390 100644 --- a/src/components/icon/assets/tokens/tokenAlias.js +++ b/src/components/icon/assets/tokens/tokenAlias.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenAlias = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenAlias; diff --git a/src/components/icon/assets/tokens/tokenAnnotation.js b/src/components/icon/assets/tokens/tokenAnnotation.js index 5f653c0f54..e313884c34 100644 --- a/src/components/icon/assets/tokens/tokenAnnotation.js +++ b/src/components/icon/assets/tokens/tokenAnnotation.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenAnnotation = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenAnnotation; diff --git a/src/components/icon/assets/tokens/tokenArray.js b/src/components/icon/assets/tokens/tokenArray.js index cbfb5e9d39..a0e98a6a6f 100644 --- a/src/components/icon/assets/tokens/tokenArray.js +++ b/src/components/icon/assets/tokens/tokenArray.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenArray = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenArray; diff --git a/src/components/icon/assets/tokens/tokenBinary.js b/src/components/icon/assets/tokens/tokenBinary.js index d3e19c8bad..0dc4e532fe 100644 --- a/src/components/icon/assets/tokens/tokenBinary.js +++ b/src/components/icon/assets/tokens/tokenBinary.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTokenBinary = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTokenBinary; diff --git a/src/components/icon/assets/tokens/tokenBoolean.js b/src/components/icon/assets/tokens/tokenBoolean.js index fe65549e04..1b61dab42b 100644 --- a/src/components/icon/assets/tokens/tokenBoolean.js +++ b/src/components/icon/assets/tokens/tokenBoolean.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenBoolean = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenBoolean; diff --git a/src/components/icon/assets/tokens/tokenClass.js b/src/components/icon/assets/tokens/tokenClass.js index 780cdd8d38..efc2bb3985 100644 --- a/src/components/icon/assets/tokens/tokenClass.js +++ b/src/components/icon/assets/tokens/tokenClass.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenClass = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenClass; diff --git a/src/components/icon/assets/tokens/tokenCompletionSuggester.js b/src/components/icon/assets/tokens/tokenCompletionSuggester.js index 6dd0fe6243..44a1c9dd4c 100644 --- a/src/components/icon/assets/tokens/tokenCompletionSuggester.js +++ b/src/components/icon/assets/tokens/tokenCompletionSuggester.js @@ -10,23 +10,21 @@ */ import * as React from 'react'; - const OuiIconTokenCompletionSuggester = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTokenCompletionSuggester; diff --git a/src/components/icon/assets/tokens/tokenConstant.js b/src/components/icon/assets/tokens/tokenConstant.js index 24320c83a5..a6c93e4873 100644 --- a/src/components/icon/assets/tokens/tokenConstant.js +++ b/src/components/icon/assets/tokens/tokenConstant.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenConstant = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenConstant; diff --git a/src/components/icon/assets/tokens/tokenDate.js b/src/components/icon/assets/tokens/tokenDate.js index a5cae19e8f..a425ceb715 100644 --- a/src/components/icon/assets/tokens/tokenDate.js +++ b/src/components/icon/assets/tokens/tokenDate.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenDate = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenDate; diff --git a/src/components/icon/assets/tokens/tokenDenseVector.js b/src/components/icon/assets/tokens/tokenDenseVector.js index 6fc5419379..9a6538b9aa 100644 --- a/src/components/icon/assets/tokens/tokenDenseVector.js +++ b/src/components/icon/assets/tokens/tokenDenseVector.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTokenDenseVector = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTokenDenseVector; diff --git a/src/components/icon/assets/tokens/tokenElement.js b/src/components/icon/assets/tokens/tokenElement.js index ade575f73e..8a497b6762 100644 --- a/src/components/icon/assets/tokens/tokenElement.js +++ b/src/components/icon/assets/tokens/tokenElement.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenElement = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenElement; diff --git a/src/components/icon/assets/tokens/tokenEnum.js b/src/components/icon/assets/tokens/tokenEnum.js index a70f192f5f..03c613ab5e 100644 --- a/src/components/icon/assets/tokens/tokenEnum.js +++ b/src/components/icon/assets/tokens/tokenEnum.js @@ -10,13 +10,12 @@ */ import * as React from 'react'; - const OuiIconTokenEnum = ({ title, titleId, ...props }) => ( {title ? {title} : null} @@ -26,5 +25,4 @@ const OuiIconTokenEnum = ({ title, titleId, ...props }) => ( /> ); - export const icon = OuiIconTokenEnum; diff --git a/src/components/icon/assets/tokens/tokenEnumMember.js b/src/components/icon/assets/tokens/tokenEnumMember.js index 15b1eeed19..5affb16fe8 100644 --- a/src/components/icon/assets/tokens/tokenEnumMember.js +++ b/src/components/icon/assets/tokens/tokenEnumMember.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenEnumMember = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenEnumMember; diff --git a/src/components/icon/assets/tokens/tokenEvent.js b/src/components/icon/assets/tokens/tokenEvent.js index 9c9e587ee1..a911f00a39 100644 --- a/src/components/icon/assets/tokens/tokenEvent.js +++ b/src/components/icon/assets/tokens/tokenEvent.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenEvent = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenEvent; diff --git a/src/components/icon/assets/tokens/tokenException.js b/src/components/icon/assets/tokens/tokenException.js index c3b79bac4a..980de3f8ed 100644 --- a/src/components/icon/assets/tokens/tokenException.js +++ b/src/components/icon/assets/tokens/tokenException.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTokenException = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTokenException; diff --git a/src/components/icon/assets/tokens/tokenField.js b/src/components/icon/assets/tokens/tokenField.js index 3a38eb878c..8347f526c0 100644 --- a/src/components/icon/assets/tokens/tokenField.js +++ b/src/components/icon/assets/tokens/tokenField.js @@ -10,13 +10,12 @@ */ import * as React from 'react'; - const OuiIconTokenField = ({ title, titleId, ...props }) => ( {title ? {title} : null} @@ -26,5 +25,4 @@ const OuiIconTokenField = ({ title, titleId, ...props }) => ( /> ); - export const icon = OuiIconTokenField; diff --git a/src/components/icon/assets/tokens/tokenFile.js b/src/components/icon/assets/tokens/tokenFile.js index 9f9ef321c7..7a5c293915 100644 --- a/src/components/icon/assets/tokens/tokenFile.js +++ b/src/components/icon/assets/tokens/tokenFile.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTokenFile = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTokenFile; diff --git a/src/components/icon/assets/tokens/tokenFlattened.js b/src/components/icon/assets/tokens/tokenFlattened.js index 7bffd84e49..eb0647c223 100644 --- a/src/components/icon/assets/tokens/tokenFlattened.js +++ b/src/components/icon/assets/tokens/tokenFlattened.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTokenFlattened = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTokenFlattened; diff --git a/src/components/icon/assets/tokens/tokenFunction.js b/src/components/icon/assets/tokens/tokenFunction.js index 9cf8d32ae6..0a7139daa8 100644 --- a/src/components/icon/assets/tokens/tokenFunction.js +++ b/src/components/icon/assets/tokens/tokenFunction.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenFunction = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenFunction; diff --git a/src/components/icon/assets/tokens/tokenGeo.js b/src/components/icon/assets/tokens/tokenGeo.js index 6b730b0700..6fdd8d2a43 100644 --- a/src/components/icon/assets/tokens/tokenGeo.js +++ b/src/components/icon/assets/tokens/tokenGeo.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenGeo = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenGeo; diff --git a/src/components/icon/assets/tokens/tokenHistogram.js b/src/components/icon/assets/tokens/tokenHistogram.js index c36c6b06e9..037b60c2ef 100644 --- a/src/components/icon/assets/tokens/tokenHistogram.js +++ b/src/components/icon/assets/tokens/tokenHistogram.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTokenHistogram = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenHistogram; diff --git a/src/components/icon/assets/tokens/tokenIP.js b/src/components/icon/assets/tokens/tokenIP.js index 9669aaecf7..b46c86d1e5 100644 --- a/src/components/icon/assets/tokens/tokenIP.js +++ b/src/components/icon/assets/tokens/tokenIP.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenIP = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenIP; diff --git a/src/components/icon/assets/tokens/tokenInterface.js b/src/components/icon/assets/tokens/tokenInterface.js index eb485e4a64..7e00c7cafb 100644 --- a/src/components/icon/assets/tokens/tokenInterface.js +++ b/src/components/icon/assets/tokens/tokenInterface.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenInterface = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenInterface; diff --git a/src/components/icon/assets/tokens/tokenJoin.js b/src/components/icon/assets/tokens/tokenJoin.js index e19befd1f2..fa1c6a7874 100644 --- a/src/components/icon/assets/tokens/tokenJoin.js +++ b/src/components/icon/assets/tokens/tokenJoin.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconTokenJoin = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenJoin; diff --git a/src/components/icon/assets/tokens/tokenKey.js b/src/components/icon/assets/tokens/tokenKey.js index ad70e0ff60..dfaeef004e 100644 --- a/src/components/icon/assets/tokens/tokenKey.js +++ b/src/components/icon/assets/tokens/tokenKey.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenKey = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenKey; diff --git a/src/components/icon/assets/tokens/tokenKeyword.js b/src/components/icon/assets/tokens/tokenKeyword.js index f119a97622..5710c8c5ff 100644 --- a/src/components/icon/assets/tokens/tokenKeyword.js +++ b/src/components/icon/assets/tokens/tokenKeyword.js @@ -10,23 +10,21 @@ */ import * as React from 'react'; - const OuiIconTokenKeyword = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTokenKeyword; diff --git a/src/components/icon/assets/tokens/tokenMethod.js b/src/components/icon/assets/tokens/tokenMethod.js index 9e6fcc2d54..fe5022d602 100644 --- a/src/components/icon/assets/tokens/tokenMethod.js +++ b/src/components/icon/assets/tokens/tokenMethod.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenMethod = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenMethod; diff --git a/src/components/icon/assets/tokens/tokenModule.js b/src/components/icon/assets/tokens/tokenModule.js index 6842af6752..2f689703d6 100644 --- a/src/components/icon/assets/tokens/tokenModule.js +++ b/src/components/icon/assets/tokens/tokenModule.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconTokenModule = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconTokenModule; diff --git a/src/components/icon/assets/tokens/tokenNamespace.js b/src/components/icon/assets/tokens/tokenNamespace.js index 5557456ae8..06968d2544 100644 --- a/src/components/icon/assets/tokens/tokenNamespace.js +++ b/src/components/icon/assets/tokens/tokenNamespace.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTokenNamespace = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTokenNamespace; diff --git a/src/components/icon/assets/tokens/tokenNested.js b/src/components/icon/assets/tokens/tokenNested.js index bdd7f2de15..2dda5c18b8 100644 --- a/src/components/icon/assets/tokens/tokenNested.js +++ b/src/components/icon/assets/tokens/tokenNested.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenNested = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconTokenNested; diff --git a/src/components/icon/assets/tokens/tokenNull.js b/src/components/icon/assets/tokens/tokenNull.js index befae1c84a..d0440b212f 100644 --- a/src/components/icon/assets/tokens/tokenNull.js +++ b/src/components/icon/assets/tokens/tokenNull.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTokenNull = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTokenNull; diff --git a/src/components/icon/assets/tokens/tokenNumber.js b/src/components/icon/assets/tokens/tokenNumber.js index d719126a74..313196fa3a 100644 --- a/src/components/icon/assets/tokens/tokenNumber.js +++ b/src/components/icon/assets/tokens/tokenNumber.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTokenNumber = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTokenNumber; diff --git a/src/components/icon/assets/tokens/tokenObject.js b/src/components/icon/assets/tokens/tokenObject.js index 6be70098b0..e2bf96e7d4 100644 --- a/src/components/icon/assets/tokens/tokenObject.js +++ b/src/components/icon/assets/tokens/tokenObject.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenObject = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenObject; diff --git a/src/components/icon/assets/tokens/tokenOperator.js b/src/components/icon/assets/tokens/tokenOperator.js index 5cd0e14c77..be5eb8bedb 100644 --- a/src/components/icon/assets/tokens/tokenOperator.js +++ b/src/components/icon/assets/tokens/tokenOperator.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenOperator = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenOperator; diff --git a/src/components/icon/assets/tokens/tokenPackage.js b/src/components/icon/assets/tokens/tokenPackage.js index ebb8300758..15147a49b1 100644 --- a/src/components/icon/assets/tokens/tokenPackage.js +++ b/src/components/icon/assets/tokens/tokenPackage.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenPackage = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenPackage; diff --git a/src/components/icon/assets/tokens/tokenParameter.js b/src/components/icon/assets/tokens/tokenParameter.js index 8e65321a66..77c0d4affb 100644 --- a/src/components/icon/assets/tokens/tokenParameter.js +++ b/src/components/icon/assets/tokens/tokenParameter.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenParameter = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenParameter; diff --git a/src/components/icon/assets/tokens/tokenPercolator.js b/src/components/icon/assets/tokens/tokenPercolator.js index 20f8637476..2ac3495db7 100644 --- a/src/components/icon/assets/tokens/tokenPercolator.js +++ b/src/components/icon/assets/tokens/tokenPercolator.js @@ -10,22 +10,20 @@ */ import * as React from 'react'; - const OuiIconTokenPercolator = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenPercolator; diff --git a/src/components/icon/assets/tokens/tokenProperty.js b/src/components/icon/assets/tokens/tokenProperty.js index 9e81a02e16..6c00d1befc 100644 --- a/src/components/icon/assets/tokens/tokenProperty.js +++ b/src/components/icon/assets/tokens/tokenProperty.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenProperty = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenProperty; diff --git a/src/components/icon/assets/tokens/tokenRange.js b/src/components/icon/assets/tokens/tokenRange.js index a8dad93d71..7ae0583a3c 100644 --- a/src/components/icon/assets/tokens/tokenRange.js +++ b/src/components/icon/assets/tokens/tokenRange.js @@ -10,20 +10,18 @@ */ import * as React from 'react'; - const OuiIconTokenRange = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTokenRange; diff --git a/src/components/icon/assets/tokens/tokenRankFeature.js b/src/components/icon/assets/tokens/tokenRankFeature.js index 9f311a3ebe..deb7835d15 100644 --- a/src/components/icon/assets/tokens/tokenRankFeature.js +++ b/src/components/icon/assets/tokens/tokenRankFeature.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTokenRankFeature = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTokenRankFeature; diff --git a/src/components/icon/assets/tokens/tokenRankFeatures.js b/src/components/icon/assets/tokens/tokenRankFeatures.js index 6bb299fbc4..a9e07fa4c9 100644 --- a/src/components/icon/assets/tokens/tokenRankFeatures.js +++ b/src/components/icon/assets/tokens/tokenRankFeatures.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTokenRankFeatures = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTokenRankFeatures; diff --git a/src/components/icon/assets/tokens/tokenRepo.js b/src/components/icon/assets/tokens/tokenRepo.js index be1dddeadb..95ef244ed7 100644 --- a/src/components/icon/assets/tokens/tokenRepo.js +++ b/src/components/icon/assets/tokens/tokenRepo.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenRepo = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenRepo; diff --git a/src/components/icon/assets/tokens/tokenSearchType.js b/src/components/icon/assets/tokens/tokenSearchType.js index b8af942efe..0f625c5a9f 100644 --- a/src/components/icon/assets/tokens/tokenSearchType.js +++ b/src/components/icon/assets/tokens/tokenSearchType.js @@ -10,23 +10,21 @@ */ import * as React from 'react'; - const OuiIconTokenSearchType = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTokenSearchType; diff --git a/src/components/icon/assets/tokens/tokenShape.js b/src/components/icon/assets/tokens/tokenShape.js index efd8fb5854..45db5c14a3 100644 --- a/src/components/icon/assets/tokens/tokenShape.js +++ b/src/components/icon/assets/tokens/tokenShape.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenShape = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenShape; diff --git a/src/components/icon/assets/tokens/tokenString.js b/src/components/icon/assets/tokens/tokenString.js index 69fcc42ac7..5e279b907f 100644 --- a/src/components/icon/assets/tokens/tokenString.js +++ b/src/components/icon/assets/tokens/tokenString.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTokenString = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTokenString; diff --git a/src/components/icon/assets/tokens/tokenStruct.js b/src/components/icon/assets/tokens/tokenStruct.js index 3aa1f253eb..2824e35bc2 100644 --- a/src/components/icon/assets/tokens/tokenStruct.js +++ b/src/components/icon/assets/tokens/tokenStruct.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenStruct = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenStruct; diff --git a/src/components/icon/assets/tokens/tokenSymbol.js b/src/components/icon/assets/tokens/tokenSymbol.js index be0f689dd9..e652ede86e 100644 --- a/src/components/icon/assets/tokens/tokenSymbol.js +++ b/src/components/icon/assets/tokens/tokenSymbol.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTokenSymbol = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTokenSymbol; diff --git a/src/components/icon/assets/tokens/tokenText.js b/src/components/icon/assets/tokens/tokenText.js index efec7aded5..1d0f4d53fc 100644 --- a/src/components/icon/assets/tokens/tokenText.js +++ b/src/components/icon/assets/tokens/tokenText.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTokenText = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTokenText; diff --git a/src/components/icon/assets/tokens/tokenTokenCount.js b/src/components/icon/assets/tokens/tokenTokenCount.js index 516f48bd84..c8389b5372 100644 --- a/src/components/icon/assets/tokens/tokenTokenCount.js +++ b/src/components/icon/assets/tokens/tokenTokenCount.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTokenTokenCount = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTokenTokenCount; diff --git a/src/components/icon/assets/tokens/tokenVariable.js b/src/components/icon/assets/tokens/tokenVariable.js index a933668bcc..0cddbde225 100644 --- a/src/components/icon/assets/tokens/tokenVariable.js +++ b/src/components/icon/assets/tokens/tokenVariable.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconTokenVariable = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconTokenVariable; diff --git a/src/components/icon/assets/training.js b/src/components/icon/assets/training.js index 206d618473..4a71d28994 100644 --- a/src/components/icon/assets/training.js +++ b/src/components/icon/assets/training.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTraining = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTraining; diff --git a/src/components/icon/assets/trash.js b/src/components/icon/assets/trash.js index 8d7475011e..3482b5deea 100644 --- a/src/components/icon/assets/trash.js +++ b/src/components/icon/assets/trash.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconTrash = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconTrash; diff --git a/src/components/icon/assets/unfold.js b/src/components/icon/assets/unfold.js index a6518b796f..3733521187 100644 --- a/src/components/icon/assets/unfold.js +++ b/src/components/icon/assets/unfold.js @@ -10,16 +10,14 @@ */ import * as React from 'react'; - const OuiIconUnfold = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconUnfold; diff --git a/src/components/icon/assets/unlink.js b/src/components/icon/assets/unlink.js index 249d6a82d0..2d010dfcc2 100644 --- a/src/components/icon/assets/unlink.js +++ b/src/components/icon/assets/unlink.js @@ -10,20 +10,18 @@ */ import * as React from 'react'; - const OuiIconUnlink = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconUnlink; diff --git a/src/components/icon/assets/user.js b/src/components/icon/assets/user.js index 228d26987f..901c4def39 100644 --- a/src/components/icon/assets/user.js +++ b/src/components/icon/assets/user.js @@ -10,21 +10,19 @@ */ import * as React from 'react'; - const OuiIconUser = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconUser; diff --git a/src/components/icon/assets/users.js b/src/components/icon/assets/users.js index de0fd180fd..76b90a7f1a 100644 --- a/src/components/icon/assets/users.js +++ b/src/components/icon/assets/users.js @@ -10,25 +10,23 @@ */ import * as React from 'react'; - const OuiIconUsers = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconUsers; diff --git a/src/components/icon/assets/vector.js b/src/components/icon/assets/vector.js index 353db0c313..e2847ea06e 100644 --- a/src/components/icon/assets/vector.js +++ b/src/components/icon/assets/vector.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconVector = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconVector; diff --git a/src/components/icon/assets/videoPlayer.js b/src/components/icon/assets/videoPlayer.js index 8d802e70ef..ededf30815 100644 --- a/src/components/icon/assets/videoPlayer.js +++ b/src/components/icon/assets/videoPlayer.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconVideoPlayer = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconVideoPlayer; diff --git a/src/components/icon/assets/vis_area.js b/src/components/icon/assets/vis_area.js index d1c56629ca..f5298dd1da 100644 --- a/src/components/icon/assets/vis_area.js +++ b/src/components/icon/assets/vis_area.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconVisArea = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconVisArea; diff --git a/src/components/icon/assets/vis_area_stacked.js b/src/components/icon/assets/vis_area_stacked.js index fcc8a67045..5d200e45e5 100644 --- a/src/components/icon/assets/vis_area_stacked.js +++ b/src/components/icon/assets/vis_area_stacked.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconVisAreaStacked = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconVisAreaStacked; diff --git a/src/components/icon/assets/vis_bar_horizontal.js b/src/components/icon/assets/vis_bar_horizontal.js index 555d5c2059..a765d69bcc 100644 --- a/src/components/icon/assets/vis_bar_horizontal.js +++ b/src/components/icon/assets/vis_bar_horizontal.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconVisBarHorizontal = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconVisBarHorizontal; diff --git a/src/components/icon/assets/vis_bar_horizontal_stacked.js b/src/components/icon/assets/vis_bar_horizontal_stacked.js index 44cac19fe0..590d4dbbe7 100644 --- a/src/components/icon/assets/vis_bar_horizontal_stacked.js +++ b/src/components/icon/assets/vis_bar_horizontal_stacked.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconVisBarHorizontalStacked = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconVisBarHorizontalStacked; diff --git a/src/components/icon/assets/vis_bar_vertical.js b/src/components/icon/assets/vis_bar_vertical.js index f85bf00d8d..addd36ce85 100644 --- a/src/components/icon/assets/vis_bar_vertical.js +++ b/src/components/icon/assets/vis_bar_vertical.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconVisBarVertical = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconVisBarVertical; diff --git a/src/components/icon/assets/vis_bar_vertical_stacked.js b/src/components/icon/assets/vis_bar_vertical_stacked.js index 4acf4eb019..8b9d613cfb 100644 --- a/src/components/icon/assets/vis_bar_vertical_stacked.js +++ b/src/components/icon/assets/vis_bar_vertical_stacked.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconVisBarVerticalStacked = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconVisBarVerticalStacked; diff --git a/src/components/icon/assets/vis_builder.js b/src/components/icon/assets/vis_builder.js index de69751796..8bc2cf1bc6 100644 --- a/src/components/icon/assets/vis_builder.js +++ b/src/components/icon/assets/vis_builder.js @@ -10,32 +10,30 @@ */ import * as React from 'react'; - const OuiIconVisBuilder = ({ title, titleId, ...props }) => ( {title ? {title} : null} ); - export const icon = OuiIconVisBuilder; diff --git a/src/components/icon/assets/vis_builder_saved_object.js b/src/components/icon/assets/vis_builder_saved_object.js index 897df73b1a..22a7f71192 100644 --- a/src/components/icon/assets/vis_builder_saved_object.js +++ b/src/components/icon/assets/vis_builder_saved_object.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconVisBuilderSavedObject = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconVisBuilderSavedObject; diff --git a/src/components/icon/assets/vis_gauge.js b/src/components/icon/assets/vis_gauge.js index aeabfdf6ce..d6b995259b 100644 --- a/src/components/icon/assets/vis_gauge.js +++ b/src/components/icon/assets/vis_gauge.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconVisGauge = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconVisGauge; diff --git a/src/components/icon/assets/vis_goal.js b/src/components/icon/assets/vis_goal.js index b7d738c5c0..74f2348a10 100644 --- a/src/components/icon/assets/vis_goal.js +++ b/src/components/icon/assets/vis_goal.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconVisGoal = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconVisGoal; diff --git a/src/components/icon/assets/vis_line.js b/src/components/icon/assets/vis_line.js index ee86b7a4ea..67dd106c8d 100644 --- a/src/components/icon/assets/vis_line.js +++ b/src/components/icon/assets/vis_line.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconVisLine = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconVisLine; diff --git a/src/components/icon/assets/vis_map_coordinate.js b/src/components/icon/assets/vis_map_coordinate.js index 48f60a9357..9f12545ce4 100644 --- a/src/components/icon/assets/vis_map_coordinate.js +++ b/src/components/icon/assets/vis_map_coordinate.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconVisMapCoordinate = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconVisMapCoordinate; diff --git a/src/components/icon/assets/vis_map_region.js b/src/components/icon/assets/vis_map_region.js index 7f29feed17..d930a092a8 100644 --- a/src/components/icon/assets/vis_map_region.js +++ b/src/components/icon/assets/vis_map_region.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconVisMapRegion = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconVisMapRegion; diff --git a/src/components/icon/assets/vis_metric.js b/src/components/icon/assets/vis_metric.js index 073d8f4a6b..336abf5021 100644 --- a/src/components/icon/assets/vis_metric.js +++ b/src/components/icon/assets/vis_metric.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconVisMetric = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconVisMetric; diff --git a/src/components/icon/assets/vis_pie.js b/src/components/icon/assets/vis_pie.js index a9f5a0f72d..b60d7c3e47 100644 --- a/src/components/icon/assets/vis_pie.js +++ b/src/components/icon/assets/vis_pie.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconVisPie = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconVisPie; diff --git a/src/components/icon/assets/vis_query_dql.js b/src/components/icon/assets/vis_query_dql.js index 89f16476bc..d5d469e6ba 100644 --- a/src/components/icon/assets/vis_query_dql.js +++ b/src/components/icon/assets/vis_query_dql.js @@ -10,24 +10,22 @@ */ import * as React from 'react'; - const OuiIconVisQueryDql = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconVisQueryDql; diff --git a/src/components/icon/assets/vis_query_ppl.js b/src/components/icon/assets/vis_query_ppl.js index 19be288c57..ccf74a016c 100644 --- a/src/components/icon/assets/vis_query_ppl.js +++ b/src/components/icon/assets/vis_query_ppl.js @@ -10,24 +10,22 @@ */ import * as React from 'react'; - const OuiIconVisQueryPpl = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconVisQueryPpl; diff --git a/src/components/icon/assets/vis_query_promql.js b/src/components/icon/assets/vis_query_promql.js index 071c7a74d3..4d2ed57647 100644 --- a/src/components/icon/assets/vis_query_promql.js +++ b/src/components/icon/assets/vis_query_promql.js @@ -10,24 +10,22 @@ */ import * as React from 'react'; - const OuiIconVisQueryPromql = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconVisQueryPromql; diff --git a/src/components/icon/assets/vis_query_sql.js b/src/components/icon/assets/vis_query_sql.js index 386d0bce9b..11c1773d17 100644 --- a/src/components/icon/assets/vis_query_sql.js +++ b/src/components/icon/assets/vis_query_sql.js @@ -10,24 +10,22 @@ */ import * as React from 'react'; - const OuiIconVisQuerySql = ({ title, titleId, ...props }) => ( {title ? {title} : null} - - + + ); - export const icon = OuiIconVisQuerySql; diff --git a/src/components/icon/assets/vis_table.js b/src/components/icon/assets/vis_table.js index 9f1e75212d..4f2820f6a9 100644 --- a/src/components/icon/assets/vis_table.js +++ b/src/components/icon/assets/vis_table.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconVisTable = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconVisTable; diff --git a/src/components/icon/assets/vis_tag_cloud.js b/src/components/icon/assets/vis_tag_cloud.js index 68dd73c95e..adb933444e 100644 --- a/src/components/icon/assets/vis_tag_cloud.js +++ b/src/components/icon/assets/vis_tag_cloud.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconVisTagCloud = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconVisTagCloud; diff --git a/src/components/icon/assets/vis_text.js b/src/components/icon/assets/vis_text.js index df9eeb9e8d..b6ab48e808 100644 --- a/src/components/icon/assets/vis_text.js +++ b/src/components/icon/assets/vis_text.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconVisText = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconVisText; diff --git a/src/components/icon/assets/vis_timelion.js b/src/components/icon/assets/vis_timelion.js index 17ccaa5a8c..79b90028aa 100644 --- a/src/components/icon/assets/vis_timelion.js +++ b/src/components/icon/assets/vis_timelion.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconVisTimelion = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconVisTimelion; diff --git a/src/components/icon/assets/vis_vega.js b/src/components/icon/assets/vis_vega.js index 0941d406a8..e68b28c163 100644 --- a/src/components/icon/assets/vis_vega.js +++ b/src/components/icon/assets/vis_vega.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconVisVega = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconVisVega; diff --git a/src/components/icon/assets/vis_visual_builder.js b/src/components/icon/assets/vis_visual_builder.js index 94943badc5..abcbd283b1 100644 --- a/src/components/icon/assets/vis_visual_builder.js +++ b/src/components/icon/assets/vis_visual_builder.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconVisVisualBuilder = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconVisVisualBuilder; diff --git a/src/components/icon/assets/wordWrap.js b/src/components/icon/assets/wordWrap.js index 4722baaf5e..598751a00d 100644 --- a/src/components/icon/assets/wordWrap.js +++ b/src/components/icon/assets/wordWrap.js @@ -10,19 +10,17 @@ */ import * as React from 'react'; - const OuiIconWordWrap = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconWordWrap; diff --git a/src/components/icon/assets/wordWrapDisabled.js b/src/components/icon/assets/wordWrapDisabled.js index 75b693d1e1..78542fc581 100644 --- a/src/components/icon/assets/wordWrapDisabled.js +++ b/src/components/icon/assets/wordWrapDisabled.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconWordWrapDisabled = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconWordWrapDisabled; diff --git a/src/components/icon/assets/wrench.js b/src/components/icon/assets/wrench.js index 5470956775..df9366cd54 100644 --- a/src/components/icon/assets/wrench.js +++ b/src/components/icon/assets/wrench.js @@ -10,18 +10,16 @@ */ import * as React from 'react'; - const OuiIconWrench = ({ title, titleId, ...props }) => ( {title ? {title} : null} - + ); - export const icon = OuiIconWrench; diff --git a/yarn.lock b/yarn.lock index e8df7da1f9..f8c13aabbb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,6 +2,14 @@ # yarn lockfile v1 +"@ampproject/remapping@^2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.0.tgz#56c133824780de3174aed5ab6834f3026790154d" + integrity sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w== + dependencies: + "@jridgewell/gen-mapping" "^0.1.0" + "@jridgewell/trace-mapping" "^0.3.9" + "@axe-core/puppeteer@^4.1.1": version "4.1.1" resolved "https://registry.yarnpkg.com/@axe-core/puppeteer/-/puppeteer-4.1.1.tgz#e9dd2f2f13b717c057ff68c5943dec8d4ddd8acf" @@ -46,6 +54,13 @@ dependencies: "@babel/highlight" "^7.18.6" +"@babel/code-frame@^7.21.4": + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.21.4.tgz#d0fa9e4413aca81f2b23b9442797bda1826edb39" + integrity sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g== + dependencies: + "@babel/highlight" "^7.18.6" + "@babel/compat-data@^7.10.4", "@babel/compat-data@^7.11.0": version "7.11.0" resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.11.0.tgz#e9f73efe09af1355b723a7f39b11bad637d7c99c" @@ -55,7 +70,12 @@ invariant "^2.2.4" semver "^5.5.0" -"@babel/core@^7.1.0", "@babel/core@^7.11.4", "@babel/core@^7.7.0", "@babel/core@^7.7.5": +"@babel/compat-data@^7.21.4": + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.21.4.tgz#457ffe647c480dff59c2be092fc3acf71195c87f" + integrity sha512-/DYyDpeCfaVinT40FPGdkkb+lYSKvsVuMjDAG7jPOWWiM1ibOaB9CXJAlc4d1QpP/U2q2P9jbrSlClKSErd55g== + +"@babel/core@^7.1.0", "@babel/core@^7.11.4", "@babel/core@^7.7.0": version "7.11.4" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.11.4.tgz#4301dfdfafa01eeb97f1896c5501a3f0655d4229" integrity sha512-5deljj5HlqRXN+5oJTY7Zs37iH3z3b++KjiKtIsJy1NrjOOVSEaJHEetLBhyu0aQOSNNZ/0IuEAan9GzRuDXHg== @@ -77,6 +97,27 @@ semver "^5.4.1" source-map "^0.5.0" +"@babel/core@^7.21.3": + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.21.4.tgz#c6dc73242507b8e2a27fd13a9c1814f9fa34a659" + integrity sha512-qt/YV149Jman/6AfmlxJ04LMIu8bMoyl3RB91yTFrxQmgbrSvQMy7cI8Q62FHx1t8wJ8B5fu0UDoLwHAhUo1QA== + dependencies: + "@ampproject/remapping" "^2.2.0" + "@babel/code-frame" "^7.21.4" + "@babel/generator" "^7.21.4" + "@babel/helper-compilation-targets" "^7.21.4" + "@babel/helper-module-transforms" "^7.21.2" + "@babel/helpers" "^7.21.0" + "@babel/parser" "^7.21.4" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.21.4" + "@babel/types" "^7.21.4" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.2" + semver "^6.3.0" + "@babel/generator@^7.11.4", "@babel/generator@^7.12.10", "@babel/generator@^7.4.0", "@babel/generator@^7.7.0": version "7.12.10" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.12.10.tgz#2b188fc329fb8e4f762181703beffc0fe6df3460" @@ -95,6 +136,16 @@ "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" +"@babel/generator@^7.21.4": + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.21.4.tgz#64a94b7448989f421f919d5239ef553b37bb26bc" + integrity sha512-NieM3pVIYW2SwGzKoqfPrQsf4xGs9M9AIG3ThppsSRmO+m7eQhmI6amajKMUeIO37wFfsvnvcxQFx6x6iqxDnA== + dependencies: + "@babel/types" "^7.21.4" + "@jridgewell/gen-mapping" "^0.3.2" + "@jridgewell/trace-mapping" "^0.3.17" + jsesc "^2.5.1" + "@babel/helper-annotate-as-pure@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.10.4.tgz#5bf0d495a3f757ac3bda48b5bf3b3ba309c72ba3" @@ -138,6 +189,17 @@ levenary "^1.1.1" semver "^5.5.0" +"@babel/helper-compilation-targets@^7.21.4": + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.21.4.tgz#770cd1ce0889097ceacb99418ee6934ef0572656" + integrity sha512-Fa0tTuOXZ1iL8IeDFUWCzjZcn+sJGd9RZdH9esYVjEejGmzf+FFYQpMi/kZUk2kPy/q1H3/GPw7np8qar/stfg== + dependencies: + "@babel/compat-data" "^7.21.4" + "@babel/helper-validator-option" "^7.21.0" + browserslist "^4.21.3" + lru-cache "^5.1.1" + semver "^6.3.0" + "@babel/helper-create-class-features-plugin@^7.10.4", "@babel/helper-create-class-features-plugin@^7.12.1": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.12.1.tgz#3c45998f431edd4a9214c5f1d3ad1448a6137f6e" @@ -196,6 +258,14 @@ "@babel/template" "^7.18.6" "@babel/types" "^7.18.9" +"@babel/helper-function-name@^7.21.0": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.21.0.tgz#d552829b10ea9f120969304023cd0645fa00b1b4" + integrity sha512-HfK1aMRanKHpxemaY2gqBmL04iAPOPRj7DxtNbiDOrJK+gdwkiNRVpCpUJYbUT+aZyemKN8brqTOxzCaG6ExRg== + dependencies: + "@babel/template" "^7.20.7" + "@babel/types" "^7.21.0" + "@babel/helper-get-function-arity@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.4.tgz#98c1cbea0e2332f33f9a4661b8ce1505b2c19ba2" @@ -231,6 +301,13 @@ dependencies: "@babel/types" "^7.10.4" +"@babel/helper-module-imports@^7.18.6": + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.21.4.tgz#ac88b2f76093637489e718a90cec6cf8a9b029af" + integrity sha512-orajc5T2PsRYUN3ZryCEFeMDYwyw09c/pZeaQEZPH0MpKzSvn3e0uXsDBu3k03VI+9DBiRo+l22BfKTpKwa/Wg== + dependencies: + "@babel/types" "^7.21.4" + "@babel/helper-module-transforms@^7.10.4", "@babel/helper-module-transforms@^7.10.5", "@babel/helper-module-transforms@^7.11.0": version "7.11.0" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.11.0.tgz#b16f250229e47211abdd84b34b64737c2ab2d359" @@ -244,6 +321,20 @@ "@babel/types" "^7.11.0" lodash "^4.17.19" +"@babel/helper-module-transforms@^7.21.2": + version "7.21.2" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.21.2.tgz#160caafa4978ac8c00ac66636cb0fa37b024e2d2" + integrity sha512-79yj2AR4U/Oqq/WOV7Lx6hUjau1Zfo4cI+JLAVYeMV5XIlbOhmjEk5ulbTc9fMpmlojzZHkUUxAiK+UKn+hNQQ== + dependencies: + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-simple-access" "^7.20.2" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/helper-validator-identifier" "^7.19.1" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.21.2" + "@babel/types" "^7.21.2" + "@babel/helper-optimise-call-expression@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.4.tgz#50dc96413d594f995a77905905b05893cd779673" @@ -291,6 +382,13 @@ "@babel/template" "^7.10.4" "@babel/types" "^7.10.4" +"@babel/helper-simple-access@^7.20.2": + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz#0ab452687fe0c2cfb1e2b9e0015de07fc2d62dd9" + integrity sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA== + dependencies: + "@babel/types" "^7.20.2" + "@babel/helper-skip-transparent-expression-wrappers@^7.11.0": version "7.11.0" resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.11.0.tgz#eec162f112c2f58d3af0af125e3bb57665146729" @@ -317,6 +415,11 @@ resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.18.10.tgz#181f22d28ebe1b3857fa575f5c290b1aaf659b56" integrity sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw== +"@babel/helper-string-parser@^7.19.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" + integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== + "@babel/helper-validator-identifier@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz#a78c7a7251e01f616512d31b10adcf52ada5e0d2" @@ -327,6 +430,16 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.18.6.tgz#9c97e30d31b2b8c72a1d08984f2ca9b574d7a076" integrity sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g== +"@babel/helper-validator-identifier@^7.19.1": + version "7.19.1" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== + +"@babel/helper-validator-option@^7.21.0": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.21.0.tgz#8224c7e13ace4bafdc4004da2cf064ef42673180" + integrity sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ== + "@babel/helper-wrap-function@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.10.4.tgz#8a6f701eab0ff39f765b5a1cfef409990e624b87" @@ -346,6 +459,15 @@ "@babel/traverse" "^7.10.4" "@babel/types" "^7.10.4" +"@babel/helpers@^7.21.0": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.21.0.tgz#9dd184fb5599862037917cdc9eecb84577dc4e7e" + integrity sha512-XXve0CBtOW0pd7MRzzmoyuSj0e3SEzj8pgyFxnTT1NJZL38BD1MK7yYrm8yefRPIDvNNe14xR4FdbHwpInD4rA== + dependencies: + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.21.0" + "@babel/types" "^7.21.0" + "@babel/highlight@^7.0.0", "@babel/highlight@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.10.4.tgz#7d1bdfd65753538fabe6c38596cdb76d9ac60143" @@ -374,6 +496,11 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.18.11.tgz#68bb07ab3d380affa9a3f96728df07969645d2d9" integrity sha512-9JKn5vN+hDt0Hdqn1PiJ2guflwP+B6Ga8qbDuoF0PzzVhrzsKIJo8yGqVk6CmMHiMei9w1C1Bp9IMJSIK+HPIQ== +"@babel/parser@^7.20.7", "@babel/parser@^7.21.4": + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.21.4.tgz#94003fdfc520bbe2875d4ae557b43ddb6d880f17" + integrity sha512-alVJj7k7zIxqBZ7BTRhz0IqJFxW1VJbm6N8JbcYhQ186df9ZBPbZBmWSqAMXwHGsCJdYks7z/voa3ibiS5bCIw== + "@babel/plugin-proposal-async-generator-functions@^7.10.4": version "7.10.5" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.10.5.tgz#3491cabf2f7c179ab820606cec27fed15e0e8558" @@ -1053,6 +1180,15 @@ "@babel/parser" "^7.18.10" "@babel/types" "^7.18.10" +"@babel/template@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.20.7.tgz#a15090c2839a83b02aa996c0b4994005841fd5a8" + integrity sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/parser" "^7.20.7" + "@babel/types" "^7.20.7" + "@babel/traverse@^7.1.0", "@babel/traverse@^7.4.3": version "7.18.11" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.18.11.tgz#3d51f2afbd83ecf9912bcbb5c4d94e3d2ddaa16f" @@ -1084,7 +1220,23 @@ globals "^11.1.0" lodash "^4.17.19" -"@babel/types@^7.0.0", "@babel/types@^7.10.4", "@babel/types@^7.10.5", "@babel/types@^7.11.0", "@babel/types@^7.12.10", "@babel/types@^7.12.5", "@babel/types@^7.12.7", "@babel/types@^7.3.0", "@babel/types@^7.4.4", "@babel/types@^7.7.0", "@babel/types@^7.7.1", "@babel/types@^7.9.5": +"@babel/traverse@^7.21.0", "@babel/traverse@^7.21.2", "@babel/traverse@^7.21.4": + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.21.4.tgz#a836aca7b116634e97a6ed99976236b3282c9d36" + integrity sha512-eyKrRHKdyZxqDm+fV1iqL9UAHMoIg0nDaGqfIOd8rKH17m5snv7Gn4qgjBoFfLz9APvjFU/ICT00NVCv1Epp8Q== + dependencies: + "@babel/code-frame" "^7.21.4" + "@babel/generator" "^7.21.4" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.21.0" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.21.4" + "@babel/types" "^7.21.4" + debug "^4.1.0" + globals "^11.1.0" + +"@babel/types@^7.0.0", "@babel/types@^7.10.4", "@babel/types@^7.10.5", "@babel/types@^7.11.0", "@babel/types@^7.12.10", "@babel/types@^7.12.5", "@babel/types@^7.12.7", "@babel/types@^7.3.0", "@babel/types@^7.4.4", "@babel/types@^7.7.0", "@babel/types@^7.7.1": version "7.12.10" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.12.10.tgz#7965e4a7260b26f09c56bcfcb0498af1f6d9b260" integrity sha512-sf6wboJV5mGyip2hIpDSKsr80RszPinEFjsHTalMxZAZkoQ2/2yQzxlcFN52SJqsyPfLtPmenL4g2KB3KJXPDw== @@ -1102,6 +1254,15 @@ "@babel/helper-validator-identifier" "^7.18.6" to-fast-properties "^2.0.0" +"@babel/types@^7.20.2", "@babel/types@^7.20.7", "@babel/types@^7.21.0", "@babel/types@^7.21.2", "@babel/types@^7.21.3", "@babel/types@^7.21.4": + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.21.4.tgz#2d5d6bb7908699b3b416409ffd3b5daa25b030d4" + integrity sha512-rU2oY501qDxE8Pyo7i/Orqma4ziCOrby0/9mvbDUGEfvZjb279Nk9k19e2fiCxHbRRpY2ZyrgW1eq22mvmOIzA== + dependencies: + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + "@cnakazawa/watch@^1.0.3": version "1.0.4" resolved "https://registry.yarnpkg.com/@cnakazawa/watch/-/watch-1.0.4.tgz#f864ae85004d0fcab6f50be9141c4da368d1656a" @@ -1361,6 +1522,14 @@ "@types/istanbul-reports" "^1.1.1" "@types/yargs" "^13.0.0" +"@jridgewell/gen-mapping@^0.1.0": + version "0.1.1" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz#e5d2e450306a9491e3bd77e323e38d7aff315996" + integrity sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w== + dependencies: + "@jridgewell/set-array" "^1.0.0" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2": version "0.3.2" resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz#c1aedc61e853f2bb9f5dfe6d4442d3b565b253b9" @@ -1370,12 +1539,12 @@ "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/trace-mapping" "^0.3.9" -"@jridgewell/resolve-uri@^3.0.3": +"@jridgewell/resolve-uri@3.1.0", "@jridgewell/resolve-uri@^3.0.3": version "3.1.0" resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== -"@jridgewell/set-array@^1.0.1": +"@jridgewell/set-array@^1.0.0", "@jridgewell/set-array@^1.0.1": version "1.1.2" resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== @@ -1388,11 +1557,19 @@ "@jridgewell/gen-mapping" "^0.3.0" "@jridgewell/trace-mapping" "^0.3.9" -"@jridgewell/sourcemap-codec@^1.4.10": +"@jridgewell/sourcemap-codec@1.4.14", "@jridgewell/sourcemap-codec@^1.4.10": version "1.4.14" resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== +"@jridgewell/trace-mapping@^0.3.17": + version "0.3.17" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz#793041277af9073b0951a7fe0f0d8c4c98c36985" + integrity sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g== + dependencies: + "@jridgewell/resolve-uri" "3.1.0" + "@jridgewell/sourcemap-codec" "1.4.14" + "@jridgewell/trace-mapping@^0.3.9": version "0.3.14" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.14.tgz#b231a081d8f66796e475ad588a1ef473112701ed" @@ -1814,94 +1991,96 @@ resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-4.6.0.tgz#3c7c9c46e678feefe7a2e5bb609d3dbd665ffb3f" integrity sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw== -"@svgr/babel-plugin-add-jsx-attribute@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-5.4.0.tgz#81ef61947bb268eb9d50523446f9c638fb355906" - integrity sha512-ZFf2gs/8/6B8PnSofI0inYXr2SDNTDScPXhN7k5EqD4aZ3gi6u+rbmZHVB8IM3wDyx8ntKACZbtXSm7oZGRqVg== +"@svgr/babel-plugin-add-jsx-attribute@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-7.0.0.tgz#80856c1b7a3b7422d232f6e079f0beb90c4a13e9" + integrity sha512-khWbXesWIP9v8HuKCl2NU2HNAyqpSQ/vkIl36Nbn4HIwEYSRWL0H7Gs6idJdha2DkpFDWlsqMELvoCE8lfFY6Q== -"@svgr/babel-plugin-remove-jsx-attribute@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-remove-jsx-attribute/-/babel-plugin-remove-jsx-attribute-5.4.0.tgz#6b2c770c95c874654fd5e1d5ef475b78a0a962ef" - integrity sha512-yaS4o2PgUtwLFGTKbsiAy6D0o3ugcUhWK0Z45umJ66EPWunAz9fuFw2gJuje6wqQvQWOTJvIahUwndOXb7QCPg== +"@svgr/babel-plugin-remove-jsx-attribute@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-remove-jsx-attribute/-/babel-plugin-remove-jsx-attribute-7.0.0.tgz#91da77a009dc38e8d30da45d9b62ef8736f2d90a" + integrity sha512-iiZaIvb3H/c7d3TH2HBeK91uI2rMhZNwnsIrvd7ZwGLkFw6mmunOCoVnjdYua662MqGFxlN9xTq4fv9hgR4VXQ== -"@svgr/babel-plugin-remove-jsx-empty-expression@^5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-remove-jsx-empty-expression/-/babel-plugin-remove-jsx-empty-expression-5.0.1.tgz#25621a8915ed7ad70da6cea3d0a6dbc2ea933efd" - integrity sha512-LA72+88A11ND/yFIMzyuLRSMJ+tRKeYKeQ+mR3DcAZ5I4h5CPWN9AHyUzJbWSYp/u2u0xhmgOe0+E41+GjEueA== +"@svgr/babel-plugin-remove-jsx-empty-expression@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-remove-jsx-empty-expression/-/babel-plugin-remove-jsx-empty-expression-7.0.0.tgz#5154ff1213509e36ab315974c8c2fd48dafb827b" + integrity sha512-sQQmyo+qegBx8DfFc04PFmIO1FP1MHI1/QEpzcIcclo5OAISsOJPW76ZIs0bDyO/DBSJEa/tDa1W26pVtt0FRw== -"@svgr/babel-plugin-replace-jsx-attribute-value@^5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-replace-jsx-attribute-value/-/babel-plugin-replace-jsx-attribute-value-5.0.1.tgz#0b221fc57f9fcd10e91fe219e2cd0dd03145a897" - integrity sha512-PoiE6ZD2Eiy5mK+fjHqwGOS+IXX0wq/YDtNyIgOrc6ejFnxN4b13pRpiIPbtPwHEc+NT2KCjteAcq33/F1Y9KQ== +"@svgr/babel-plugin-replace-jsx-attribute-value@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-replace-jsx-attribute-value/-/babel-plugin-replace-jsx-attribute-value-7.0.0.tgz#7e72f44ee57fdbcb02fb0d4a7629466c5242725e" + integrity sha512-i6MaAqIZXDOJeikJuzocByBf8zO+meLwfQ/qMHIjCcvpnfvWf82PFvredEZElErB5glQFJa2KVKk8N2xV6tRRA== -"@svgr/babel-plugin-svg-dynamic-title@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-svg-dynamic-title/-/babel-plugin-svg-dynamic-title-5.4.0.tgz#139b546dd0c3186b6e5db4fefc26cb0baea729d7" - integrity sha512-zSOZH8PdZOpuG1ZVx/cLVePB2ibo3WPpqo7gFIjLV9a0QsuQAzJiwwqmuEdTaW2pegyBE17Uu15mOgOcgabQZg== +"@svgr/babel-plugin-svg-dynamic-title@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-svg-dynamic-title/-/babel-plugin-svg-dynamic-title-7.0.0.tgz#8caf0449c678ea29be756b89960b2b16c9f33f00" + integrity sha512-BoVSh6ge3SLLpKC0pmmN9DFlqgFy4NxNgdZNLPNJWBUU7TQpDWeBuyVuDW88iXydb5Cv0ReC+ffa5h3VrKfk1w== -"@svgr/babel-plugin-svg-em-dimensions@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-svg-em-dimensions/-/babel-plugin-svg-em-dimensions-5.4.0.tgz#6543f69526632a133ce5cabab965deeaea2234a0" - integrity sha512-cPzDbDA5oT/sPXDCUYoVXEmm3VIoAWAPT6mSPTJNbQaBNUuEKVKyGH93oDY4e42PYHRW67N5alJx/eEol20abw== +"@svgr/babel-plugin-svg-em-dimensions@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-svg-em-dimensions/-/babel-plugin-svg-em-dimensions-7.0.0.tgz#4db6b5af6d29e93db236b1a013fa953754071d41" + integrity sha512-tNDcBa+hYn0gO+GkP/AuNKdVtMufVhU9fdzu+vUQsR18RIJ9RWe7h/pSBY338RO08wArntwbDk5WhQBmhf2PaA== -"@svgr/babel-plugin-transform-react-native-svg@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-transform-react-native-svg/-/babel-plugin-transform-react-native-svg-5.4.0.tgz#00bf9a7a73f1cad3948cdab1f8dfb774750f8c80" - integrity sha512-3eYP/SaopZ41GHwXma7Rmxcv9uRslRDTY1estspeB1w1ueZWd/tPlMfEOoccYpEMZU3jD4OU7YitnXcF5hLW2Q== +"@svgr/babel-plugin-transform-react-native-svg@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-transform-react-native-svg/-/babel-plugin-transform-react-native-svg-7.0.0.tgz#236995e58b5e36ff06365d5310509ce5391aeec9" + integrity sha512-qw54u8ljCJYL2KtBOjI5z7Nzg8LnSvQOP5hPKj77H4VQL4+HdKbAT5pnkkZLmHKYwzsIHSYKXxHouD8zZamCFQ== -"@svgr/babel-plugin-transform-svg-component@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-transform-svg-component/-/babel-plugin-transform-svg-component-5.4.0.tgz#a2212b4d018e6075a058bb7e220a66959ef7a03c" - integrity sha512-zLl4Fl3NvKxxjWNkqEcpdSOpQ3LGVH2BNFQ6vjaK6sFo2IrSznrhURIPI0HAphKiiIwNYjAfE0TNoQDSZv0U9A== +"@svgr/babel-plugin-transform-svg-component@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-transform-svg-component/-/babel-plugin-transform-svg-component-7.0.0.tgz#a9b62730acf10d22a2aa57e0f701c0ecbc270430" + integrity sha512-CcFECkDj98daOg9jE3Bh3uyD9kzevCAnZ+UtzG6+BQG/jOQ2OA3jHnX6iG4G1MCJkUQFnUvEv33NvQfqrb/F3A== -"@svgr/babel-preset@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@svgr/babel-preset/-/babel-preset-5.4.0.tgz#da21854643e1c4ad2279239baa7d5a8b128c1f15" - integrity sha512-Gyx7cCxua04DBtyILTYdQxeO/pwfTBev6+eXTbVbxe4HTGhOUW6yo7PSbG2p6eJMl44j6XSequ0ZDP7bl0nu9A== - dependencies: - "@svgr/babel-plugin-add-jsx-attribute" "^5.4.0" - "@svgr/babel-plugin-remove-jsx-attribute" "^5.4.0" - "@svgr/babel-plugin-remove-jsx-empty-expression" "^5.0.1" - "@svgr/babel-plugin-replace-jsx-attribute-value" "^5.0.1" - "@svgr/babel-plugin-svg-dynamic-title" "^5.4.0" - "@svgr/babel-plugin-svg-em-dimensions" "^5.4.0" - "@svgr/babel-plugin-transform-react-native-svg" "^5.4.0" - "@svgr/babel-plugin-transform-svg-component" "^5.4.0" - -"@svgr/core@5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@svgr/core/-/core-5.4.0.tgz#655378ee43679eb94fee3d4e1976e38252dff8e7" - integrity sha512-hWGm1DCCvd4IEn7VgDUHYiC597lUYhFau2lwJBYpQWDirYLkX4OsXu9IslPgJ9UpP7wsw3n2Ffv9sW7SXJVfqQ== +"@svgr/babel-preset@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/babel-preset/-/babel-preset-7.0.0.tgz#55aaca4cec2ff6515a571715b6b6fa98675b66d9" + integrity sha512-EX/NHeFa30j5UjldQGVQikuuQNHUdGmbh9kEpBKofGUtF0GUPJ4T4rhoYiqDAOmBOxojyot36JIFiDUHUK1ilQ== + dependencies: + "@svgr/babel-plugin-add-jsx-attribute" "^7.0.0" + "@svgr/babel-plugin-remove-jsx-attribute" "^7.0.0" + "@svgr/babel-plugin-remove-jsx-empty-expression" "^7.0.0" + "@svgr/babel-plugin-replace-jsx-attribute-value" "^7.0.0" + "@svgr/babel-plugin-svg-dynamic-title" "^7.0.0" + "@svgr/babel-plugin-svg-em-dimensions" "^7.0.0" + "@svgr/babel-plugin-transform-react-native-svg" "^7.0.0" + "@svgr/babel-plugin-transform-svg-component" "^7.0.0" + +"@svgr/core@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/core/-/core-7.0.0.tgz#def863d2670c682615583c80b408e83c095c2233" + integrity sha512-ztAoxkaKhRVloa3XydohgQQCb0/8x9T63yXovpmHzKMkHO6pkjdsIAWKOS4bE95P/2quVh1NtjSKlMRNzSBffw== dependencies: - "@svgr/plugin-jsx" "^5.4.0" - camelcase "^6.0.0" - cosmiconfig "^6.0.0" + "@babel/core" "^7.21.3" + "@svgr/babel-preset" "^7.0.0" + camelcase "^6.2.0" + cosmiconfig "^8.1.3" -"@svgr/hast-util-to-babel-ast@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@svgr/hast-util-to-babel-ast/-/hast-util-to-babel-ast-5.4.0.tgz#bb5d002e428f510aa5b53ec0a02377a95b367715" - integrity sha512-+U0TZZpPsP2V1WvVhqAOSTk+N+CjYHdZx+x9UBa1eeeZDXwH8pt0CrQf2+SvRl/h2CAPRFkm+Ey96+jKP8Bsgg== +"@svgr/hast-util-to-babel-ast@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/hast-util-to-babel-ast/-/hast-util-to-babel-ast-7.0.0.tgz#d457dfbe74ebc1e5a6daf97ded49e9576a3a00cf" + integrity sha512-42Ej9sDDEmsJKjrfQ1PHmiDiHagh/u9AHO9QWbeNx4KmD9yS5d1XHmXUNINfUcykAU+4431Cn+k6Vn5mWBYimQ== dependencies: - "@babel/types" "^7.9.5" + "@babel/types" "^7.21.3" + entities "^4.4.0" -"@svgr/plugin-jsx@^5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@svgr/plugin-jsx/-/plugin-jsx-5.4.0.tgz#ab47504c55615833c6db70fca2d7e489f509787c" - integrity sha512-SGzO4JZQ2HvGRKDzRga9YFSqOqaNrgLlQVaGvpZ2Iht2gwRp/tq+18Pvv9kS9ZqOMYgyix2LLxZMY1LOe9NPqw== +"@svgr/plugin-jsx@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/plugin-jsx/-/plugin-jsx-7.0.0.tgz#b9e0c7d05bc890d70163ac0490ba8c41f1afab90" + integrity sha512-SWlTpPQmBUtLKxXWgpv8syzqIU8XgFRvyhfkam2So8b3BE0OS0HPe5UfmlJ2KIC+a7dpuuYovPR2WAQuSyMoPw== dependencies: - "@babel/core" "^7.7.5" - "@svgr/babel-preset" "^5.4.0" - "@svgr/hast-util-to-babel-ast" "^5.4.0" - svg-parser "^2.0.2" + "@babel/core" "^7.21.3" + "@svgr/babel-preset" "^7.0.0" + "@svgr/hast-util-to-babel-ast" "^7.0.0" + svg-parser "^2.0.4" -"@svgr/plugin-svgo@^4.0.3": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@svgr/plugin-svgo/-/plugin-svgo-4.2.0.tgz#2a594a2d3312955e75fd87dc77ae51f377c809f3" - integrity sha512-zUEKgkT172YzHh3mb2B2q92xCnOAMVjRx+o0waZ1U50XqKLrVQ/8dDqTAtnmapdLsGurv8PSwenjLCUpj6hcvw== +"@svgr/plugin-svgo@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/plugin-svgo/-/plugin-svgo-7.0.0.tgz#325e87cede7bf7106a8099ceaeaa5906176c4bca" + integrity sha512-263znzlu3qTKj71/ot5G9l2vpL4CW+pr2IexBFIwwB+fRAXE9Xnw2rUFgE6P4+37N9siOuC4lKkgBfUCOLFRKQ== dependencies: - cosmiconfig "^5.2.0" - merge-deep "^3.0.2" - svgo "^1.2.1" + cosmiconfig "^8.1.3" + deepmerge "^4.3.1" + svgo "^3.0.2" "@szmarczak/http-timer@^4.0.5": version "4.0.6" @@ -1915,6 +2094,11 @@ resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A== +"@trysound/sax@0.2.0": + version "0.2.0" + resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad" + integrity sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA== + "@types/anymatch@*": version "1.3.1" resolved "https://registry.yarnpkg.com/@types/anymatch/-/anymatch-1.3.1.tgz#336badc1beecb9dacc38bea2cf32adf627a8421a" @@ -2893,6 +3077,11 @@ argparse@^1.0.7: dependencies: sprintf-js "~1.0.2" +argparse@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" + integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== + aria-hidden@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/aria-hidden/-/aria-hidden-1.1.1.tgz#0c356026d3f65e2bd487a3adb73f0c586be2c37e" @@ -3668,6 +3857,16 @@ browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4.8.3: node-releases "^2.0.6" update-browserslist-db "^1.0.5" +browserslist@^4.21.3: + version "4.21.5" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.5.tgz#75c5dae60063ee641f977e00edd3cfb2fb7af6a7" + integrity sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w== + dependencies: + caniuse-lite "^1.0.30001449" + electron-to-chromium "^1.4.284" + node-releases "^2.0.8" + update-browserslist-db "^1.0.10" + bser@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/bser/-/bser-2.0.0.tgz#9ac78d3ed5d915804fd87acb158bc797147a1719" @@ -3953,6 +4152,11 @@ caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001370: resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001457.tgz" integrity sha512-SDIV6bgE1aVbK6XyxdURbUE89zY7+k1BBBaOwYwkNCglXlel/E7mELiHC64HQ+W0xSKlqWhV9Wh7iHxUjMs4fA== +caniuse-lite@^1.0.30001449: + version "1.0.30001473" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001473.tgz#3859898b3cab65fc8905bb923df36ad35058153c" + integrity sha512-ewDad7+D2vlyy+E4UJuVfiBsU69IL+8oVmTuZnH5Q6CIUbxNfI50uVpRHbUPDD6SUaN2o0Lh4DhTrvLG/Tn1yg== + capture-exit@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/capture-exit/-/capture-exit-2.0.0.tgz#fb953bfaebeb781f62898239dabb426d08a509a4" @@ -4292,17 +4496,6 @@ clone-buffer@^1.0.0: resolved "https://registry.yarnpkg.com/clone-buffer/-/clone-buffer-1.0.0.tgz#e3e25b207ac4e701af721e2cb5a16792cac3dc58" integrity sha1-4+JbIHrE5wGvch4staFnksrD3Fg= -clone-deep@^0.2.4: - version "0.2.4" - resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-0.2.4.tgz#4e73dd09e9fb971cc38670c5dced9c1896481cc6" - integrity sha1-TnPdCen7lxzDhnDF3O2cGJZIHMY= - dependencies: - for-own "^0.1.3" - is-plain-object "^2.0.1" - kind-of "^3.0.2" - lazy-cache "^1.0.3" - shallow-clone "^0.1.2" - clone-regexp@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/clone-regexp/-/clone-regexp-1.0.0.tgz#eae0a2413f55c0942f818c229fefce845d7f3b1c" @@ -4533,6 +4726,11 @@ commander@^4.0.1, commander@^4.1.1: resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== +commander@^7.2.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" + integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== + commander@~2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/commander/-/commander-2.1.0.tgz#d121bbae860d9992a3d517ba96f56588e47c6781" @@ -4733,7 +4931,7 @@ core-util-is@1.0.2, core-util-is@~1.0.0: resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= -cosmiconfig@^5.0.0, cosmiconfig@^5.2.0: +cosmiconfig@^5.0.0: version "5.2.0" resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.2.0.tgz#45038e4d28a7fe787203aede9c25bca4a08b12c8" integrity sha512-nxt+Nfc3JAqf4WIWd0jXLjTJZmsPLrA9DDc4nRw2KFJQJK7DNooqSXrNI7tzLG50CF8axczly5UV929tBmh/7g== @@ -4765,6 +4963,16 @@ cosmiconfig@^7.0.0: path-type "^4.0.0" yaml "^1.10.0" +cosmiconfig@^8.1.3: + version "8.1.3" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-8.1.3.tgz#0e614a118fcc2d9e5afc2f87d53cd09931015689" + integrity sha512-/UkO2JKI18b5jVMJUp0lvKFMpa/Gye+ZgZjKD+DGEN9y7NRcf/nK1A0sp67ONmKtnDCNMS44E6jrk0Yc3bDuUw== + dependencies: + import-fresh "^3.2.1" + js-yaml "^4.1.0" + parse-json "^5.0.0" + path-type "^4.0.0" + create-ecdh@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.0.tgz#888c723596cdf7612f6498233eebd7a35301737d" @@ -4940,6 +5148,17 @@ css-select@^4.1.3: domutils "^2.8.0" nth-check "^2.0.1" +css-select@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/css-select/-/css-select-5.1.0.tgz#b8ebd6554c3637ccc76688804ad3f6a6fdaea8a6" + integrity sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg== + dependencies: + boolbase "^1.0.0" + css-what "^6.1.0" + domhandler "^5.0.2" + domutils "^3.0.1" + nth-check "^2.0.1" + css-tree@1.0.0-alpha.29: version "1.0.0-alpha.29" resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.0.0-alpha.29.tgz#3fa9d4ef3142cbd1c301e7664c1f352bd82f5a39" @@ -4956,6 +5175,22 @@ css-tree@1.0.0-alpha.33: mdn-data "2.0.4" source-map "^0.5.3" +css-tree@^2.2.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-2.3.1.tgz#10264ce1e5442e8572fc82fbe490644ff54b5c20" + integrity sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw== + dependencies: + mdn-data "2.0.30" + source-map-js "^1.0.1" + +css-tree@~2.2.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-2.2.1.tgz#36115d382d60afd271e377f9c5f67d02bd48c032" + integrity sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA== + dependencies: + mdn-data "2.0.28" + source-map-js "^1.0.1" + css-what@^3.2.1, css-what@^4.0.0, css-what@^6.0.1, css-what@^6.1.0: version "6.1.0" resolved "https://registry.yarnpkg.com/css-what/-/css-what-6.1.0.tgz#fb5effcf76f1ddea2c81bdfaa4de44e79bac70f4" @@ -5041,6 +5276,13 @@ csso@^3.5.1: dependencies: css-tree "1.0.0-alpha.29" +csso@^5.0.5: + version "5.0.5" + resolved "https://registry.yarnpkg.com/csso/-/csso-5.0.5.tgz#f9b7fe6cc6ac0b7d90781bb16d5e9874303e2ca6" + integrity sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ== + dependencies: + css-tree "~2.2.0" + csso@~2.3.1: version "2.3.2" resolved "https://registry.yarnpkg.com/csso/-/csso-2.3.2.tgz#ddd52c587033f49e94b71fc55569f252e8ff5f85" @@ -5302,6 +5544,11 @@ deepmerge@^4.2.2: resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== +deepmerge@^4.3.1: + version "4.3.1" + resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.3.1.tgz#44b5f2147cd3b00d4b56137685966f26fd25dd4a" + integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A== + default-gateway@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/default-gateway/-/default-gateway-4.2.0.tgz#167104c7500c2115f6dd69b0a536bb8ed720552b" @@ -5565,6 +5812,15 @@ dom-serializer@^1.0.1: domhandler "^4.2.0" entities "^2.0.0" +dom-serializer@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-2.0.0.tgz#e41b802e1eedf9f6cae183ce5e622d789d7d8e53" + integrity sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg== + dependencies: + domelementtype "^2.3.0" + domhandler "^5.0.2" + entities "^4.2.0" + dom-serializer@~1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-1.2.0.tgz#3433d9136aeb3c627981daa385fc7f32d27c48f1" @@ -5584,7 +5840,7 @@ domelementtype@1, domelementtype@^1.3.0, domelementtype@^1.3.1: resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.1.tgz#d048c44b37b0d10a7f2a3d5fee3f4333d790481f" integrity sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w== -domelementtype@^2.0.1, domelementtype@^2.1.0, domelementtype@^2.2.0: +domelementtype@^2.0.1, domelementtype@^2.1.0, domelementtype@^2.2.0, domelementtype@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d" integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw== @@ -5610,6 +5866,13 @@ domhandler@^4.0.0, domhandler@^4.2.0, domhandler@^4.3.1: dependencies: domelementtype "^2.2.0" +domhandler@^5.0.1, domhandler@^5.0.2: + version "5.0.3" + resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-5.0.3.tgz#cc385f7f751f1d1fc650c21374804254538c7d31" + integrity sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w== + dependencies: + domelementtype "^2.3.0" + domutils@^1.5.1, domutils@^1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.7.0.tgz#56ea341e834e06e6748af7a1cb25da67ea9f8c2a" @@ -5627,6 +5890,15 @@ domutils@^2.4.3, domutils@^2.4.4, domutils@^2.5.2, domutils@^2.8.0: domelementtype "^2.2.0" domhandler "^4.2.0" +domutils@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/domutils/-/domutils-3.0.1.tgz#696b3875238338cb186b6c0612bd4901c89a4f1c" + integrity sha512-z08c1l761iKhDFtfXO04C7kTdPBLi41zwOZl00WS8b5eiaebNpY00HKbztwBq+e3vyqWNwWF3mP9YLUeqIrF+Q== + dependencies: + dom-serializer "^2.0.0" + domelementtype "^2.3.0" + domhandler "^5.0.1" + dot-case@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/dot-case/-/dot-case-3.0.3.tgz#21d3b52efaaba2ea5fda875bb1aa8124521cf4aa" @@ -5725,6 +5997,11 @@ electron-to-chromium@^1.4.202: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.208.tgz#ecb5b47c8cc212a43172ffc5ce50178a638a5d74" integrity sha512-diMr4t69FigAGUk2KovP0bygEtN/9AkqEVkzjEp0cu+zFFbZMVvwACpTTfuj1mAmFR5kNoSW8wGKDFWIvmThiQ== +electron-to-chromium@^1.4.284: + version "1.4.347" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.347.tgz#4b72564912c3456c6704d4250918aa6a105d5dc3" + integrity sha512-LNi3+/9nV0vT6Bz1OsSoZ/w7IgNuWdefZ7mjKNjZxyRlI/ag6uMXxsxAy5Etvuixq3Q26exw2fc4bNYvYQqXSw== + elliptic@^6.0.0: version "6.5.4" resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" @@ -5826,6 +6103,11 @@ entities@^2.0.0: resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55" integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A== +entities@^4.2.0, entities@^4.4.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/entities/-/entities-4.4.0.tgz#97bdaba170339446495e653cfd2db78962900174" + integrity sha512-oYp7156SP8LkeGD0GF85ad1X9Ai79WtRsZ2gxJqtBuzH+98YUV6jkHEKlZkMbcrjJjIVJNIDP/3WL9wQkoPbWA== + entities@~2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/entities/-/entities-2.1.0.tgz#992d3129cf7df6870b96c57858c249a120f8b8b5" @@ -6970,23 +7252,11 @@ for-each@^0.3.3: dependencies: is-callable "^1.1.3" -for-in@^0.1.3: - version "0.1.8" - resolved "https://registry.yarnpkg.com/for-in/-/for-in-0.1.8.tgz#d8773908e31256109952b1fdb9b3fa867d2775e1" - integrity sha1-2Hc5COMSVhCZUrH9ubP6hn0ndeE= - -for-in@^1.0.1, for-in@^1.0.2: +for-in@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA= -for-own@^0.1.3: - version "0.1.5" - resolved "https://registry.yarnpkg.com/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce" - integrity sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4= - dependencies: - for-in "^1.0.1" - foreachasync@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/foreachasync/-/foreachasync-3.0.0.tgz#5502987dc8714be3392097f32e0071c9dee07cf6" @@ -7258,6 +7528,11 @@ gensync@^1.0.0-beta.1: resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.1.tgz#58f4361ff987e5ff6e1e7a210827aa371eaac269" integrity sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg== +gensync@^1.0.0-beta.2: + version "1.0.0-beta.2" + resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" + integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== + get-caller-file@^2.0.1, get-caller-file@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" @@ -8620,7 +8895,7 @@ is-boolean-object@^1.1.0: call-bind "^1.0.2" has-tostringtag "^1.0.0" -is-buffer@^1.0.2, is-buffer@^1.1.4, is-buffer@^1.1.5: +is-buffer@^1.1.4, is-buffer@^1.1.5: version "1.1.6" resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== @@ -8897,7 +9172,7 @@ is-plain-obj@^2.0.0: resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== -is-plain-object@^2.0.1, is-plain-object@^2.0.3, is-plain-object@^2.0.4: +is-plain-object@^2.0.3, is-plain-object@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== @@ -9568,6 +9843,13 @@ js-yaml@^3.13.0, js-yaml@^3.13.1, js-yaml@^3.5.4, js-yaml@~3.7.0: argparse "^1.0.7" esprima "^4.0.0" +js-yaml@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" + integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== + dependencies: + argparse "^2.0.1" + jsbn@~0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" @@ -9674,6 +9956,11 @@ json5@^2.1.2: resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.2.tgz#64471c5bdcc564c18f7c1d4df2e2297f2457c5ab" integrity sha512-46Tk9JiOL2z7ytNQWFLpj99RZkVgeHf87yGQKsIkaPz1qSH9UczKH1rO7K3wgRselo0tYMUNfecYpm/p1vC7tQ== +json5@^2.2.2: + version "2.2.3" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== + jsonfile@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-3.0.1.tgz#a5ecc6f65f53f662c4415c7675a0331d0992ec66" @@ -9747,13 +10034,6 @@ killable@^1.0.1: resolved "https://registry.yarnpkg.com/killable/-/killable-1.0.1.tgz#4c8ce441187a061c7474fb87ca08e2a638194892" integrity sha512-LzqtLKlUwirEUyl/nicirVmNiPvYs7l5n8wOPP7fyJVpUPkvCnW/vuiXGpylGUlnPDnB7311rARzAt3Mhswpjg== -kind-of@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-2.0.1.tgz#018ec7a4ce7e3a86cb9141be519d24c8faa981b5" - integrity sha1-AY7HpM5+OobLkUG+UZ0kyPqpgbU= - dependencies: - is-buffer "^1.0.2" - kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: version "3.2.2" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" @@ -9829,12 +10109,7 @@ lazy-ass@1.6.0: resolved "https://registry.yarnpkg.com/lazy-ass/-/lazy-ass-1.6.0.tgz#7999655e8646c17f089fdd187d150d3324d54513" integrity sha1-eZllXoZGwX8In90YfRUNMyTVRRM= -lazy-cache@^0.2.3: - version "0.2.7" - resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-0.2.7.tgz#7feddf2dcb6edb77d11ef1d117ab5ffdf0ab1b65" - integrity sha1-f+3fLctu23fRHvHRF6tf/fCrG2U= - -lazy-cache@^1.0.3, lazy-cache@^1.0.4: +lazy-cache@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" integrity sha1-odePw6UEdMuAhF07O24dpJpEbo4= @@ -10298,6 +10573,16 @@ mdast-util-to-hast@^10.0.0: unist-util-position "^3.0.0" unist-util-visit "^2.0.0" +mdn-data@2.0.28: + version "2.0.28" + resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.28.tgz#5ec48e7bef120654539069e1ae4ddc81ca490eba" + integrity sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g== + +mdn-data@2.0.30: + version "2.0.30" + resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.30.tgz#ce4df6f80af6cfbe218ecd5c552ba13c4dfa08cc" + integrity sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA== + mdn-data@2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.4.tgz#699b3c38ac6f1d728091a64650b65d388502fd5b" @@ -10413,15 +10698,6 @@ meow@^5.0.0, meow@^9.0.0: type-fest "^0.18.0" yargs-parser "^20.2.3" -merge-deep@^3.0.2: - version "3.0.3" - resolved "https://registry.yarnpkg.com/merge-deep/-/merge-deep-3.0.3.tgz#1a2b2ae926da8b2ae93a0ac15d90cd1922766003" - integrity sha512-qtmzAS6t6grwEkNrunqTBdn0qKwFgNWvlxUbAV8es9M7Ot1EbyApytCnvE0jALPa46ZpKDUo527kKiaWplmlFA== - dependencies: - arr-union "^3.1.0" - clone-deep "^0.2.4" - kind-of "^3.0.2" - merge-descriptors@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" @@ -10726,14 +11002,6 @@ mixin-deep@^1.2.0: for-in "^1.0.2" is-extendable "^1.0.1" -mixin-object@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/mixin-object/-/mixin-object-2.0.1.tgz#4fb949441dab182540f1fe035ba60e1947a5e57e" - integrity sha1-T7lJRB2rGCVA8f4DW6YOGUel5X4= - dependencies: - for-in "^0.1.3" - is-extendable "^0.1.1" - mkdirp-classic@^0.5.2: version "0.5.3" resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113" @@ -11022,6 +11290,11 @@ node-releases@^2.0.6: resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.6.tgz#8a7088c63a55e493845683ebf3c828d8c51c5503" integrity sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg== +node-releases@^2.0.8: + version "2.0.10" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.10.tgz#c311ebae3b6a148c89b1813fd7c4d3c024ef537f" + integrity sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w== + node-sass@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/node-sass/-/node-sass-8.0.0.tgz#c80d52148db0ce88610bcf1e1d112027393c13e1" @@ -14239,16 +14512,6 @@ sha.js@^2.4.0, sha.js@^2.4.8: inherits "^2.0.1" safe-buffer "^5.0.1" -shallow-clone@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-0.1.2.tgz#5909e874ba77106d73ac414cfec1ffca87d97060" - integrity sha1-WQnodLp3EG1zrEFM/sH/yofZcGA= - dependencies: - is-extendable "^0.1.1" - kind-of "^2.0.1" - lazy-cache "^0.2.3" - mixin-object "^2.0.1" - shebang-command@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" @@ -14444,6 +14707,11 @@ source-list-map@^2.0.0: resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.0.tgz#aaa47403f7b245a92fbc97ea08f250d6087ed085" integrity sha512-I2UmuJSRr/T8jisiROLU3A3ltr+swpniSmNPI4Ml3ZCX6tVnDsuZzK7F2hl5jTqbZBWCEKlj5HRQiPExXLgE8A== +source-map-js@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" + integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== + source-map-resolve@^0.5.0: version "0.5.2" resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.2.tgz#72e2cc34095543e43b2c62b2c4c10d4a9054f259" @@ -15006,10 +15274,10 @@ supports-color@^7.0.0, supports-color@^7.1.0: dependencies: has-flag "^4.0.0" -svg-parser@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/svg-parser/-/svg-parser-2.0.3.tgz#a38f2e4e5442986f7ecb554c11f1411cfcf8c2b9" - integrity sha512-fnCWiifNhK8i2Z7b9R5tbNahpxrRdAaQbnoxKlT2KrSCj9Kq/yBSgulCRgBJRhy1dPnSY5slg5ehPUnzpEcHlg== +svg-parser@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/svg-parser/-/svg-parser-2.0.4.tgz#fdc2e29e13951736140b76cb122c8ee6630eb6b5" + integrity sha512-e4hG1hRwoOdRb37cIMSgzNsxyzKfayW6VOflrwvR+/bzrkyxY/31WkbgnQpgtrNp1SdpJvpUAGTa/ZoiPNDuRQ== svgo@^0.7.2: version "0.7.2" @@ -15024,7 +15292,7 @@ svgo@^0.7.2: sax "~1.2.1" whet.extend "~0.9.9" -svgo@^1.0.0, svgo@^1.2.1: +svgo@^1.0.0: version "1.3.0" resolved "https://registry.yarnpkg.com/svgo/-/svgo-1.3.0.tgz#bae51ba95ded9a33a36b7c46ce9c359ae9154313" integrity sha512-MLfUA6O+qauLDbym+mMZgtXCGRfIxyQoeH6IKVcFslyODEe/ElJNwr0FohQ3xG4C6HK6bk3KYPPXwHVJk3V5NQ== @@ -15043,6 +15311,18 @@ svgo@^1.0.0, svgo@^1.2.1: unquote "~1.1.1" util.promisify "~1.0.0" +svgo@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/svgo/-/svgo-3.0.2.tgz#5e99eeea42c68ee0dc46aa16da093838c262fe0a" + integrity sha512-Z706C1U2pb1+JGP48fbazf3KxHrWOsLme6Rv7imFBn5EnuanDW1GPaA/P1/dvObE670JDePC3mnj0k0B7P0jjQ== + dependencies: + "@trysound/sax" "0.2.0" + commander "^7.2.0" + css-select "^5.1.0" + css-tree "^2.2.1" + csso "^5.0.5" + picocolors "^1.0.0" + symbol-observable@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804" @@ -15805,6 +16085,14 @@ upath@^1.1.1: resolved "https://registry.yarnpkg.com/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894" integrity sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg== +update-browserslist-db@^1.0.10: + version "1.0.10" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz#0f54b876545726f17d00cd9a2561e6dade943ff3" + integrity sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ== + dependencies: + escalade "^3.1.1" + picocolors "^1.0.0" + update-browserslist-db@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.5.tgz#be06a5eedd62f107b7c19eb5bcefb194411abf38" From 4e14daf3d43fcf125858e2b796b11f44d8dbf386 Mon Sep 17 00:00:00 2001 From: Andrey Myssak <40265277+andreymyssak@users.noreply.github.com> Date: Wed, 12 Apr 2023 23:49:03 +0600 Subject: [PATCH 08/36] Migrate from faker to @faker-js/faker (#594) (#655) Signed-off-by: Andrey Myssak Co-authored-by: Sergey Myssak --- package.json | 2 +- .../src/views/datagrid/additional_controls.js | 16 ++++++---- src-docs/src/views/datagrid/column_actions.js | 16 ++++++---- .../src/views/datagrid/column_cell_actions.js | 16 ++++++---- src-docs/src/views/datagrid/column_widths.js | 16 ++++++---- src-docs/src/views/datagrid/container.js | 16 ++++++---- .../src/views/datagrid/control_columns.js | 16 ++++++---- src-docs/src/views/datagrid/datagrid.js | 26 ++++++++------- src-docs/src/views/datagrid/focus.js | 10 +++--- src-docs/src/views/datagrid/footer_row.js | 14 ++++---- src-docs/src/views/datagrid/in_memory.js | 24 ++++++++------ .../views/datagrid/in_memory_enhancements.js | 24 ++++++++------ .../views/datagrid/in_memory_pagination.js | 24 ++++++++------ .../src/views/datagrid/in_memory_sorting.js | 24 ++++++++------ .../src/views/datagrid/row_height_options.js | 6 ++-- src-docs/src/views/datagrid/schema.js | 32 +++++++++++-------- src-docs/src/views/datagrid/styling.js | 16 ++++++---- src-docs/src/views/datagrid/virtualization.js | 22 ++++++------- .../datagrid/virtualization_constrained.js | 22 ++++++------- src-docs/src/views/image/float.js | 12 +++---- .../resizable_container_basic.js | 8 ++--- .../resizable_container_reset_values.js | 8 ++--- .../resizable_container_vertical.js | 8 ++--- .../resizable_panel_collapsible.js | 4 +-- .../resizable_panel_collapsible_options.js | 4 +-- .../resizable_panel_collapsible_responsive.js | 4 +-- yarn.lock | 10 +++--- 27 files changed, 222 insertions(+), 178 deletions(-) diff --git a/package.json b/package.json index 22586fd449..26d19c23a6 100644 --- a/package.json +++ b/package.json @@ -121,6 +121,7 @@ "vfile": "^4.2.0" }, "devDependencies": { + "@faker-js/faker": "^7.6.0", "@axe-core/puppeteer": "^4.1.1", "@babel/cli": "^7.10.5", "@babel/core": "^7.11.4", @@ -190,7 +191,6 @@ "eslint-plugin-react": "^7.21.3", "eslint-plugin-react-hooks": "^4.1.2", "expose-gc": "^1.0.0", - "faker": "^4.1.0", "file-loader": "^6.1.0", "findup": "^0.1.5", "fork-ts-checker-webpack-plugin": "^5.1.0", diff --git a/src-docs/src/views/datagrid/additional_controls.js b/src-docs/src/views/datagrid/additional_controls.js index 40e003db89..eb91b4a476 100644 --- a/src-docs/src/views/datagrid/additional_controls.js +++ b/src-docs/src/views/datagrid/additional_controls.js @@ -10,7 +10,7 @@ */ import React, { useState, useCallback, Fragment } from 'react'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; import { OuiDataGrid, @@ -40,13 +40,17 @@ const data = []; for (let i = 1; i < 20; i++) { data.push({ - name: fake('{{name.lastName}}, {{name.firstName}} {{name.suffix}}'), - email: fake('{{internet.email}}'), + name: faker.helpers.fake( + '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + ), + email: faker.helpers.fake('{{internet.email}}'), city: ( - {fake('{{address.city}}')} + + {faker.helpers.fake('{{address.city}}')} + ), - country: fake('{{address.country}}'), - account: fake('{{finance.account}}'), + country: faker.helpers.fake('{{address.country}}'), + account: faker.helpers.fake('{{finance.account}}'), }); } diff --git a/src-docs/src/views/datagrid/column_actions.js b/src-docs/src/views/datagrid/column_actions.js index bd6e928688..faaffe6b5d 100644 --- a/src-docs/src/views/datagrid/column_actions.js +++ b/src-docs/src/views/datagrid/column_actions.js @@ -10,7 +10,7 @@ */ import React, { useState, useCallback } from 'react'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; import { OuiDataGrid, OuiAvatar } from '../../../../src/components/'; @@ -68,14 +68,16 @@ for (let i = 1; i < 5; i++) { avatar: ( ), - name: fake('{{name.lastName}}, {{name.firstName}} {{name.suffix}}'), - email: fake('{{internet.email}}'), - city: fake('{{address.city}}'), - country: fake('{{address.country}}'), - account: fake('{{finance.account}}'), + name: faker.helpers.fake( + '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + ), + email: faker.helpers.fake('{{internet.email}}'), + city: faker.helpers.fake('{{address.city}}'), + country: faker.helpers.fake('{{address.country}}'), + account: faker.helpers.fake('{{finance.account}}'), }); } diff --git a/src-docs/src/views/datagrid/column_cell_actions.js b/src-docs/src/views/datagrid/column_cell_actions.js index 572486bc0d..96ca5553a6 100644 --- a/src-docs/src/views/datagrid/column_cell_actions.js +++ b/src-docs/src/views/datagrid/column_cell_actions.js @@ -10,7 +10,7 @@ */ import React, { useState, useCallback } from 'react'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; import { OuiDataGrid, OuiAvatar } from '../../../../src/components/'; @@ -115,14 +115,16 @@ for (let i = 1; i < 5; i++) { avatar: ( ), - name: fake('{{name.lastName}}, {{name.firstName}} {{name.suffix}}'), - email: fake('{{internet.email}}'), - city: fake('{{address.city}}'), - country: fake('{{address.country}}'), - account: fake('{{finance.account}}'), + name: faker.helpers.fake( + '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + ), + email: faker.helpers.fake('{{internet.email}}'), + city: faker.helpers.fake('{{address.city}}'), + country: faker.helpers.fake('{{address.country}}'), + account: faker.helpers.fake('{{finance.account}}'), }); } diff --git a/src-docs/src/views/datagrid/column_widths.js b/src-docs/src/views/datagrid/column_widths.js index 02608b5484..b7049a5757 100644 --- a/src-docs/src/views/datagrid/column_widths.js +++ b/src-docs/src/views/datagrid/column_widths.js @@ -10,7 +10,7 @@ */ import React, { useState, useCallback } from 'react'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; import { OuiDataGrid, OuiAvatar } from '../../../../src/components/'; @@ -45,14 +45,16 @@ for (let i = 1; i < 5; i++) { avatar: ( ), - name: fake('{{name.lastName}}, {{name.firstName}} {{name.suffix}}'), - email: fake('{{internet.email}}'), - city: fake('{{address.city}}'), - country: fake('{{address.country}}'), - account: fake('{{finance.account}}'), + name: faker.helpers.fake( + '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + ), + email: faker.helpers.fake('{{internet.email}}'), + city: faker.helpers.fake('{{address.city}}'), + country: faker.helpers.fake('{{address.country}}'), + account: faker.helpers.fake('{{finance.account}}'), }); } diff --git a/src-docs/src/views/datagrid/container.js b/src-docs/src/views/datagrid/container.js index bd8d690e8b..b55665f8c8 100644 --- a/src-docs/src/views/datagrid/container.js +++ b/src-docs/src/views/datagrid/container.js @@ -10,7 +10,7 @@ */ import React, { useState, useCallback } from 'react'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; import { OuiDataGrid, OuiPanel, OuiLink } from '../../../../src/components/'; @@ -36,13 +36,17 @@ const data = []; for (let i = 1; i < 20; i++) { data.push({ - name: fake('{{name.lastName}}, {{name.firstName}} {{name.suffix}}'), - email: fake('{{internet.email}}'), + name: faker.helpers.fake( + '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + ), + email: faker.helpers.fake('{{internet.email}}'), city: ( - {fake('{{address.city}}')} + + {faker.helpers.fake('{{address.city}}')} + ), - country: fake('{{address.country}}'), - account: fake('{{finance.account}}'), + country: faker.helpers.fake('{{address.country}}'), + account: faker.helpers.fake('{{finance.account}}'), }); } diff --git a/src-docs/src/views/datagrid/control_columns.js b/src-docs/src/views/datagrid/control_columns.js index 972176b9aa..7420823e54 100644 --- a/src-docs/src/views/datagrid/control_columns.js +++ b/src-docs/src/views/datagrid/control_columns.js @@ -17,7 +17,7 @@ import React, { useState, Fragment, } from 'react'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; import { OuiDataGrid, @@ -72,14 +72,16 @@ for (let i = 1; i < 500; i++) { avatar: ( ), - name: fake('{{name.lastName}}, {{name.firstName}} {{name.suffix}}'), - email: fake('{{internet.email}}'), - city: fake('{{address.city}}'), - country: fake('{{address.country}}'), - account: fake('{{finance.account}}'), + name: faker.helpers.fake( + '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + ), + email: faker.helpers.fake('{{internet.email}}'), + city: faker.helpers.fake('{{address.city}}'), + country: faker.helpers.fake('{{address.country}}'), + account: faker.helpers.fake('{{finance.account}}'), }); } diff --git a/src-docs/src/views/datagrid/datagrid.js b/src-docs/src/views/datagrid/datagrid.js index 68873087a5..35f717f13a 100644 --- a/src-docs/src/views/datagrid/datagrid.js +++ b/src-docs/src/views/datagrid/datagrid.js @@ -19,7 +19,7 @@ import React, { useContext, useRef, } from 'react'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; import { OuiDataGrid, @@ -36,31 +36,33 @@ const DataContext = createContext(); const raw_data = []; for (let i = 1; i < 100; i++) { - const email = fake('{{internet.email}}'); - const name = fake('{{name.lastName}}, {{name.firstName}}'); - const suffix = fake('{{name.suffix}}'); + const email = faker.helpers.fake('{{internet.email}}'); + const name = faker.helpers.fake('{{name.lastName}}, {{name.firstName}}'); + const suffix = faker.helpers.fake('{{name.suffix}}'); raw_data.push({ name: { formatted: `${name} ${suffix}`, raw: name, }, email: { - formatted: {fake('{{internet.email}}')}, + formatted: ( + {faker.helpers.fake('{{internet.email}}')} + ), raw: email, }, location: ( - {`${fake('{{address.city}}')}, `} + {`${faker.helpers.fake('{{address.city}}')}, `} - {fake('{{address.country}}')} + {faker.helpers.fake('{{address.country}}')} ), - date: fake('{{date.past}}'), - account: fake('{{finance.account}}'), - amount: fake('${{commerce.price}}'), - phone: fake('{{phone.phoneNumber}}'), - version: fake('{{system.semver}}'), + date: faker.helpers.fake('{{date.past}}'), + account: faker.helpers.fake('{{finance.account}}'), + amount: faker.helpers.fake('${{commerce.price}}'), + phone: faker.helpers.fake('{{phone.number}}'), + version: faker.helpers.fake('{{system.semver}}'), }); } diff --git a/src-docs/src/views/datagrid/focus.js b/src-docs/src/views/datagrid/focus.js index 171d29160d..daba7eb177 100644 --- a/src-docs/src/views/datagrid/focus.js +++ b/src-docs/src/views/datagrid/focus.js @@ -11,7 +11,7 @@ /* eslint-disable jsx-a11y/accessible-emoji */ import React, { useState, useCallback, useMemo } from 'react'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; import { OuiDataGrid, @@ -30,17 +30,17 @@ const data = []; for (let i = 0; i < 10; i++) { data.push([ - {fake('{{name.firstName}}')}, - {fake('{{name.firstName}}')}, + {faker.helpers.fake('{{name.firstName}}')}, + {faker.helpers.fake('{{name.firstName}}')}, - {fake('{{internet.email}}')} + {faker.helpers.fake('{{internet.email}}')} , - {fake('{{internet.email}}')} + {faker.helpers.fake('{{internet.email}}')} , diff --git a/src-docs/src/views/datagrid/footer_row.js b/src-docs/src/views/datagrid/footer_row.js index 5b3f2ccda7..07e9b498f8 100644 --- a/src-docs/src/views/datagrid/footer_row.js +++ b/src-docs/src/views/datagrid/footer_row.js @@ -10,7 +10,7 @@ */ import React, { useCallback, useEffect, useMemo, useState } from 'react'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; import { OuiDataGrid, @@ -23,11 +23,13 @@ const raw_data = []; for (let i = 1; i < 20; i++) { raw_data.push({ - name: fake('{{name.lastName}}, {{name.firstName}} {{name.suffix}}'), - date: fake('{{date.past}}'), - amount: fake('${{commerce.price}}'), - phone: fake('{{phone.phoneNumber}}'), - version: fake('{{system.semver}}'), + name: faker.helpers.fake( + '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + ), + date: faker.helpers.fake('{{date.past}}'), + amount: faker.helpers.fake('${{commerce.price}}'), + phone: faker.helpers.fake('{{phone.number}}'), + version: faker.helpers.fake('{{system.semver}}'), }); } diff --git a/src-docs/src/views/datagrid/in_memory.js b/src-docs/src/views/datagrid/in_memory.js index 10cd9e0a58..041cfc9d8b 100644 --- a/src-docs/src/views/datagrid/in_memory.js +++ b/src-docs/src/views/datagrid/in_memory.js @@ -10,7 +10,7 @@ */ import React, { Fragment, useCallback, useMemo, useState } from 'react'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; import { OuiDataGrid, OuiLink } from '../../../../src/components/'; @@ -46,21 +46,25 @@ const raw_data = []; for (let i = 1; i < 100; i++) { raw_data.push({ - name: fake('{{name.lastName}}, {{name.firstName}} {{name.suffix}}'), - email: {fake('{{internet.email}}')}, + name: faker.helpers.fake( + '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + ), + email: ( + {faker.helpers.fake('{{internet.email}}')} + ), location: ( - {`${fake('{{address.city}}')}, `} + {`${faker.helpers.fake('{{address.city}}')}, `} - {fake('{{address.country}}')} + {faker.helpers.fake('{{address.country}}')} ), - date: fake('{{date.past}}'), - account: fake('{{finance.account}}'), - amount: fake('${{commerce.price}}'), - phone: fake('{{phone.phoneNumber}}'), - version: fake('{{system.semver}}'), + date: faker.helpers.fake('{{date.past}}'), + account: faker.helpers.fake('{{finance.account}}'), + amount: faker.helpers.fake('${{commerce.price}}'), + phone: faker.helpers.fake('{{phone.number}}'), + version: faker.helpers.fake('{{system.semver}}'), }); } diff --git a/src-docs/src/views/datagrid/in_memory_enhancements.js b/src-docs/src/views/datagrid/in_memory_enhancements.js index efb45f7b5f..9b47a5dd78 100644 --- a/src-docs/src/views/datagrid/in_memory_enhancements.js +++ b/src-docs/src/views/datagrid/in_memory_enhancements.js @@ -10,7 +10,7 @@ */ import React, { Fragment, useCallback, useMemo, useState } from 'react'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; import { OuiDataGrid, OuiLink } from '../../../../src/components/'; @@ -45,21 +45,25 @@ const raw_data = []; for (let i = 1; i < 100; i++) { raw_data.push({ - name: fake('{{name.lastName}}, {{name.firstName}} {{name.suffix}}'), - email: {fake('{{internet.email}}')}, + name: faker.helpers.fake( + '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + ), + email: ( + {faker.helpers.fake('{{internet.email}}')} + ), location: ( - {`${fake('{{address.city}}')}, `} + {`${faker.helpers.fake('{{address.city}}')}, `} - {fake('{{address.country}}')} + {faker.helpers.fake('{{address.country}}')} ), - date: fake('{{date.past}}'), - account: fake('{{finance.account}}'), - amount: fake('${{commerce.price}}'), - phone: fake('{{phone.phoneNumber}}'), - version: fake('{{system.semver}}'), + date: faker.helpers.fake('{{date.past}}'), + account: faker.helpers.fake('{{finance.account}}'), + amount: faker.helpers.fake('${{commerce.price}}'), + phone: faker.helpers.fake('{{phone.number}}'), + version: faker.helpers.fake('{{system.semver}}'), }); } diff --git a/src-docs/src/views/datagrid/in_memory_pagination.js b/src-docs/src/views/datagrid/in_memory_pagination.js index 15fed5dfe5..358380ab05 100644 --- a/src-docs/src/views/datagrid/in_memory_pagination.js +++ b/src-docs/src/views/datagrid/in_memory_pagination.js @@ -10,7 +10,7 @@ */ import React, { Fragment, useCallback, useMemo, useState } from 'react'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; import { OuiDataGrid, OuiLink } from '../../../../src/components/'; @@ -45,21 +45,25 @@ const raw_data = []; for (let i = 1; i < 100; i++) { raw_data.push({ - name: fake('{{name.lastName}}, {{name.firstName}} {{name.suffix}}'), - email: {fake('{{internet.email}}')}, + name: faker.helpers.fake( + '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + ), + email: ( + {faker.helpers.fake('{{internet.email}}')} + ), location: ( - {`${fake('{{address.city}}')}, `} + {`${faker.helpers.fake('{{address.city}}')}, `} - {fake('{{address.country}}')} + {faker.helpers.fake('{{address.country}}')} ), - date: fake('{{date.past}}'), - account: fake('{{finance.account}}'), - amount: fake('${{commerce.price}}'), - phone: fake('{{phone.phoneNumber}}'), - version: fake('{{system.semver}}'), + date: faker.helpers.fake('{{date.past}}'), + account: faker.helpers.fake('{{finance.account}}'), + amount: faker.helpers.fake('${{commerce.price}}'), + phone: faker.helpers.fake('{{phone.number}}'), + version: faker.helpers.fake('{{system.semver}}'), }); } diff --git a/src-docs/src/views/datagrid/in_memory_sorting.js b/src-docs/src/views/datagrid/in_memory_sorting.js index 0a47f5c5bf..31b088260f 100644 --- a/src-docs/src/views/datagrid/in_memory_sorting.js +++ b/src-docs/src/views/datagrid/in_memory_sorting.js @@ -10,7 +10,7 @@ */ import React, { Fragment, useCallback, useMemo, useState } from 'react'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; import { OuiDataGrid, OuiLink } from '../../../../src/components/'; @@ -45,21 +45,25 @@ const raw_data = []; for (let i = 1; i < 100; i++) { raw_data.push({ - name: fake('{{name.lastName}}, {{name.firstName}} {{name.suffix}}'), - email: {fake('{{internet.email}}')}, + name: faker.helpers.fake( + '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + ), + email: ( + {faker.helpers.fake('{{internet.email}}')} + ), location: ( - {`${fake('{{address.city}}')}, `} + {`${faker.helpers.fake('{{address.city}}')}, `} - {fake('{{address.country}}')} + {faker.helpers.fake('{{address.country}}')} ), - date: fake('{{date.past}}'), - account: fake('{{finance.account}}'), - amount: fake('${{commerce.price}}'), - phone: fake('{{phone.phoneNumber}}'), - version: fake('{{system.semver}}'), + date: faker.helpers.fake('{{date.past}}'), + account: faker.helpers.fake('{{finance.account}}'), + amount: faker.helpers.fake('${{commerce.price}}'), + phone: faker.helpers.fake('{{phone.number}}'), + version: faker.helpers.fake('{{system.semver}}'), }); } diff --git a/src-docs/src/views/datagrid/row_height_options.js b/src-docs/src/views/datagrid/row_height_options.js index 41a0f27d96..5faff13f37 100644 --- a/src-docs/src/views/datagrid/row_height_options.js +++ b/src-docs/src/views/datagrid/row_height_options.js @@ -17,7 +17,7 @@ import React, { useMemo, useEffect, } from 'react'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; import { OuiDataGrid, OuiText } from '../../../../src/components/'; @@ -48,8 +48,8 @@ function RenderCellValue({ rowIndex, columnId }) { if (data[rowIndex] == null) { data[rowIndex] = { - name: fake('{{lorem.text}}'), - text: fake('{{lorem.text}}'), + name: faker.helpers.fake('{{lorem.text}}'), + text: faker.helpers.fake('{{lorem.text}}'), }; } diff --git a/src-docs/src/views/datagrid/schema.js b/src-docs/src/views/datagrid/schema.js index d763c401be..0e2379f4cb 100644 --- a/src-docs/src/views/datagrid/schema.js +++ b/src-docs/src/views/datagrid/schema.js @@ -10,7 +10,7 @@ */ import React, { useState, useCallback } from 'react'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; import { OuiDataGrid, @@ -55,29 +55,35 @@ for (let i = 1; i < 5; i++) { franchise = 'Oranges'; json = JSON.stringify([ { - default: fake('{{name.lastName}}, {{name.firstName}} {{name.suffix}}'), - boolean: fake('{{random.boolean}}'), - numeric: fake('{{finance.account}}'), - currency: fake('${{finance.amount}}'), - date: fake('{{date.past}}'), - custom: fake('{{date.past}}'), + default: faker.helpers.fake( + '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + ), + boolean: faker.helpers.fake('{{datatype.boolean}}'), + numeric: faker.helpers.fake('{{finance.account}}'), + currency: faker.helpers.fake('${{finance.amount}}'), + date: faker.helpers.fake('{{date.past}}'), + custom: faker.helpers.fake('{{date.past}}'), }, ]); } else { franchise = 'Apples'; json = JSON.stringify([ { - name: fake('{{name.lastName}}, {{name.firstName}} {{name.suffix}}'), + name: faker.helpers.fake( + '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + ), }, ]); } storeData.push({ - default: fake('{{name.lastName}}, {{name.firstName}} {{name.suffix}}'), - boolean: fake('{{random.boolean}}'), - numeric: fake('{{finance.account}}'), - currency: fake('${{finance.amount}}'), - datetime: fake('{{date.past}}'), + default: faker.helpers.fake( + '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + ), + boolean: faker.helpers.fake('{{datatype.boolean}}'), + numeric: faker.helpers.fake('{{finance.account}}'), + currency: faker.helpers.fake('${{finance.amount}}'), + datetime: faker.helpers.fake('{{date.past}}'), json: json, custom: franchise, }); diff --git a/src-docs/src/views/datagrid/styling.js b/src-docs/src/views/datagrid/styling.js index 483484f562..4e7390dd99 100644 --- a/src-docs/src/views/datagrid/styling.js +++ b/src-docs/src/views/datagrid/styling.js @@ -10,7 +10,7 @@ */ import React, { useState, Fragment, useCallback } from 'react'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; import { OuiDataGrid, @@ -54,14 +54,16 @@ for (let i = 1; i < 6; i++) { avatar: ( ), - name: fake('{{name.lastName}}, {{name.firstName}} {{name.suffix}}'), - email: fake('{{internet.email}}'), - city: fake('{{address.city}}'), - country: fake('{{address.country}}'), - account: fake('{{finance.account}}'), + name: faker.helpers.fake( + '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + ), + email: faker.helpers.fake('{{internet.email}}'), + city: faker.helpers.fake('{{address.city}}'), + country: faker.helpers.fake('{{address.country}}'), + account: faker.helpers.fake('{{finance.account}}'), }); } diff --git a/src-docs/src/views/datagrid/virtualization.js b/src-docs/src/views/datagrid/virtualization.js index 2a61277555..004316c6b1 100644 --- a/src-docs/src/views/datagrid/virtualization.js +++ b/src-docs/src/views/datagrid/virtualization.js @@ -18,7 +18,7 @@ import React, { useMemo, useEffect, } from 'react'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; import { OuiDataGrid, @@ -77,25 +77,25 @@ function RenderCellValue({ rowIndex, columnId }) { }, [adjustMountedCellCount]); if (data[rowIndex] == null) { - const email = fake('{{internet.email}}'); - const name = fake('{{name.lastName}}, {{name.firstName}}'); - const suffix = fake('{{name.suffix}}'); + const email = faker.helpers.fake('{{internet.email}}'); + const name = faker.helpers.fake('{{name.lastName}}, {{name.firstName}}'); + const suffix = faker.helpers.fake('{{name.suffix}}'); data[rowIndex] = { name: `${name} ${suffix}`, email: {email}, location: ( - {`${fake('{{address.city}}')}, `} + {`${faker.helpers.fake('{{address.city}}')}, `} - {fake('{{address.country}}')} + {faker.helpers.fake('{{address.country}}')} ), - date: fake('{{date.past}}'), - account: fake('{{finance.account}}'), - amount: fake('${{commerce.price}}'), - phone: fake('{{phone.phoneNumber}}'), - version: fake('{{system.semver}}'), + date: faker.helpers.fake('{{date.past}}'), + account: faker.helpers.fake('{{finance.account}}'), + amount: faker.helpers.fake('${{commerce.price}}'), + phone: faker.helpers.fake('{{phone.number}}'), + version: faker.helpers.fake('{{system.semver}}'), }; } diff --git a/src-docs/src/views/datagrid/virtualization_constrained.js b/src-docs/src/views/datagrid/virtualization_constrained.js index a078a56049..e26f90613b 100644 --- a/src-docs/src/views/datagrid/virtualization_constrained.js +++ b/src-docs/src/views/datagrid/virtualization_constrained.js @@ -18,7 +18,7 @@ import React, { useMemo, useEffect, } from 'react'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; import { OuiDataGrid, @@ -75,25 +75,25 @@ function RenderCellValue({ rowIndex, columnId }) { }, [adjustMountedCellCount]); if (data[rowIndex] == null) { - const email = fake('{{internet.email}}'); - const name = fake('{{name.lastName}}, {{name.firstName}}'); - const suffix = fake('{{name.suffix}}'); + const email = faker.helpers.fake('{{internet.email}}'); + const name = faker.helpers.fake('{{name.lastName}}, {{name.firstName}}'); + const suffix = faker.helpers.fake('{{name.suffix}}'); data[rowIndex] = { name: `${name} ${suffix}`, email: {email}, location: ( - {`${fake('{{address.city}}')}, `} + {`${faker.helpers.fake('{{address.city}}')}, `} - {fake('{{address.country}}')} + {faker.helpers.fake('{{address.country}}')} ), - date: fake('{{date.past}}'), - account: fake('{{finance.account}}'), - amount: fake('${{commerce.price}}'), - phone: fake('{{phone.phoneNumber}}'), - version: fake('{{system.semver}}'), + date: faker.helpers.fake('{{date.past}}'), + account: faker.helpers.fake('{{finance.account}}'), + amount: faker.helpers.fake('${{commerce.price}}'), + phone: faker.helpers.fake('{{phone.number}}'), + version: faker.helpers.fake('{{system.semver}}'), }; } diff --git a/src-docs/src/views/image/float.js b/src-docs/src/views/image/float.js index 34529487c8..6a258e5df9 100644 --- a/src-docs/src/views/image/float.js +++ b/src-docs/src/views/image/float.js @@ -12,7 +12,7 @@ import React from 'react'; import { OuiImage, OuiText } from '../../../../src/components'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; export default () => ( @@ -26,9 +26,9 @@ export default () => ( alt="Random nature image" src="https://picsum.photos/800/500" /> -

{fake('{{lorem.paragraphs}}')}

-

{fake('{{lorem.paragraphs}}')}

-

{fake('{{lorem.paragraphs}}')}

+

{faker.helpers.fake('{{lorem.paragraphs}}')}

+

{faker.helpers.fake('{{lorem.paragraphs}}')}

+

{faker.helpers.fake('{{lorem.paragraphs}}')}

( alt="Random nature image" src="https://picsum.photos/300/300" /> -

{fake('{{lorem.paragraphs}}')}

-

{fake('{{lorem.paragraphs}}')}

+

{faker.helpers.fake('{{lorem.paragraphs}}')}

+

{faker.helpers.fake('{{lorem.paragraphs}}')}

); diff --git a/src-docs/src/views/resizable_container/resizable_container_basic.js b/src-docs/src/views/resizable_container/resizable_container_basic.js index 2cdaad1921..4e52362c99 100644 --- a/src-docs/src/views/resizable_container/resizable_container_basic.js +++ b/src-docs/src/views/resizable_container/resizable_container_basic.js @@ -11,13 +11,13 @@ import React from 'react'; import { OuiText, OuiResizableContainer } from '../../../../src/components'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; const text = ( <> -

{fake('{{lorem.paragraphs}}')}

-

{fake('{{lorem.paragraphs}}')}

-

{fake('{{lorem.paragraphs}}')}

+

{faker.helpers.fake('{{lorem.paragraphs}}')}

+

{faker.helpers.fake('{{lorem.paragraphs}}')}

+

{faker.helpers.fake('{{lorem.paragraphs}}')}

); diff --git a/src-docs/src/views/resizable_container/resizable_container_reset_values.js b/src-docs/src/views/resizable_container/resizable_container_reset_values.js index 581cda9850..97dc684558 100644 --- a/src-docs/src/views/resizable_container/resizable_container_reset_values.js +++ b/src-docs/src/views/resizable_container/resizable_container_reset_values.js @@ -19,13 +19,13 @@ import { OuiButton, OuiSpacer, } from '../../../../src/components'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; const text = ( <> -

{fake('{{lorem.paragraphs}}')}

-

{fake('{{lorem.paragraphs}}')}

-

{fake('{{lorem.paragraphs}}')}

+

{faker.helpers.fake('{{lorem.paragraphs}}')}

+

{faker.helpers.fake('{{lorem.paragraphs}}')}

+

{faker.helpers.fake('{{lorem.paragraphs}}')}

); diff --git a/src-docs/src/views/resizable_container/resizable_container_vertical.js b/src-docs/src/views/resizable_container/resizable_container_vertical.js index 7295a015b3..64cb11944e 100644 --- a/src-docs/src/views/resizable_container/resizable_container_vertical.js +++ b/src-docs/src/views/resizable_container/resizable_container_vertical.js @@ -12,13 +12,13 @@ import React from 'react'; import { OuiText, OuiResizableContainer } from '../../../../src/components'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; const text = ( <> -

{fake('{{lorem.paragraphs}}')}

-

{fake('{{lorem.paragraphs}}')}

-

{fake('{{lorem.paragraphs}}')}

+

{faker.helpers.fake('{{lorem.paragraphs}}')}

+

{faker.helpers.fake('{{lorem.paragraphs}}')}

+

{faker.helpers.fake('{{lorem.paragraphs}}')}

); diff --git a/src-docs/src/views/resizable_container/resizable_panel_collapsible.js b/src-docs/src/views/resizable_container/resizable_panel_collapsible.js index 9a69b9290a..0617864e25 100644 --- a/src-docs/src/views/resizable_container/resizable_panel_collapsible.js +++ b/src-docs/src/views/resizable_container/resizable_panel_collapsible.js @@ -20,12 +20,12 @@ import { OuiSpacer, OuiPage, } from '../../../../src/components'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; const texts = []; for (let i = 0; i < 4; i++) { - texts.push(

{fake('{{lorem.paragraph}}')}

); + texts.push(

{faker.helpers.fake('{{lorem.paragraph}}')}

); } export default () => { diff --git a/src-docs/src/views/resizable_container/resizable_panel_collapsible_options.js b/src-docs/src/views/resizable_container/resizable_panel_collapsible_options.js index 2f6cdb154e..0c520f65a1 100644 --- a/src-docs/src/views/resizable_container/resizable_panel_collapsible_options.js +++ b/src-docs/src/views/resizable_container/resizable_panel_collapsible_options.js @@ -20,12 +20,12 @@ import { OuiText, OuiPage, } from '../../../../src/components'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; const texts = []; for (let i = 0; i < 4; i++) { - texts.push(

{fake('{{lorem.paragraph}}')}

); + texts.push(

{faker.helpers.fake('{{lorem.paragraph}}')}

); } export default () => { diff --git a/src-docs/src/views/resizable_container/resizable_panel_collapsible_responsive.js b/src-docs/src/views/resizable_container/resizable_panel_collapsible_responsive.js index 4adf45cc57..290d5a00a7 100644 --- a/src-docs/src/views/resizable_container/resizable_panel_collapsible_responsive.js +++ b/src-docs/src/views/resizable_container/resizable_panel_collapsible_responsive.js @@ -21,12 +21,12 @@ import { OuiPage, } from '../../../../src/components'; import { useIsWithinBreakpoints } from '../../../../src/services'; -import { fake } from 'faker'; +import { faker } from '@faker-js/faker'; const texts = []; for (let i = 0; i < 4; i++) { - texts.push(

{fake('{{lorem.paragraph}}')}

); + texts.push(

{faker.helpers.fake('{{lorem.paragraph}}')}

); } export default () => { diff --git a/yarn.lock b/yarn.lock index f8c13aabbb..4095aab34f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1325,6 +1325,11 @@ minimatch "^3.0.4" strip-json-comments "^3.1.1" +"@faker-js/faker@^7.6.0": + version "7.6.0" + resolved "https://registry.yarnpkg.com/@faker-js/faker/-/faker-7.6.0.tgz#9ea331766084288634a9247fcd8b84f16ff4ba07" + integrity sha512-XK6BTq1NDMo9Xqw/YkYyGjSsg44fbNwYRx7QK2CuoQgyy+f1rrTDHoExVM5PsyXCtfl2vs2vVJ0MN0yN6LppRw== + "@fisker/parse-srcset@1.0.2": version "1.0.2" resolved "https://registry.yarnpkg.com/@fisker/parse-srcset/-/parse-srcset-1.0.2.tgz#6e051549fbf77ab5febda5176720e85aea70e80e" @@ -6899,11 +6904,6 @@ extsprintf@^1.2.0: resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" integrity sha1-4mifjzVvrWLMplo6kcXfX5VRaS8= -faker@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/faker/-/faker-4.1.0.tgz#1e45bbbecc6774b3c195fad2835109c6d748cc3f" - integrity sha1-HkW7vsxndLPBlfrSg1EJxtdIzD8= - fast-deep-equal@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" From f7d7efedb06024ccc1bacbbd5e417e122fd50665 Mon Sep 17 00:00:00 2001 From: Andrey Myssak <40265277+andreymyssak@users.noreply.github.com> Date: Wed, 14 Jun 2023 22:19:56 +0600 Subject: [PATCH 09/36] Bump @faker-js/faker to v8 (#594) (#768) Signed-off-by: Andrey Myssak --- package.json | 2 +- src-docs/src/views/datagrid/additional_controls.js | 8 ++++---- src-docs/src/views/datagrid/column_actions.js | 10 +++++----- src-docs/src/views/datagrid/column_cell_actions.js | 10 +++++----- src-docs/src/views/datagrid/column_widths.js | 10 +++++----- src-docs/src/views/datagrid/container.js | 8 ++++---- src-docs/src/views/datagrid/control_columns.js | 10 +++++----- src-docs/src/views/datagrid/datagrid.js | 10 +++++----- src-docs/src/views/datagrid/focus.js | 4 ++-- src-docs/src/views/datagrid/footer_row.js | 2 +- src-docs/src/views/datagrid/in_memory.js | 8 ++++---- .../src/views/datagrid/in_memory_enhancements.js | 8 ++++---- src-docs/src/views/datagrid/in_memory_pagination.js | 8 ++++---- src-docs/src/views/datagrid/in_memory_sorting.js | 8 ++++---- src-docs/src/views/datagrid/schema.js | 10 +++++----- src-docs/src/views/datagrid/styling.js | 10 +++++----- src-docs/src/views/datagrid/virtualization.js | 12 +++++++----- .../src/views/datagrid/virtualization_constrained.js | 12 +++++++----- yarn.lock | 8 ++++---- 19 files changed, 81 insertions(+), 77 deletions(-) diff --git a/package.json b/package.json index 26d19c23a6..1f0a1e7d77 100644 --- a/package.json +++ b/package.json @@ -121,7 +121,7 @@ "vfile": "^4.2.0" }, "devDependencies": { - "@faker-js/faker": "^7.6.0", + "@faker-js/faker": "^8.0.1", "@axe-core/puppeteer": "^4.1.1", "@babel/cli": "^7.10.5", "@babel/core": "^7.11.4", diff --git a/src-docs/src/views/datagrid/additional_controls.js b/src-docs/src/views/datagrid/additional_controls.js index eb91b4a476..9530efab28 100644 --- a/src-docs/src/views/datagrid/additional_controls.js +++ b/src-docs/src/views/datagrid/additional_controls.js @@ -41,16 +41,16 @@ const data = []; for (let i = 1; i < 20; i++) { data.push({ name: faker.helpers.fake( - '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + '{{person.lastName}}, {{person.firstName}} {{person.suffix}}' ), email: faker.helpers.fake('{{internet.email}}'), city: ( - {faker.helpers.fake('{{address.city}}')} + {faker.helpers.fake('{{location.city}}')} ), - country: faker.helpers.fake('{{address.country}}'), - account: faker.helpers.fake('{{finance.account}}'), + country: faker.helpers.fake('{{location.country}}'), + account: faker.helpers.fake('{{finance.accountNumber}}'), }); } diff --git a/src-docs/src/views/datagrid/column_actions.js b/src-docs/src/views/datagrid/column_actions.js index faaffe6b5d..b198734e09 100644 --- a/src-docs/src/views/datagrid/column_actions.js +++ b/src-docs/src/views/datagrid/column_actions.js @@ -68,16 +68,16 @@ for (let i = 1; i < 5; i++) { avatar: ( ), name: faker.helpers.fake( - '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + '{{person.lastName}}, {{person.firstName}} {{person.suffix}}' ), email: faker.helpers.fake('{{internet.email}}'), - city: faker.helpers.fake('{{address.city}}'), - country: faker.helpers.fake('{{address.country}}'), - account: faker.helpers.fake('{{finance.account}}'), + city: faker.helpers.fake('{{location.city}}'), + country: faker.helpers.fake('{{location.country}}'), + account: faker.helpers.fake('{{finance.accountNumber}}'), }); } diff --git a/src-docs/src/views/datagrid/column_cell_actions.js b/src-docs/src/views/datagrid/column_cell_actions.js index 96ca5553a6..431950bf03 100644 --- a/src-docs/src/views/datagrid/column_cell_actions.js +++ b/src-docs/src/views/datagrid/column_cell_actions.js @@ -115,16 +115,16 @@ for (let i = 1; i < 5; i++) { avatar: ( ), name: faker.helpers.fake( - '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + '{{person.lastName}}, {{person.firstName}} {{person.suffix}}' ), email: faker.helpers.fake('{{internet.email}}'), - city: faker.helpers.fake('{{address.city}}'), - country: faker.helpers.fake('{{address.country}}'), - account: faker.helpers.fake('{{finance.account}}'), + city: faker.helpers.fake('{{location.city}}'), + country: faker.helpers.fake('{{location.country}}'), + account: faker.helpers.fake('{{finance.accountNumber}}'), }); } diff --git a/src-docs/src/views/datagrid/column_widths.js b/src-docs/src/views/datagrid/column_widths.js index b7049a5757..1f5c43b2ee 100644 --- a/src-docs/src/views/datagrid/column_widths.js +++ b/src-docs/src/views/datagrid/column_widths.js @@ -45,16 +45,16 @@ for (let i = 1; i < 5; i++) { avatar: ( ), name: faker.helpers.fake( - '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + '{{person.lastName}}, {{person.firstName}} {{person.suffix}}' ), email: faker.helpers.fake('{{internet.email}}'), - city: faker.helpers.fake('{{address.city}}'), - country: faker.helpers.fake('{{address.country}}'), - account: faker.helpers.fake('{{finance.account}}'), + city: faker.helpers.fake('{{location.city}}'), + country: faker.helpers.fake('{{location.country}}'), + account: faker.helpers.fake('{{finance.accountNumber}}'), }); } diff --git a/src-docs/src/views/datagrid/container.js b/src-docs/src/views/datagrid/container.js index b55665f8c8..c8c1cfdffe 100644 --- a/src-docs/src/views/datagrid/container.js +++ b/src-docs/src/views/datagrid/container.js @@ -37,16 +37,16 @@ const data = []; for (let i = 1; i < 20; i++) { data.push({ name: faker.helpers.fake( - '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + '{{person.lastName}}, {{person.firstName}} {{person.suffix}}' ), email: faker.helpers.fake('{{internet.email}}'), city: ( - {faker.helpers.fake('{{address.city}}')} + {faker.helpers.fake('{{location.city}}')} ), - country: faker.helpers.fake('{{address.country}}'), - account: faker.helpers.fake('{{finance.account}}'), + country: faker.helpers.fake('{{location.country}}'), + account: faker.helpers.fake('{{finance.accountNumber}}'), }); } diff --git a/src-docs/src/views/datagrid/control_columns.js b/src-docs/src/views/datagrid/control_columns.js index 7420823e54..c716d8d228 100644 --- a/src-docs/src/views/datagrid/control_columns.js +++ b/src-docs/src/views/datagrid/control_columns.js @@ -72,16 +72,16 @@ for (let i = 1; i < 500; i++) { avatar: ( ), name: faker.helpers.fake( - '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + '{{person.lastName}}, {{person.firstName}} {{person.suffix}}' ), email: faker.helpers.fake('{{internet.email}}'), - city: faker.helpers.fake('{{address.city}}'), - country: faker.helpers.fake('{{address.country}}'), - account: faker.helpers.fake('{{finance.account}}'), + city: faker.helpers.fake('{{location.city}}'), + country: faker.helpers.fake('{{location.country}}'), + account: faker.helpers.fake('{{finance.accountNumber}}'), }); } diff --git a/src-docs/src/views/datagrid/datagrid.js b/src-docs/src/views/datagrid/datagrid.js index 35f717f13a..091490e8b5 100644 --- a/src-docs/src/views/datagrid/datagrid.js +++ b/src-docs/src/views/datagrid/datagrid.js @@ -37,8 +37,8 @@ const raw_data = []; for (let i = 1; i < 100; i++) { const email = faker.helpers.fake('{{internet.email}}'); - const name = faker.helpers.fake('{{name.lastName}}, {{name.firstName}}'); - const suffix = faker.helpers.fake('{{name.suffix}}'); + const name = faker.helpers.fake('{{person.lastName}}, {{person.firstName}}'); + const suffix = faker.helpers.fake('{{person.suffix}}'); raw_data.push({ name: { formatted: `${name} ${suffix}`, @@ -52,14 +52,14 @@ for (let i = 1; i < 100; i++) { }, location: ( - {`${faker.helpers.fake('{{address.city}}')}, `} + {`${faker.helpers.fake('{{location.city}}')}, `} - {faker.helpers.fake('{{address.country}}')} + {faker.helpers.fake('{{location.country}}')} ), date: faker.helpers.fake('{{date.past}}'), - account: faker.helpers.fake('{{finance.account}}'), + account: faker.helpers.fake('{{finance.accountNumber}}'), amount: faker.helpers.fake('${{commerce.price}}'), phone: faker.helpers.fake('{{phone.number}}'), version: faker.helpers.fake('{{system.semver}}'), diff --git a/src-docs/src/views/datagrid/focus.js b/src-docs/src/views/datagrid/focus.js index daba7eb177..d3ce830033 100644 --- a/src-docs/src/views/datagrid/focus.js +++ b/src-docs/src/views/datagrid/focus.js @@ -30,8 +30,8 @@ const data = []; for (let i = 0; i < 10; i++) { data.push([ - {faker.helpers.fake('{{name.firstName}}')}, - {faker.helpers.fake('{{name.firstName}}')}, + {faker.helpers.fake('{{person.firstName}}')}, + {faker.helpers.fake('{{person.firstName}}')}, diff --git a/src-docs/src/views/datagrid/footer_row.js b/src-docs/src/views/datagrid/footer_row.js index 07e9b498f8..72510ed0cd 100644 --- a/src-docs/src/views/datagrid/footer_row.js +++ b/src-docs/src/views/datagrid/footer_row.js @@ -24,7 +24,7 @@ const raw_data = []; for (let i = 1; i < 20; i++) { raw_data.push({ name: faker.helpers.fake( - '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + '{{person.lastName}}, {{person.firstName}} {{person.suffix}}' ), date: faker.helpers.fake('{{date.past}}'), amount: faker.helpers.fake('${{commerce.price}}'), diff --git a/src-docs/src/views/datagrid/in_memory.js b/src-docs/src/views/datagrid/in_memory.js index 041cfc9d8b..1a4bda0466 100644 --- a/src-docs/src/views/datagrid/in_memory.js +++ b/src-docs/src/views/datagrid/in_memory.js @@ -47,21 +47,21 @@ const raw_data = []; for (let i = 1; i < 100; i++) { raw_data.push({ name: faker.helpers.fake( - '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + '{{person.lastName}}, {{person.firstName}} {{person.suffix}}' ), email: ( {faker.helpers.fake('{{internet.email}}')} ), location: ( - {`${faker.helpers.fake('{{address.city}}')}, `} + {`${faker.helpers.fake('{{location.city}}')}, `} - {faker.helpers.fake('{{address.country}}')} + {faker.helpers.fake('{{location.country}}')} ), date: faker.helpers.fake('{{date.past}}'), - account: faker.helpers.fake('{{finance.account}}'), + account: faker.helpers.fake('{{finance.accountNumber}}'), amount: faker.helpers.fake('${{commerce.price}}'), phone: faker.helpers.fake('{{phone.number}}'), version: faker.helpers.fake('{{system.semver}}'), diff --git a/src-docs/src/views/datagrid/in_memory_enhancements.js b/src-docs/src/views/datagrid/in_memory_enhancements.js index 9b47a5dd78..cd92d1ec62 100644 --- a/src-docs/src/views/datagrid/in_memory_enhancements.js +++ b/src-docs/src/views/datagrid/in_memory_enhancements.js @@ -46,21 +46,21 @@ const raw_data = []; for (let i = 1; i < 100; i++) { raw_data.push({ name: faker.helpers.fake( - '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + '{{person.lastName}}, {{person.firstName}} {{person.suffix}}' ), email: ( {faker.helpers.fake('{{internet.email}}')} ), location: ( - {`${faker.helpers.fake('{{address.city}}')}, `} + {`${faker.helpers.fake('{{location.city}}')}, `} - {faker.helpers.fake('{{address.country}}')} + {faker.helpers.fake('{{location.country}}')} ), date: faker.helpers.fake('{{date.past}}'), - account: faker.helpers.fake('{{finance.account}}'), + account: faker.helpers.fake('{{finance.accountNumber}}'), amount: faker.helpers.fake('${{commerce.price}}'), phone: faker.helpers.fake('{{phone.number}}'), version: faker.helpers.fake('{{system.semver}}'), diff --git a/src-docs/src/views/datagrid/in_memory_pagination.js b/src-docs/src/views/datagrid/in_memory_pagination.js index 358380ab05..a1363b7689 100644 --- a/src-docs/src/views/datagrid/in_memory_pagination.js +++ b/src-docs/src/views/datagrid/in_memory_pagination.js @@ -46,21 +46,21 @@ const raw_data = []; for (let i = 1; i < 100; i++) { raw_data.push({ name: faker.helpers.fake( - '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + '{{person.lastName}}, {{person.firstName}} {{person.suffix}}' ), email: ( {faker.helpers.fake('{{internet.email}}')} ), location: ( - {`${faker.helpers.fake('{{address.city}}')}, `} + {`${faker.helpers.fake('{{location.city}}')}, `} - {faker.helpers.fake('{{address.country}}')} + {faker.helpers.fake('{{location.country}}')} ), date: faker.helpers.fake('{{date.past}}'), - account: faker.helpers.fake('{{finance.account}}'), + account: faker.helpers.fake('{{finance.accountNumber}}'), amount: faker.helpers.fake('${{commerce.price}}'), phone: faker.helpers.fake('{{phone.number}}'), version: faker.helpers.fake('{{system.semver}}'), diff --git a/src-docs/src/views/datagrid/in_memory_sorting.js b/src-docs/src/views/datagrid/in_memory_sorting.js index 31b088260f..1d807b45a9 100644 --- a/src-docs/src/views/datagrid/in_memory_sorting.js +++ b/src-docs/src/views/datagrid/in_memory_sorting.js @@ -46,21 +46,21 @@ const raw_data = []; for (let i = 1; i < 100; i++) { raw_data.push({ name: faker.helpers.fake( - '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + '{{person.lastName}}, {{person.firstName}} {{person.suffix}}' ), email: ( {faker.helpers.fake('{{internet.email}}')} ), location: ( - {`${faker.helpers.fake('{{address.city}}')}, `} + {`${faker.helpers.fake('{{location.city}}')}, `} - {faker.helpers.fake('{{address.country}}')} + {faker.helpers.fake('{{location.country}}')} ), date: faker.helpers.fake('{{date.past}}'), - account: faker.helpers.fake('{{finance.account}}'), + account: faker.helpers.fake('{{finance.accountNumber}}'), amount: faker.helpers.fake('${{commerce.price}}'), phone: faker.helpers.fake('{{phone.number}}'), version: faker.helpers.fake('{{system.semver}}'), diff --git a/src-docs/src/views/datagrid/schema.js b/src-docs/src/views/datagrid/schema.js index 0e2379f4cb..ce0e12156e 100644 --- a/src-docs/src/views/datagrid/schema.js +++ b/src-docs/src/views/datagrid/schema.js @@ -56,10 +56,10 @@ for (let i = 1; i < 5; i++) { json = JSON.stringify([ { default: faker.helpers.fake( - '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + '{{person.lastName}}, {{person.firstName}} {{person.suffix}}' ), boolean: faker.helpers.fake('{{datatype.boolean}}'), - numeric: faker.helpers.fake('{{finance.account}}'), + numeric: faker.helpers.fake('{{finance.accountNumber}}'), currency: faker.helpers.fake('${{finance.amount}}'), date: faker.helpers.fake('{{date.past}}'), custom: faker.helpers.fake('{{date.past}}'), @@ -70,7 +70,7 @@ for (let i = 1; i < 5; i++) { json = JSON.stringify([ { name: faker.helpers.fake( - '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + '{{person.lastName}}, {{person.firstName}} {{person.suffix}}' ), }, ]); @@ -78,10 +78,10 @@ for (let i = 1; i < 5; i++) { storeData.push({ default: faker.helpers.fake( - '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + '{{person.lastName}}, {{person.firstName}} {{person.suffix}}' ), boolean: faker.helpers.fake('{{datatype.boolean}}'), - numeric: faker.helpers.fake('{{finance.account}}'), + numeric: faker.helpers.fake('{{finance.accountNumber}}'), currency: faker.helpers.fake('${{finance.amount}}'), datetime: faker.helpers.fake('{{date.past}}'), json: json, diff --git a/src-docs/src/views/datagrid/styling.js b/src-docs/src/views/datagrid/styling.js index 4e7390dd99..a8d0a834c8 100644 --- a/src-docs/src/views/datagrid/styling.js +++ b/src-docs/src/views/datagrid/styling.js @@ -54,16 +54,16 @@ for (let i = 1; i < 6; i++) { avatar: ( ), name: faker.helpers.fake( - '{{name.lastName}}, {{name.firstName}} {{name.suffix}}' + '{{person.lastName}}, {{person.firstName}} {{person.suffix}}' ), email: faker.helpers.fake('{{internet.email}}'), - city: faker.helpers.fake('{{address.city}}'), - country: faker.helpers.fake('{{address.country}}'), - account: faker.helpers.fake('{{finance.account}}'), + city: faker.helpers.fake('{{location.city}}'), + country: faker.helpers.fake('{{location.country}}'), + account: faker.helpers.fake('{{finance.accountNumber}}'), }); } diff --git a/src-docs/src/views/datagrid/virtualization.js b/src-docs/src/views/datagrid/virtualization.js index 004316c6b1..8e36a535e1 100644 --- a/src-docs/src/views/datagrid/virtualization.js +++ b/src-docs/src/views/datagrid/virtualization.js @@ -78,21 +78,23 @@ function RenderCellValue({ rowIndex, columnId }) { if (data[rowIndex] == null) { const email = faker.helpers.fake('{{internet.email}}'); - const name = faker.helpers.fake('{{name.lastName}}, {{name.firstName}}'); - const suffix = faker.helpers.fake('{{name.suffix}}'); + const name = faker.helpers.fake( + '{{person.lastName}}, {{person.firstName}}' + ); + const suffix = faker.helpers.fake('{{person.suffix}}'); data[rowIndex] = { name: `${name} ${suffix}`, email: {email}, location: ( - {`${faker.helpers.fake('{{address.city}}')}, `} + {`${faker.helpers.fake('{{location.city}}')}, `} - {faker.helpers.fake('{{address.country}}')} + {faker.helpers.fake('{{location.country}}')} ), date: faker.helpers.fake('{{date.past}}'), - account: faker.helpers.fake('{{finance.account}}'), + account: faker.helpers.fake('{{finance.accountNumber}}'), amount: faker.helpers.fake('${{commerce.price}}'), phone: faker.helpers.fake('{{phone.number}}'), version: faker.helpers.fake('{{system.semver}}'), diff --git a/src-docs/src/views/datagrid/virtualization_constrained.js b/src-docs/src/views/datagrid/virtualization_constrained.js index e26f90613b..a9074e65d2 100644 --- a/src-docs/src/views/datagrid/virtualization_constrained.js +++ b/src-docs/src/views/datagrid/virtualization_constrained.js @@ -76,21 +76,23 @@ function RenderCellValue({ rowIndex, columnId }) { if (data[rowIndex] == null) { const email = faker.helpers.fake('{{internet.email}}'); - const name = faker.helpers.fake('{{name.lastName}}, {{name.firstName}}'); - const suffix = faker.helpers.fake('{{name.suffix}}'); + const name = faker.helpers.fake( + '{{person.lastName}}, {{person.firstName}}' + ); + const suffix = faker.helpers.fake('{{person.suffix}}'); data[rowIndex] = { name: `${name} ${suffix}`, email: {email}, location: ( - {`${faker.helpers.fake('{{address.city}}')}, `} + {`${faker.helpers.fake('{{location.city}}')}, `} - {faker.helpers.fake('{{address.country}}')} + {faker.helpers.fake('{{location.country}}')} ), date: faker.helpers.fake('{{date.past}}'), - account: faker.helpers.fake('{{finance.account}}'), + account: faker.helpers.fake('{{finance.accountNumber}}'), amount: faker.helpers.fake('${{commerce.price}}'), phone: faker.helpers.fake('{{phone.number}}'), version: faker.helpers.fake('{{system.semver}}'), diff --git a/yarn.lock b/yarn.lock index 4095aab34f..15c0feb56c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1325,10 +1325,10 @@ minimatch "^3.0.4" strip-json-comments "^3.1.1" -"@faker-js/faker@^7.6.0": - version "7.6.0" - resolved "https://registry.yarnpkg.com/@faker-js/faker/-/faker-7.6.0.tgz#9ea331766084288634a9247fcd8b84f16ff4ba07" - integrity sha512-XK6BTq1NDMo9Xqw/YkYyGjSsg44fbNwYRx7QK2CuoQgyy+f1rrTDHoExVM5PsyXCtfl2vs2vVJ0MN0yN6LppRw== +"@faker-js/faker@^8.0.1": + version "8.0.1" + resolved "https://registry.yarnpkg.com/@faker-js/faker/-/faker-8.0.1.tgz#2157068931aaab555eda5ff87f50330aeeb6153a" + integrity sha512-kbh5MenpTN9U0B4QcOI1NoTPlZHniSYQ3BHbhAnPjJGAmmFqxoxTE4sGdpy7ZOO9038DPGCuhXyMkjOr05uVwA== "@fisker/parse-srcset@1.0.2": version "1.0.2" From b8c3118bb195607f900523320ac7039fd779f50f Mon Sep 17 00:00:00 2001 From: Ashwin P Chandran Date: Mon, 27 Feb 2023 13:16:14 -0800 Subject: [PATCH 10/36] change beta to experimental (#383) Signed-off-by: Ashwin P Chandran Co-authored-by: Sean Neumann <1413295+seanneumann@users.noreply.github.com> --- src-docs/src/views/key_pad_menu/key_pad_beta.js | 2 +- .../src/views/key_pad_menu/key_pad_menu_example.js | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src-docs/src/views/key_pad_menu/key_pad_beta.js b/src-docs/src/views/key_pad_menu/key_pad_beta.js index 98bc4468cb..4852ea19c5 100644 --- a/src-docs/src/views/key_pad_menu/key_pad_beta.js +++ b/src-docs/src/views/key_pad_menu/key_pad_beta.js @@ -26,7 +26,7 @@ export default () => ( diff --git a/src-docs/src/views/key_pad_menu/key_pad_menu_example.js b/src-docs/src/views/key_pad_menu/key_pad_menu_example.js index cbf19e0a0b..e4e832ba54 100644 --- a/src-docs/src/views/key_pad_menu/key_pad_menu_example.js +++ b/src-docs/src/views/key_pad_menu/key_pad_menu_example.js @@ -122,7 +122,7 @@ export const KeyPadMenuExample = { demo: , }, { - title: 'Beta item', + title: 'Experimental item', source: [ { type: GuideSectionTypes.JS, @@ -136,16 +136,14 @@ export const KeyPadMenuExample = { text: (

- If the item links to a module that is not GA (beta, lab, etc), you - can add a betaBadgeLabel and{' '} + If the item links to a module that is not GA (experimental, lab, + etc), you can add a betaBadgeLabel and{' '} betaBadgeTooltipContent to the card and it will properly create and position an OuiBetaBadge.

- Supplying just a label will only show the first letter in the badge - and supply the full label to the tooltip. You can also pass an{' '} - iconType to replace the letter only badge and the - label will still become the title. + You can pass an iconType and the label will + become the title.

), From adccbf10a2f98874dbc484090575a5eebabdd300 Mon Sep 17 00:00:00 2001 From: Sergey Myssak Date: Wed, 28 Jun 2023 23:27:23 +0600 Subject: [PATCH 11/36] Normalize interlink URL usage (#698) (#720) Signed-off-by: Sergey Myssak Co-authored-by: Andrey Myssak --- src-docs/src/views/badge/badge_example.js | 4 ++- src-docs/src/views/call_out/danger.js | 5 +++- src-docs/src/views/call_out/warning.js | 2 +- src-docs/src/views/card/card_footer.js | 9 ++++--- src-docs/src/views/card/card_image.js | 2 +- src-docs/src/views/card/card_layout.js | 2 +- .../src/views/datagrid/additional_controls.js | 2 +- src-docs/src/views/datagrid/container.js | 2 +- src-docs/src/views/datagrid/datagrid.js | 6 +++-- src-docs/src/views/datagrid/in_memory.js | 6 +++-- .../views/datagrid/in_memory_enhancements.js | 6 +++-- .../views/datagrid/in_memory_pagination.js | 6 +++-- .../src/views/datagrid/in_memory_sorting.js | 6 +++-- src-docs/src/views/datagrid/virtualization.js | 6 +++-- .../datagrid/virtualization_constrained.js | 6 +++-- src-docs/src/views/flyout/flyout_banner.js | 3 ++- src-docs/src/views/header/header.js | 2 +- src-docs/src/views/header/header_alert.js | 12 +++++++-- .../views/header/header_elastic_pattern.js | 4 ++- src-docs/src/views/header/header_example.js | 6 ++--- src-docs/src/views/header/header_sections.js | 2 +- .../src/views/key_pad_menu/key_pad_beta.js | 8 +++--- .../src/views/key_pad_menu/key_pad_menu.js | 17 ++++++++++--- .../key_pad_menu/key_pad_menu_example.js | 6 ++--- src-docs/src/views/link/link.js | 20 +++++++-------- src-docs/src/views/link/link_example.js | 4 +-- .../list_group/list_group_item_color.tsx | 25 ++++++++++++++++--- src-docs/src/views/progress/progress_fixed.js | 2 +- src-docs/src/views/suggest/hashtag_popover.js | 4 +-- src-docs/src/views/tables/auto/auto.js | 8 +++--- src-docs/src/views/tables/basic/basic.js | 4 +-- src-docs/src/views/tables/custom/custom.js | 10 ++++++-- src-docs/src/views/text/playground.js | 4 +-- src-docs/src/views/text/text.js | 8 +++--- src-docs/src/views/text/text_color.js | 2 +- src-docs/src/views/toast/success.js | 5 +++- src-docs/src/views/toast/toast_list.js | 5 +++- 37 files changed, 152 insertions(+), 79 deletions(-) diff --git a/src-docs/src/views/badge/badge_example.js b/src-docs/src/views/badge/badge_example.js index 830bff3a13..655491886d 100644 --- a/src-docs/src/views/badge/badge_example.js +++ b/src-docs/src/views/badge/badge_example.js @@ -102,7 +102,9 @@ const badgeHealthSnippet = [ import BadgeHref from './badge_href'; const badgeHrefSource = require('!!raw-loader!./badge_href'); const badgeHrefHtml = renderToHtml(BadgeHref); -const badgeHrefSnippet = ['']; +const badgeHrefSnippet = [ + '', +]; import BadgeTruncate from './badge_truncate'; const badgeTruncateSource = require('!!raw-loader!./badge_truncate'); diff --git a/src-docs/src/views/call_out/danger.js b/src-docs/src/views/call_out/danger.js index f61b8b9aa1..87b0cc477a 100644 --- a/src-docs/src/views/call_out/danger.js +++ b/src-docs/src/views/call_out/danger.js @@ -17,7 +17,10 @@ export default () => (

Now you have to fix it, but maybe{' '} - this link can help. + + this link can help + + .

); diff --git a/src-docs/src/views/call_out/warning.js b/src-docs/src/views/call_out/warning.js index 52bfea224c..3fcca08258 100644 --- a/src-docs/src/views/call_out/warning.js +++ b/src-docs/src/views/call_out/warning.js @@ -23,7 +23,7 @@ export default () => (
.

- + Link button diff --git a/src-docs/src/views/card/card_footer.js b/src-docs/src/views/card/card_footer.js index 69ffae5da3..b55f6c759d 100644 --- a/src-docs/src/views/card/card_footer.js +++ b/src-docs/src/views/card/card_footer.js @@ -37,7 +37,8 @@ export default () => (

- Choice Two + Choice{' '} + Two

@@ -55,7 +56,8 @@ export default () => (

- Choice Two + Choice{' '} + Two

@@ -73,7 +75,8 @@ export default () => (

- Choice Two + Choice{' '} + Two

diff --git a/src-docs/src/views/card/card_image.js b/src-docs/src/views/card/card_image.js index 1306a9e960..b103eec9ed 100644 --- a/src-docs/src/views/card/card_image.js +++ b/src-docs/src/views/card/card_image.js @@ -57,7 +57,7 @@ export default () => ( } title={'Title'} diff --git a/src-docs/src/views/card/card_layout.js b/src-docs/src/views/card/card_layout.js index 4429611dfd..7cfc8c42bf 100644 --- a/src-docs/src/views/card/card_layout.js +++ b/src-docs/src/views/card/card_layout.js @@ -45,7 +45,7 @@ export default () => ( title={'No icon example'} description="Example of a card's description. Stick to one or two sentences." onClick={() => {}} - href="#" + href="https://oui.opensearch.org/latest/" /> diff --git a/src-docs/src/views/datagrid/additional_controls.js b/src-docs/src/views/datagrid/additional_controls.js index 9530efab28..b0319ed739 100644 --- a/src-docs/src/views/datagrid/additional_controls.js +++ b/src-docs/src/views/datagrid/additional_controls.js @@ -45,7 +45,7 @@ for (let i = 1; i < 20; i++) { ), email: faker.helpers.fake('{{internet.email}}'), city: ( - + {faker.helpers.fake('{{location.city}}')} ), diff --git a/src-docs/src/views/datagrid/container.js b/src-docs/src/views/datagrid/container.js index c8c1cfdffe..16760be989 100644 --- a/src-docs/src/views/datagrid/container.js +++ b/src-docs/src/views/datagrid/container.js @@ -41,7 +41,7 @@ for (let i = 1; i < 20; i++) { ), email: faker.helpers.fake('{{internet.email}}'), city: ( - + {faker.helpers.fake('{{location.city}}')} ), diff --git a/src-docs/src/views/datagrid/datagrid.js b/src-docs/src/views/datagrid/datagrid.js index 091490e8b5..03c3d81635 100644 --- a/src-docs/src/views/datagrid/datagrid.js +++ b/src-docs/src/views/datagrid/datagrid.js @@ -46,14 +46,16 @@ for (let i = 1; i < 100; i++) { }, email: { formatted: ( - {faker.helpers.fake('{{internet.email}}')} + + {faker.helpers.fake('{{internet.email}}')} + ), raw: email, }, location: ( {`${faker.helpers.fake('{{location.city}}')}, `} - + {faker.helpers.fake('{{location.country}}')} diff --git a/src-docs/src/views/datagrid/in_memory.js b/src-docs/src/views/datagrid/in_memory.js index 1a4bda0466..8817ed8750 100644 --- a/src-docs/src/views/datagrid/in_memory.js +++ b/src-docs/src/views/datagrid/in_memory.js @@ -50,12 +50,14 @@ for (let i = 1; i < 100; i++) { '{{person.lastName}}, {{person.firstName}} {{person.suffix}}' ), email: ( - {faker.helpers.fake('{{internet.email}}')} + + {faker.helpers.fake('{{internet.email}}')} + ), location: ( {`${faker.helpers.fake('{{location.city}}')}, `} - + {faker.helpers.fake('{{location.country}}')} diff --git a/src-docs/src/views/datagrid/in_memory_enhancements.js b/src-docs/src/views/datagrid/in_memory_enhancements.js index cd92d1ec62..0ed5464331 100644 --- a/src-docs/src/views/datagrid/in_memory_enhancements.js +++ b/src-docs/src/views/datagrid/in_memory_enhancements.js @@ -49,12 +49,14 @@ for (let i = 1; i < 100; i++) { '{{person.lastName}}, {{person.firstName}} {{person.suffix}}' ), email: ( - {faker.helpers.fake('{{internet.email}}')} + + {faker.helpers.fake('{{internet.email}}')} + ), location: ( {`${faker.helpers.fake('{{location.city}}')}, `} - + {faker.helpers.fake('{{location.country}}')} diff --git a/src-docs/src/views/datagrid/in_memory_pagination.js b/src-docs/src/views/datagrid/in_memory_pagination.js index a1363b7689..e6d199a911 100644 --- a/src-docs/src/views/datagrid/in_memory_pagination.js +++ b/src-docs/src/views/datagrid/in_memory_pagination.js @@ -49,12 +49,14 @@ for (let i = 1; i < 100; i++) { '{{person.lastName}}, {{person.firstName}} {{person.suffix}}' ), email: ( - {faker.helpers.fake('{{internet.email}}')} + + {faker.helpers.fake('{{internet.email}}')} + ), location: ( {`${faker.helpers.fake('{{location.city}}')}, `} - + {faker.helpers.fake('{{location.country}}')} diff --git a/src-docs/src/views/datagrid/in_memory_sorting.js b/src-docs/src/views/datagrid/in_memory_sorting.js index 1d807b45a9..39b6aa765c 100644 --- a/src-docs/src/views/datagrid/in_memory_sorting.js +++ b/src-docs/src/views/datagrid/in_memory_sorting.js @@ -49,12 +49,14 @@ for (let i = 1; i < 100; i++) { '{{person.lastName}}, {{person.firstName}} {{person.suffix}}' ), email: ( - {faker.helpers.fake('{{internet.email}}')} + + {faker.helpers.fake('{{internet.email}}')} + ), location: ( {`${faker.helpers.fake('{{location.city}}')}, `} - + {faker.helpers.fake('{{location.country}}')} diff --git a/src-docs/src/views/datagrid/virtualization.js b/src-docs/src/views/datagrid/virtualization.js index 8e36a535e1..ceccf23307 100644 --- a/src-docs/src/views/datagrid/virtualization.js +++ b/src-docs/src/views/datagrid/virtualization.js @@ -84,11 +84,13 @@ function RenderCellValue({ rowIndex, columnId }) { const suffix = faker.helpers.fake('{{person.suffix}}'); data[rowIndex] = { name: `${name} ${suffix}`, - email: {email}, + email: ( + {email} + ), location: ( {`${faker.helpers.fake('{{location.city}}')}, `} - + {faker.helpers.fake('{{location.country}}')} diff --git a/src-docs/src/views/datagrid/virtualization_constrained.js b/src-docs/src/views/datagrid/virtualization_constrained.js index a9074e65d2..cc0a736186 100644 --- a/src-docs/src/views/datagrid/virtualization_constrained.js +++ b/src-docs/src/views/datagrid/virtualization_constrained.js @@ -82,11 +82,13 @@ function RenderCellValue({ rowIndex, columnId }) { const suffix = faker.helpers.fake('{{person.suffix}}'); data[rowIndex] = { name: `${name} ${suffix}`, - email: {email}, + email: ( + {email} + ), location: ( {`${faker.helpers.fake('{{location.city}}')}, `} - + {faker.helpers.fake('{{location.country}}')} diff --git a/src-docs/src/views/flyout/flyout_banner.js b/src-docs/src/views/flyout/flyout_banner.js index 1f50693aa2..b9f99b3a4e 100644 --- a/src-docs/src/views/flyout/flyout_banner.js +++ b/src-docs/src/views/flyout/flyout_banner.js @@ -35,7 +35,8 @@ export default () => {

Here’s some stuff that you need to know. This banner helps - highlight important information. View docs + highlight important information.{' '} + View docs

); diff --git a/src-docs/src/views/header/header.js b/src-docs/src/views/header/header.js index f794507509..9b2f21216c 100644 --- a/src-docs/src/views/header/header.js +++ b/src-docs/src/views/header/header.js @@ -38,7 +38,7 @@ export default () => { const renderLogo = () => ( e.preventDefault()} aria-label="Go to home page" /> diff --git a/src-docs/src/views/header/header_alert.js b/src-docs/src/views/header/header_alert.js index 86f52980ec..e046d81859 100644 --- a/src-docs/src/views/header/header_alert.js +++ b/src-docs/src/views/header/header_alert.js @@ -48,7 +48,11 @@ const HeaderUpdates = () => { { title: 'Control access to features', text: 'Show or hide applications and features per space in Kibana.', - action: Learn about feature controls, + action: ( + + Learn about feature controls + + ), date: '1 May 2019', badge: 7.1, }, @@ -71,7 +75,11 @@ const HeaderUpdates = () => { title: 'Enter dark mode', text: 'Kibana now supports the easy-on-the-eyes theme across the entire UI.', - action: Go to Advanced Settings, + action: ( + + Go to Advanced Settings + + ), date: '10 April 2019', badge: 7.0, }, diff --git a/src-docs/src/views/header/header_elastic_pattern.js b/src-docs/src/views/header/header_elastic_pattern.js index c1a909ee86..4b0f6663eb 100644 --- a/src-docs/src/views/header/header_elastic_pattern.js +++ b/src-docs/src/views/header/header_elastic_pattern.js @@ -283,7 +283,9 @@ export default ({ theme }) => { sections={[ { items: [ - + OpenSearch , deploymentMenu, diff --git a/src-docs/src/views/header/header_example.js b/src-docs/src/views/header/header_example.js index 342538c117..bd3809cf11 100644 --- a/src-docs/src/views/header/header_example.js +++ b/src-docs/src/views/header/header_example.js @@ -95,16 +95,16 @@ const headerLinksSnippet = ` - + - + diff --git a/src-docs/src/views/header/header_sections.js b/src-docs/src/views/header/header_sections.js index a68f414785..9b2c648185 100644 --- a/src-docs/src/views/header/header_sections.js +++ b/src-docs/src/views/header/header_sections.js @@ -28,7 +28,7 @@ export default () => { const renderLogo = ( e.preventDefault()} aria-label="Navigate to home page" /> diff --git a/src-docs/src/views/key_pad_menu/key_pad_beta.js b/src-docs/src/views/key_pad_menu/key_pad_beta.js index 4852ea19c5..439f548341 100644 --- a/src-docs/src/views/key_pad_menu/key_pad_beta.js +++ b/src-docs/src/views/key_pad_menu/key_pad_beta.js @@ -19,13 +19,15 @@ import { export default () => ( - + @@ -33,7 +35,7 @@ export default () => ( diff --git a/src-docs/src/views/key_pad_menu/key_pad_menu.js b/src-docs/src/views/key_pad_menu/key_pad_menu.js index 08c49394b6..04a7a86778 100644 --- a/src-docs/src/views/key_pad_menu/key_pad_menu.js +++ b/src-docs/src/views/key_pad_menu/key_pad_menu.js @@ -19,19 +19,28 @@ import { export default () => ( - + - + - + - + diff --git a/src-docs/src/views/key_pad_menu/key_pad_menu_example.js b/src-docs/src/views/key_pad_menu/key_pad_menu_example.js index e4e832ba54..47a5a2b074 100644 --- a/src-docs/src/views/key_pad_menu/key_pad_menu_example.js +++ b/src-docs/src/views/key_pad_menu/key_pad_menu_example.js @@ -27,10 +27,10 @@ import KeyPadMenu from './key_pad_menu'; const keyPadMenuSource = require('!!raw-loader!./key_pad_menu'); const keyPadMenuHtml = renderToHtml(KeyPadMenu); const keyPadMenuSnippet = ` - + - + @@ -51,7 +51,7 @@ const keyPadBetaSource = require('!!raw-loader!./key_pad_beta'); const keyPadBetaHtml = renderToHtml(KeyPadBeta); const keyPadBetaSnippet = ` diff --git a/src-docs/src/views/link/link.js b/src-docs/src/views/link/link.js index 4e73a49d08..7714ad8d69 100644 --- a/src-docs/src/views/link/link.js +++ b/src-docs/src/views/link/link.js @@ -17,7 +17,7 @@ export default () => (

Open the{' '} - + OpenSearch website {' '} in a new tab. Setting target=“_blank” also @@ -25,7 +25,7 @@ export default () => (

This{' '} - + link {' '} has the external prop set to true. @@ -37,7 +37,7 @@ export default () => (

Here is an example of a{' '} { e.preventDefault(); }}> @@ -49,38 +49,38 @@ export default () => (

Links can be colored as well.

  • - + subdued
  • - + success
  • - + accent
  • - + danger
  • - + warning
  • - + text
  • - + ghost diff --git a/src-docs/src/views/link/link_example.js b/src-docs/src/views/link/link_example.js index e84201701b..ff3aaae6a3 100644 --- a/src-docs/src/views/link/link_example.js +++ b/src-docs/src/views/link/link_example.js @@ -33,9 +33,9 @@ const linkValidationSource = require('!!raw-loader!./link_validation'); const linkValidationHtml = renderToHtml(LinkValidation); const linkSnippet = [ - ` + ` `, - ` + ` `, diff --git a/src-docs/src/views/list_group/list_group_item_color.tsx b/src-docs/src/views/list_group/list_group_item_color.tsx index c9054ee706..ba30fbe1ed 100644 --- a/src-docs/src/views/list_group/list_group_item_color.tsx +++ b/src-docs/src/views/list_group/list_group_item_color.tsx @@ -20,7 +20,11 @@ import { OuiSpacer } from '../../../../src/components/spacer'; export default () => ( <> - + {}} @@ -29,15 +33,28 @@ export default () => ( size="s" /> - + - + - + ); diff --git a/src-docs/src/views/progress/progress_fixed.js b/src-docs/src/views/progress/progress_fixed.js index a35359aee2..74c48d1034 100644 --- a/src-docs/src/views/progress/progress_fixed.js +++ b/src-docs/src/views/progress/progress_fixed.js @@ -95,7 +95,7 @@ export default () => { diff --git a/src-docs/src/views/suggest/hashtag_popover.js b/src-docs/src/views/suggest/hashtag_popover.js index 8bffe562b3..c38cadadfd 100644 --- a/src-docs/src/views/suggest/hashtag_popover.js +++ b/src-docs/src/views/suggest/hashtag_popover.js @@ -71,7 +71,7 @@ export default (props) => { iconType: 'trash', iconSize: 's', }} - href="#" + href="https://oui.opensearch.org/latest/" label="Popular shoes in America" /> { iconType: 'trash', iconSize: 's', }} - href="#" + href="https://oui.opensearch.org/latest/" label="Popular shirts in Canada" /> diff --git a/src-docs/src/views/tables/auto/auto.js b/src-docs/src/views/tables/auto/auto.js index 428a93311a..c530fb840e 100644 --- a/src-docs/src/views/tables/auto/auto.js +++ b/src-docs/src/views/tables/auto/auto.js @@ -58,7 +58,7 @@ const columns = [ render: (item) => ( {item.firstName}{' '} - + {item.lastName} @@ -73,7 +73,7 @@ const columns = [ field: 'lastName', name: 'Last Name', render: (name) => ( - + {name} ), @@ -99,7 +99,7 @@ const customColumns = [ render: (item) => ( {item.firstName}{' '} - + {item.lastName} @@ -114,7 +114,7 @@ const customColumns = [ field: 'lastName', name: 'Last Name', render: (name) => ( - + {name} ), diff --git a/src-docs/src/views/tables/basic/basic.js b/src-docs/src/views/tables/basic/basic.js index d0dd9d2ea5..f22486f6ef 100644 --- a/src-docs/src/views/tables/basic/basic.js +++ b/src-docs/src/views/tables/basic/basic.js @@ -54,7 +54,7 @@ export const Table = () => { render: (item) => ( {item.firstName}{' '} - + {item.lastName} @@ -70,7 +70,7 @@ export const Table = () => { name: 'Last Name', truncateText: true, render: (name) => ( - + {name} ), diff --git a/src-docs/src/views/tables/custom/custom.js b/src-docs/src/views/tables/custom/custom.js index ff69198bf1..1a3c826329 100644 --- a/src-docs/src/views/tables/custom/custom.js +++ b/src-docs/src/views/tables/custom/custom.js @@ -587,7 +587,9 @@ export default class extends Component { ? item.title.value : item.title; const title = item.title.isLink ? ( - {item.title.value} + + {item.title.value} + ) : ( titleText ); @@ -595,7 +597,11 @@ export default class extends Component { } else if (column.cellProvider) { child = column.cellProvider(cell); } else if (cell.isLink) { - child = {cell.value}; + child = ( + + {cell.value} + + ); } else if (cell.truncateText) { child = cell.value; } else { diff --git a/src-docs/src/views/text/playground.js b/src-docs/src/views/text/playground.js index 2c2a86edcd..83793a46cb 100644 --- a/src-docs/src/views/text/playground.js +++ b/src-docs/src/views/text/playground.js @@ -23,8 +23,8 @@ export const textConfig = () => { type: PropTypes.ReactNode, value: `

    This is Heading One

    - Ea mollit ullamco cillum ipsum adipisicing ea aute id. Cillum unfashionable amet - proident irure Lorem irure consequat veniam. Excepteur exercitation ex officia + Ea mollit ullamco cillum ipsum adipisicing ea aute id. Cillum unfashionable amet + proident irure Lorem irure consequat veniam. Excepteur exercitation ex officia minim excepteur consequat sint id Lorem est officia cupidatat excepteur commodo.

    `, hidden: false, diff --git a/src-docs/src/views/text/text.js b/src-docs/src/views/text/text.js index 3e88c919b9..cdd84ca0f3 100644 --- a/src-docs/src/views/text/text.js +++ b/src-docs/src/views/text/text.js @@ -19,10 +19,10 @@ export default () => (

    This is Heading One

    Veniam et quis in dolor aliqua dolor laboris nostrud nostrud Lorem. - unfashionable Irure et et adipisicing eu mollit. Ullamco - laborum cillum ea id occaecat cupidatat ex dolor consequat ex mollit do. - Irure commodo incididunt reprehenderit deserunt cillum quis ad nostrud!{' '} - const whoa = "!" + Irure et et adipisicing{' '} + eu mollit. Ullamco laborum cillum ea id occaecat cupidatat ex dolor + consequat ex mollit do. Irure commodo incididunt reprehenderit deserunt + cillum quis ad nostrud! const whoa = "!"

    diff --git a/src-docs/src/views/text/text_color.js b/src-docs/src/views/text/text_color.js
    index e7c3290df8..6b68508b59 100644
    --- a/src-docs/src/views/text/text_color.js
    +++ b/src-docs/src/views/text/text_color.js
    @@ -68,7 +68,7 @@ export default () => (
             Sometimes you need to color entire blocks of text, no matter what is in
             them. You can always apply color directly (versus using the separated
             component) to make it easy. Links should still{' '}
    -        properly color.
    +        properly color.
           

    diff --git a/src-docs/src/views/toast/success.js b/src-docs/src/views/toast/success.js index 3d4f0f31c3..4ac0f313f2 100644 --- a/src-docs/src/views/toast/success.js +++ b/src-docs/src/views/toast/success.js @@ -33,7 +33,10 @@ export default () => (

    And some other stuff on another line, just for kicks. And{' '} - here’s a link. + + here’s a link + + .

    diff --git a/src-docs/src/views/toast/toast_list.js b/src-docs/src/views/toast/toast_list.js index 166ee0ec50..13cc2f3681 100644 --- a/src-docs/src/views/toast/toast_list.js +++ b/src-docs/src/views/toast/toast_list.js @@ -62,7 +62,10 @@ export default () => {

    And some other stuff on another line, just for kicks. And{' '} - here’s a link. + + here’s a link + + .

    ), From 7a94e938fe14b37d66996afe946ca744ae4bf49d Mon Sep 17 00:00:00 2001 From: Sergey Myssak Date: Wed, 14 Jun 2023 22:36:38 +0600 Subject: [PATCH 12/36] [CCI] Add `useDeprecatedPropWarning` and align with `deprecated` hoc (#762) * Add useDeprecatedPropWarning and align with deprecated hoc (#761) Co-authored-by: Andrey Myssak Signed-off-by: Sergey Myssak * Add multiple props to useDeprecatedPropWarning and pass getMessage to deprecatedComponentWarning (#761) Co-authored-by: Andrey Myssak Signed-off-by: Sergey Myssak * Use ExclusiveUnion in interfaces (#761) Co-authored-by: Andrey Myssak Signed-off-by: Sergey Myssak --------- Signed-off-by: Sergey Myssak Co-authored-by: Andrey Myssak --- .../loading/loading_elastic.test.tsx | 11 +- src/components/loading/loading_elastic.tsx | 14 +- .../loading/loading_kibana.test.tsx | 11 +- src/components/loading/loading_kibana.tsx | 12 +- .../page/page_header/page_header.test.tsx | 48 +++++- .../page/page_header/page_header.tsx | 14 +- .../__snapshots__/deprecated.test.tsx.snap | 6 +- src/utils/deprecated/deprecated.test.tsx | 163 ++++++++++++++++-- src/utils/deprecated/deprecated.tsx | 58 ++++++- 9 files changed, 286 insertions(+), 51 deletions(-) diff --git a/src/components/loading/loading_elastic.test.tsx b/src/components/loading/loading_elastic.test.tsx index 7b57964d4b..1038252515 100644 --- a/src/components/loading/loading_elastic.test.tsx +++ b/src/components/loading/loading_elastic.test.tsx @@ -6,8 +6,7 @@ import React from 'react'; import { render, mount } from 'enzyme'; import { requiredProps } from '../../test'; -import { getDeprecatedMessage } from '../../utils'; -import { OuiLoadingElastic, SIZES, WARNING } from './loading_elastic'; +import { OuiLoadingElastic, SIZES } from './loading_elastic'; describe('OuiLoadingElastic', () => { test('is rendered', () => { @@ -28,10 +27,14 @@ describe('OuiLoadingElastic', () => { }); }); - it('should console warning about a deprecated component', () => { + it('should console deprecation warning', () => { console.warn = jest.fn(); + mount(); - expect(console.warn).toHaveBeenCalledWith(getDeprecatedMessage(WARNING)); + expect(console.warn).toHaveBeenCalledTimes(1); + expect(console.warn).toHaveBeenCalledWith( + '[DEPRECATED] OuiLoadingElastic is deprecated in favor of OuiLoadingDashboards and will be removed in v2.0.0.' + ); }); }); diff --git a/src/components/loading/loading_elastic.tsx b/src/components/loading/loading_elastic.tsx index 19756c10c2..e15b9a18bb 100644 --- a/src/components/loading/loading_elastic.tsx +++ b/src/components/loading/loading_elastic.tsx @@ -32,7 +32,7 @@ import React, { HTMLAttributes, FunctionComponent } from 'react'; import classNames from 'classnames'; import { CommonProps, keysOf } from '../common'; import { OuiIcon } from '../icon'; -import { deprecated } from '../../utils'; +import { deprecatedComponentWarning } from '../../utils'; const sizeToClassNameMap = { m: 'ouiLoadingElastic--medium', @@ -43,9 +43,6 @@ const sizeToClassNameMap = { export const SIZES = keysOf(sizeToClassNameMap); -export const WARNING = - 'OuiLoadingElastic is deprecated in favor of OuiLoadingDashboards and will be removed in v2.0.0.'; - export interface OuiLoadingElasticProps { size?: keyof typeof sizeToClassNameMap; } @@ -66,9 +63,12 @@ const OuiLoadingElasticComponent: FunctionComponent< ); }; +OuiLoadingElasticComponent.displayName = 'OuiLoadingElastic'; + /** * @deprecated OuiLoadingElastic is deprecated in favor of OuiLoadingDashboards and will be removed in v2.0.0. */ -export const OuiLoadingElastic = deprecated(WARNING)( - OuiLoadingElasticComponent -); +export const OuiLoadingElastic = deprecatedComponentWarning({ + newComponentName: 'OuiLoadingDashboards', + version: '2.0.0', +})(OuiLoadingElasticComponent); diff --git a/src/components/loading/loading_kibana.test.tsx b/src/components/loading/loading_kibana.test.tsx index 8dfb53bc05..a0a417eef1 100644 --- a/src/components/loading/loading_kibana.test.tsx +++ b/src/components/loading/loading_kibana.test.tsx @@ -31,8 +31,7 @@ import React from 'react'; import { render, mount } from 'enzyme'; import { requiredProps } from '../../test'; -import { getDeprecatedMessage } from '../../utils'; -import { OuiLoadingKibana, SIZES, WARNING } from './loading_kibana'; +import { OuiLoadingKibana, SIZES } from './loading_kibana'; describe('OuiLoadingKibana', () => { test('is rendered', () => { @@ -53,10 +52,14 @@ describe('OuiLoadingKibana', () => { }); }); - it('should console warning about a deprecated component', () => { + it('should console deprecation warning', () => { console.warn = jest.fn(); + mount(); - expect(console.warn).toHaveBeenCalledWith(getDeprecatedMessage(WARNING)); + expect(console.warn).toHaveBeenCalledTimes(1); + expect(console.warn).toHaveBeenCalledWith( + '[DEPRECATED] OuiLoadingKibana is deprecated in favor of OuiLoadingLogo and will be removed in v2.0.0.' + ); }); }); diff --git a/src/components/loading/loading_kibana.tsx b/src/components/loading/loading_kibana.tsx index f315595f7d..c54eee9a10 100644 --- a/src/components/loading/loading_kibana.tsx +++ b/src/components/loading/loading_kibana.tsx @@ -32,7 +32,7 @@ import React, { HTMLAttributes, FunctionComponent } from 'react'; import classNames from 'classnames'; import { CommonProps, keysOf } from '../common'; import { OuiIcon } from '../icon'; -import { deprecated } from '../../utils'; +import { deprecatedComponentWarning } from '../../utils'; const sizeToClassNameMap = { m: 'ouiLoadingKibana--medium', @@ -42,9 +42,6 @@ const sizeToClassNameMap = { export const SIZES = keysOf(sizeToClassNameMap); -export const WARNING = - 'OuiLoadingKibana is deprecated in favor of OuiLoadingLogo and will be removed in v2.0.0.'; - export type OuiLoadingKibanaProps = CommonProps & HTMLAttributes & { size?: keyof typeof sizeToClassNameMap; @@ -70,7 +67,12 @@ const OuiLoadingKibanaComponent: FunctionComponent = ({ ); }; +OuiLoadingKibanaComponent.displayName = 'OuiLoadingKibana'; + /** * @deprecated OuiLoadingKibana is deprecated in favor of OuiLoadingLogo and will be removed in v2.0.0. */ -export const OuiLoadingKibana = deprecated(WARNING)(OuiLoadingKibanaComponent); +export const OuiLoadingKibana = deprecatedComponentWarning({ + newComponentName: 'OuiLoadingLogo', + version: '2.0.0', +})(OuiLoadingKibanaComponent); diff --git a/src/components/page/page_header/page_header.test.tsx b/src/components/page/page_header/page_header.test.tsx index 10414b41da..afb02c7e84 100644 --- a/src/components/page/page_header/page_header.test.tsx +++ b/src/components/page/page_header/page_header.test.tsx @@ -29,8 +29,8 @@ */ import React from 'react'; -import { render } from 'enzyme'; -import { requiredProps } from '../../../test/required_props'; +import { mount, render } from 'enzyme'; +import { requiredProps } from '../../../test'; import { OuiPageHeader, OuiPageHeaderProps } from './page_header'; import { ALIGN_ITEMS } from './page_header_content'; @@ -124,4 +124,48 @@ describe('OuiPageHeader', () => { }); }); }); + + describe('deprecation', () => { + it('should console 1 deprecation warning without repetition', () => { + console.warn = jest.fn(); + + const component = mount(); + component.setProps({ iconType: 'database' }); + + expect(console.warn).toHaveBeenCalledTimes(1); + expect(console.warn).toHaveBeenCalledWith( + '[DEPRECATED] The `iconType` prop is deprecated and will be removed in v2.0.0.' + ); + }); + + it('should console 2 deprecation warning without repetition', () => { + console.warn = jest.fn(); + + const component = mount( + + ); + component.setProps({ + iconType: 'database', + iconProps: { color: 'blue' }, + }); + + const results = [ + '[DEPRECATED] The `iconType` prop is deprecated and will be removed in v2.0.0.', + '[DEPRECATED] The `iconProps` prop is deprecated and will be removed in v2.0.0.', + ]; + + expect(console.warn).toHaveBeenCalledTimes(2); + results.forEach((item) => + expect(console.warn).toHaveBeenCalledWith(item) + ); + }); + + it('should not console deprecation warning', () => { + console.warn = jest.fn(); + + mount(); + + expect(console.warn).not.toHaveBeenCalled(); + }); + }); }); diff --git a/src/components/page/page_header/page_header.tsx b/src/components/page/page_header/page_header.tsx index 50cf06ac87..97e2359c3e 100644 --- a/src/components/page/page_header/page_header.tsx +++ b/src/components/page/page_header/page_header.tsx @@ -28,7 +28,7 @@ * under the License. */ -import React, { FunctionComponent, HTMLAttributes, useEffect } from 'react'; +import React, { FunctionComponent, HTMLAttributes } from 'react'; import classNames from 'classnames'; import { CommonProps, keysOf } from '../../common'; import { @@ -39,6 +39,7 @@ import { _OuiPageRestrictWidth, setPropsForRestrictedPageWidth, } from '../_restrict_width'; +import { useDeprecatedPropWarning } from '../../../utils'; const paddingSizeToClassNameMap = { none: null, @@ -92,13 +93,10 @@ export const OuiPageHeader: FunctionComponent = ({ style ); - useEffect(() => { - if (iconType || iconProps) { - console.warn( - 'WARNING: The `iconType` and `iconProps` properties in `OuiPageHeader` are deprecated and will be removed in the future. Please update your code accordingly.' - ); - } - }, [iconType, iconProps]); + useDeprecatedPropWarning({ + props: { iconType, iconProps }, + version: '2.0.0', + }); const classes = classNames( 'ouiPageHeader', diff --git a/src/utils/deprecated/__snapshots__/deprecated.test.tsx.snap b/src/utils/deprecated/__snapshots__/deprecated.test.tsx.snap index f31fac9b05..16811bd308 100644 --- a/src/utils/deprecated/__snapshots__/deprecated.test.tsx.snap +++ b/src/utils/deprecated/__snapshots__/deprecated.test.tsx.snap @@ -1,3 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`deprecated should render component 1`] = `
    `; +exports[`deprecatedComponentWarning should render wrapped component 1`] = ` +
    +`; diff --git a/src/utils/deprecated/deprecated.test.tsx b/src/utils/deprecated/deprecated.test.tsx index 331428e39c..69daed1c1b 100644 --- a/src/utils/deprecated/deprecated.test.tsx +++ b/src/utils/deprecated/deprecated.test.tsx @@ -3,37 +3,168 @@ * SPDX-License-Identifier: Apache-2.0 */ -import React from 'react'; +import React, { FC } from 'react'; import { mount, render } from 'enzyme'; -import { deprecated, getDeprecatedMessage } from './deprecated'; - -describe('deprecated', () => { - const warning = 'This component is deprecated in favor of another.'; +import { + deprecatedComponentWarning, + useDeprecatedPropWarning, +} from './deprecated'; +describe('deprecatedComponentWarning', () => { it('should console warning', () => { console.warn = jest.fn(); - const Component = () =>
    ; - const DeprecatedComponent = deprecated(warning)(Component); - mount(); + const ExampleComponent = () =>
    ; + ExampleComponent.displayName = 'Example'; + + const Example = deprecatedComponentWarning({ + newComponentName: 'NewComponent', + version: '2.0.0', + })(ExampleComponent); + + const component = mount(); + component.setProps({ name: 'new' }); - expect(console.warn).toHaveBeenCalledWith(getDeprecatedMessage(warning)); + expect(console.warn).toHaveBeenCalledTimes(1); + expect(console.warn).toHaveBeenCalledWith( + '[DEPRECATED] Example is deprecated in favor of NewComponent and will be removed in v2.0.0.' + ); }); - it('should render component', () => { + it('should console custom warning', () => { console.warn = jest.fn(); - const Component = () =>
    ; - const DeprecatedComponent = deprecated(warning)(Component); + const ExampleComponent = () =>
    ; + ExampleComponent.displayName = 'Example'; + + const Example = deprecatedComponentWarning({ + getMessage: (componentName) => `Custom message for \`${componentName}\`.`, + })(ExampleComponent); + + const component = mount(); + component.setProps({ name: 'new' }); + + expect(console.warn).toHaveBeenCalledTimes(1); + expect(console.warn).toHaveBeenCalledWith( + '[DEPRECATED] Custom message for `Example`.' + ); + }); + + it('should render wrapped component', () => { + console.warn = jest.fn(); + + const ExampleComponent = () =>
    ; + ExampleComponent.displayName = 'Example'; + + const Example = deprecatedComponentWarning({ + newComponentName: 'New Component', + version: '2.0.0', + })(ExampleComponent); - const component = render(); + const component = render(); expect(component).toMatchSnapshot(); }); it('should properly name DeprecatedWrapper function', () => { - const Component = () =>
    ; - const DeprecatedComponent = deprecated(warning)(Component); + const ExampleComponent = () =>
    ; + ExampleComponent.displayName = 'Example'; + + const Example = deprecatedComponentWarning({ + newComponentName: 'New Component', + version: '2.0.0', + })(ExampleComponent); + + expect(Example.name).toEqual('Example'); + }); +}); + +describe('useDeprecatedPropWarning', () => { + interface IExampleComponent { + name?: string; + age?: number; + version?: string; + getMessage?: (propName: string) => string; + } + + const ExampleDefaultMessageComponent: FC = ({ + name, + age, + version, + }) => { + useDeprecatedPropWarning({ props: { name, age }, version }); + + return
    ; + }; + + const ExampleCustomMessageComponent: FC = ({ + name, + age, + getMessage, + }) => { + useDeprecatedPropWarning({ props: { name, age }, getMessage }); + + return
    ; + }; + + it('should console 1 warning without repetition', () => { + console.warn = jest.fn(); + + const component = mount(); + component.setProps({ name: 'new name' }); + + expect(console.warn).toHaveBeenCalledTimes(1); + expect(console.warn).toHaveBeenCalledWith( + '[DEPRECATED] The `name` prop is deprecated and will be removed.' + ); + }); + + it('should console 2 warning without repetition', () => { + console.warn = jest.fn(); + + const component = mount( + + ); + component.setProps({ name: 'new name', age: 22 }); + + const results = [ + '[DEPRECATED] The `name` prop is deprecated and will be removed.', + '[DEPRECATED] The `age` prop is deprecated and will be removed.', + ]; + + expect(console.warn).toHaveBeenCalledTimes(2); + results.forEach((item) => expect(console.warn).toHaveBeenCalledWith(item)); + }); + + it('should console warning with version', () => { + console.warn = jest.fn(); + + mount(); + + expect(console.warn).toHaveBeenCalledWith( + '[DEPRECATED] The `name` prop is deprecated and will be removed in v2.0.0.' + ); + }); + + it('should console warning with custom message', () => { + console.warn = jest.fn(); + + mount( + `Custom message: \`${propName}\`.`} + /> + ); + + expect(console.warn).toHaveBeenCalledWith( + '[DEPRECATED] Custom message: `name`.' + ); + }); + + it('should not console warning', () => { + console.warn = jest.fn(); + + mount(); - expect(DeprecatedComponent.name).toEqual('Component'); + expect(console.warn).not.toHaveBeenCalled(); }); }); diff --git a/src/utils/deprecated/deprecated.tsx b/src/utils/deprecated/deprecated.tsx index 6d4c80b40f..926a2aba49 100644 --- a/src/utils/deprecated/deprecated.tsx +++ b/src/utils/deprecated/deprecated.tsx @@ -3,25 +3,75 @@ * SPDX-License-Identifier: Apache-2.0 */ -import React, { useEffect } from 'react'; +import React, { useEffect, useRef } from 'react'; +import { ExclusiveUnion } from '../../components/common'; export const getDeprecatedMessage = (message: string): string => `[DEPRECATED] ${message}`; -export const deprecated = (message: string) => { +type DeprecatedComponentWarning = ExclusiveUnion< + { newComponentName: string; version?: string }, + { getMessage?: (deprecatedComponentName: string) => string } +>; + +export const deprecatedComponentWarning = ({ + newComponentName, + version, + getMessage, +}: DeprecatedComponentWarning) => { return >(Component: T): T => { + const deprecatedComponentName = Component.displayName || Component.name; + const DeprecatedWrapper = (props: React.ComponentProps) => { useEffect(() => { - console.warn(getDeprecatedMessage(message)); + const defaultMessage = version + ? `${deprecatedComponentName} is deprecated in favor of ${newComponentName} and will be removed in v${version}.` + : `${deprecatedComponentName} is deprecated in favor of ${newComponentName} and will be removed.`; + const message = getMessage?.(deprecatedComponentName) || defaultMessage; + const deprecatedMessage = getDeprecatedMessage(message); + + console.warn(deprecatedMessage); }, []); return ; }; Object.defineProperty(DeprecatedWrapper, 'name', { - value: Component.displayName || Component.name, + value: deprecatedComponentName, }); return DeprecatedWrapper as T; }; }; + +type _DeprecatedPropWarningExclusiveProps = ExclusiveUnion< + { version?: string }, + { getMessage?: (deprecatedComponentName: string) => string } +>; + +type DeprecatedPropWarning = { + props: Record; +} & _DeprecatedPropWarningExclusiveProps; + +export const useDeprecatedPropWarning = ({ + props, + version, + getMessage, +}: DeprecatedPropWarning): void => { + const warnedProps = useRef(new Set()).current; + + useEffect(() => { + Object.entries(props).forEach(([name, value]) => { + if (value !== undefined && !warnedProps.has(name)) { + const defaultMessage = version + ? `The \`${name}\` prop is deprecated and will be removed in v${version}.` + : `The \`${name}\` prop is deprecated and will be removed.`; + const message = getMessage?.(name) || defaultMessage; + const deprecatedMessage = getDeprecatedMessage(message); + + warnedProps.add(name); + console.warn(deprecatedMessage); + } + }); + }, [warnedProps, props, version, getMessage]); +}; From 720cd8ce94a3e7badea56d0dddbc48487eaf7a6b Mon Sep 17 00:00:00 2001 From: Andrey Myssak <40265277+andreymyssak@users.noreply.github.com> Date: Wed, 14 Jun 2023 22:50:49 +0600 Subject: [PATCH 13/36] Update the default branch (#584) (#798) Signed-off-by: Andrey Myssak Co-authored-by: Sergey Myssak --- FAQ.md | 2 +- scripts/deploy/deploy_docs | 4 ++-- scripts/update-changelog-version.js | 17 ++++++++++------- src-docs/src/views/datagrid/datagrid_example.js | 2 +- src-docs/src/views/guidelines/sass.js | 12 ++++++------ src-docs/src/views/home/home_view.js | 6 +++--- src-docs/src/views/package/changelog.js | 2 +- src-docs/src/views/package/i18n_tokens.js | 2 +- src-docs/src/views/tool_tip/tool_tip_example.js | 2 +- wiki/documentation-guidelines.md | 6 +++--- 10 files changed, 29 insertions(+), 26 deletions(-) diff --git a/FAQ.md b/FAQ.md index f7173c787f..fd5fe85032 100644 --- a/FAQ.md +++ b/FAQ.md @@ -14,7 +14,7 @@ Yes, but be aware of the [license](LICENSE) as always. The roadmap and prioritie We use [semver](https://semver.org/) for versioning and use that to denote breaking changes in OUI upgrades. We consider API changes in our prop names or existing component functionality to be a reason for a breaking change, but do not consider renaming of CSS selectors, mixins, or other style changes to be breaking. -Traditionally releases are made weekly against whatever is in master and you can upgrade from NPM as you see fit. +Traditionally releases are made weekly against whatever is in main and you can upgrade from NPM as you see fit. ## How do you handle Typescript, Sass and theming? diff --git a/scripts/deploy/deploy_docs b/scripts/deploy/deploy_docs index f2c3e466e0..d8eeb9a110 100755 --- a/scripts/deploy/deploy_docs +++ b/scripts/deploy/deploy_docs @@ -41,7 +41,7 @@ set +x # Expected env variables: # * GPROJECT - GCE project name, e.g. elastic-bekitzur # * GCE_ACCOUNT - credentials for the google service account (JSON blob) -# * GIT_BRANCH - current Git branch or tag (e.g. "refs/heads/master", "v18.2.1") +# * GIT_BRANCH - current Git branch or tag (e.g. "refs/heads/main", "v18.2.1") if [[ -z "${GPROJECT}" ]]; then echo "GPROJECT is not set, e.g. 'GPROJECT=elastic-bekitzur'" @@ -52,7 +52,7 @@ if [[ -z "${GCE_ACCOUNT}" ]]; then exit 1 fi if [[ -z "${GIT_BRANCH}" ]]; then - echo "GIT_BRANCH is not set, e.g. 'GIT_BRANCH=refs/heads/master'" + echo "GIT_BRANCH is not set, e.g. 'GIT_BRANCH=refs/heads/main'" exit 1 fi diff --git a/scripts/update-changelog-version.js b/scripts/update-changelog-version.js index 9f1df53404..945162b190 100644 --- a/scripts/update-changelog-version.js +++ b/scripts/update-changelog-version.js @@ -21,17 +21,20 @@ const { version } = require(pathToPackage); const pathToChangelog = path.resolve(cwd, 'CHANGELOG.md'); let changelogContents = fs.readFileSync(pathToChangelog).toString(); -const masterHeading = '## [`master`](https://github.com/opensearch-project/oui/tree/master)'; -// sanity check, changelog should start with master heading -if (changelogContents.indexOf(masterHeading) !== 0) { - console.error(`Cannot update CHANGELOG.md: does not start with expected heading "${masterHeading}"`); +const mainHeading = + '## [`main`](https://github.com/opensearch-project/oui/tree/main)'; +// sanity check, changelog should start with main heading +if (changelogContents.indexOf(mainHeading) !== 0) { + console.error( + `Cannot update CHANGELOG.md: does not start with expected heading "${mainHeading}"` + ); process.exit(1); } -// Insert the changelog template after the master header +// Insert the changelog template after the main header changelogContents = changelogContents.replace( - masterHeading, - `${masterHeading} + mainHeading, + `${mainHeading} No public interface changes since \`${version}\`. diff --git a/src-docs/src/views/datagrid/datagrid_example.js b/src-docs/src/views/datagrid/datagrid_example.js index 02004839ed..0f020e791b 100644 --- a/src-docs/src/views/datagrid/datagrid_example.js +++ b/src-docs/src/views/datagrid/datagrid_example.js @@ -427,7 +427,7 @@ export const DataGridExample = { explanation on the lower level object types. The majority of the types are defined in the{' '} /datagrid/data_grid_types.ts {' '} diff --git a/src-docs/src/views/guidelines/sass.js b/src-docs/src/views/guidelines/sass.js index b06c5f0e8e..52a03a8257 100644 --- a/src-docs/src/views/guidelines/sass.js +++ b/src-docs/src/views/guidelines/sass.js @@ -611,11 +611,11 @@ export const SassGuidelines = ({ selectedTheme }) => {

    View the{' '} - + variable {' '} and{' '} - + mixins {' '} Sass code for typography. For most of your components we recommend @@ -753,7 +753,7 @@ export const SassGuidelines = ({ selectedTheme }) => {

    - + View the Sass code for shadow mixins . @@ -888,7 +888,7 @@ export const SassGuidelines = ({ selectedTheme }) => {

    If you need to further customize the position or side of the overflow shadow use the ouiOverflowShadow{' '} - + mixin . @@ -903,7 +903,7 @@ export const SassGuidelines = ({ selectedTheme }) => {

    - + View the Sass code for media queries . @@ -983,7 +983,7 @@ export const SassGuidelines = ({ selectedTheme }) => { Animation

    - + View the Sass code for animation . diff --git a/src-docs/src/views/home/home_view.js b/src-docs/src/views/home/home_view.js index feacba70aa..fa86cfe2d0 100644 --- a/src-docs/src/views/home/home_view.js +++ b/src-docs/src/views/home/home_view.js @@ -66,7 +66,7 @@ export const HomeView = () => (

    - + Getting started @@ -76,7 +76,7 @@ export const HomeView = () => ( - + Contributing @@ -212,7 +212,7 @@ export const HomeView = () => (

    OUI is licensed under{' '} - + Apache License 2.0 {' '} | © OpenSearch contributors, {new Date().getFullYear()}. diff --git a/src-docs/src/views/package/changelog.js b/src-docs/src/views/package/changelog.js index a23ed60a7c..682d6c3739 100644 --- a/src-docs/src/views/package/changelog.js +++ b/src-docs/src/views/package/changelog.js @@ -15,7 +15,7 @@ import { OuiMarkdownFormat } from '../../../../src'; import { GuidePage } from '../../components/guide_page'; const changelogSource = require('!!raw-loader!../../../../CHANGELOG.md').default.replace( - /## \[`master`\].+?##/s, // remove the `master` heading & contents + /## \[`main`\].+?##/s, // remove the `main` heading & contents '##' ); diff --git a/src-docs/src/views/package/i18n_tokens.js b/src-docs/src/views/package/i18n_tokens.js index e765349c83..a67077d9a4 100644 --- a/src-docs/src/views/package/i18n_tokens.js +++ b/src-docs/src/views/package/i18n_tokens.js @@ -36,7 +36,7 @@ const columns = [ + href={`https://github.com/opensearch-project/oui/blob/main/${filepath}#L${loc.start.line}`}> {filepath}:{loc.start.line}:{loc.start.column}

    diff --git a/src-docs/src/views/tool_tip/tool_tip_example.js b/src-docs/src/views/tool_tip/tool_tip_example.js index 9359a31ab6..49d9be1b26 100644 --- a/src-docs/src/views/tool_tip/tool_tip_example.js +++ b/src-docs/src/views/tool_tip/tool_tip_example.js @@ -88,7 +88,7 @@ export const ToolTipExample = { pass in a custom component, then you’ll need to make sure these props are applied to the root element rendered by your component. The best way to do that is to follow{' '} - + OUI’s guidelines on pass-through props . diff --git a/wiki/documentation-guidelines.md b/wiki/documentation-guidelines.md index 9ada424101..5c89843fa1 100644 --- a/wiki/documentation-guidelines.md +++ b/wiki/documentation-guidelines.md @@ -51,7 +51,7 @@ import { // ... -View the Sass code for shadow mixins. +View the Sass code for shadow mixins. ``` ## Adding snippets @@ -134,7 +134,7 @@ Most documentation pages include a [playground section](https://oui.opensearch.o ### Toggles for required props -Props marked required for a component typically do not have default values and therefore need to be set for the playground to work well. For example, the `children` prop, which can be set in the component's [`playground.js` file](https://github.com/opensearch-project/oui/blob/master/src-docs/src/views/accordion/playground.js): +Props marked required for a component typically do not have default values and therefore need to be set for the playground to work well. For example, the `children` prop, which can be set in the component's [`playground.js` file](https://github.com/opensearch-project/oui/blob/main/src-docs/src/views/accordion/playground.js): ```js propsToUse.children = { @@ -213,7 +213,7 @@ import { ExampleContext } from '../../services'; Any updates to the `src/` folder require an entry in the [CHANGELOG.md](../CHANGELOG.md) file. Documentation-only changes do not. Here are our guidelines for updating the file: -* Append your changes to the `master` sub-heading of `CHANGELOG.md`. +* Append your changes to the `main` sub-heading of `CHANGELOG.md`. * Add a list item for each significant change in the PR: bugs that were fixed, new features, new components, or changes to the public API * In the list item, always link to any relevant pull requests * Add a summary of what has changed, making sure it's informative to consumers who might be unaware of implementation details From 9d40e8f2769651fb3382a8046ee0a1d28e850d15 Mon Sep 17 00:00:00 2001 From: Miki Date: Tue, 20 Jun 2023 08:55:27 -0700 Subject: [PATCH 14/36] [OuiComboBox] Add docs for icon and revise example for clearOnBlur (#806) Signed-off-by: Miki --- src-docs/src/views/combo_box/clear_on_blur.js | 32 +------ .../src/views/combo_box/combo_box_example.js | 37 ++++++- .../src/views/combo_box/combo_box_icon.js | 96 +++++++++++++++++++ 3 files changed, 135 insertions(+), 30 deletions(-) create mode 100644 src-docs/src/views/combo_box/combo_box_icon.js diff --git a/src-docs/src/views/combo_box/clear_on_blur.js b/src-docs/src/views/combo_box/clear_on_blur.js index 01c3585240..8bf6ba09b5 100644 --- a/src-docs/src/views/combo_box/clear_on_blur.js +++ b/src-docs/src/views/combo_box/clear_on_blur.js @@ -14,7 +14,7 @@ import React, { useState } from 'react'; import { OuiComboBox } from '../../../../src/components'; export default () => { - const [options, updateOptions] = useState([ + const [options] = useState([ { label: 'Titan', 'data-test-subj': 'titanOption', @@ -55,38 +55,12 @@ export default () => { setSelected(selectedOptions); }; - const onCreateOption = (searchValue, flattenedOptions) => { - const normalizedSearchValue = searchValue.trim().toLowerCase(); - - if (!normalizedSearchValue) { - return; - } - - const newOption = { - label: searchValue, - }; - - // Create the option if it doesn't exist. - if ( - flattenedOptions.findIndex( - (option) => option.label.trim().toLowerCase() === normalizedSearchValue - ) === -1 - ) { - updateOptions([...options, newOption]); - } - - // Select the option. - setSelected((prevSelected) => [...prevSelected, newOption]); - }; - return ( ); diff --git a/src-docs/src/views/combo_box/combo_box_example.js b/src-docs/src/views/combo_box/combo_box_example.js index 4b94785685..452c25798a 100644 --- a/src-docs/src/views/combo_box/combo_box_example.js +++ b/src-docs/src/views/combo_box/combo_box_example.js @@ -182,6 +182,19 @@ const delimiterSnippet = ``; +import WithIcon from './combo_box_icon'; +const withIconSource = require('!!raw-loader!./combo_box_icon'); +const withIconHtml = renderToHtml(WithIcon); +const withIconSnippet = ``; + import StartingWith from './startingWith'; const startingWithSource = require('!!raw-loader!./startingWith'); const startingWithHtml = renderToHtml(StartingWith); @@ -214,7 +227,6 @@ const clearOnBlurSnippet = ``; @@ -563,6 +575,29 @@ export const ComboBoxExample = { snippet: delimiterSnippet, demo: , }, + { + title: 'With icon', + source: [ + { + type: GuideSectionTypes.JS, + code: withIconSource, + }, + { + type: GuideSectionTypes.HTML, + code: withIconHtml, + }, + ], + text: ( +

    + Pass an IconType string to show the icon in the + combo box, or set it to true to show the search + icon. +

    + ), + props: { OuiComboBox, OuiComboBoxOptionOption }, + snippet: withIconSnippet, + demo: , + }, { title: 'Sorting matches', source: [ diff --git a/src-docs/src/views/combo_box/combo_box_icon.js b/src-docs/src/views/combo_box/combo_box_icon.js new file mode 100644 index 0000000000..2108486293 --- /dev/null +++ b/src-docs/src/views/combo_box/combo_box_icon.js @@ -0,0 +1,96 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * 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. + */ + +import React, { useState } from 'react'; + +import { OuiComboBox } from '../../../../src/components'; + +const staticOptions = [ + { + label: 'Titan', + 'data-test-subj': 'titanOption', + }, + { + label: 'Enceladus is disabled', + disabled: true, + }, + { + label: 'Mimas', + }, + { + label: 'Dione', + }, + { + label: 'Iapetus', + }, + { + label: 'Phoebe', + }, + { + label: 'Rhea', + }, + { + label: + "Pandora is one of Saturn's moons, named for a Titaness of Greek mythology", + }, + { + label: 'Tethys', + }, + { + label: 'Hyperion', + }, +]; + +export default () => { + const [options, setOptions] = useState(staticOptions); + const [selectedOptions, setSelected] = useState([options[2], options[4]]); + + const onChange = (selectedOptions) => { + setSelected(selectedOptions); + }; + + const onCreateOption = (searchValue, flattenedOptions = []) => { + const normalizedSearchValue = searchValue.trim().toLowerCase(); + + if (!normalizedSearchValue) { + return; + } + + const newOption = { + label: searchValue, + }; + + // Create the option if it doesn't exist. + if ( + flattenedOptions.findIndex( + (option) => option.label.trim().toLowerCase() === normalizedSearchValue + ) === -1 + ) { + setOptions([...options, newOption]); + } + + // Select the option. + // Use the previousState parameter (prevSelected) from the setState + // instance (setSelected) to ensure looped calls do not override each other + setSelected((prevSelected) => [...prevSelected, newOption]); + }; + + return ( + + ); +}; From 3846639229ab407d927ec88309a9544e36ac8c63 Mon Sep 17 00:00:00 2001 From: Sirazh Gabdullin Date: Wed, 14 Jun 2023 22:17:11 +0600 Subject: [PATCH 15/36] Updated bug issue template (#764) * Update bug issue template Signed-off-by: Sirazh Gabdullin * Add spacing Signed-off-by: Sirazh Gabdullin --------- Signed-off-by: Sirazh Gabdullin --- .github/ISSUE_TEMPLATE/bug_template.md | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_template.md b/.github/ISSUE_TEMPLATE/bug_template.md index 5e69424f1c..01382dbe4d 100644 --- a/.github/ISSUE_TEMPLATE/bug_template.md +++ b/.github/ISSUE_TEMPLATE/bug_template.md @@ -18,25 +18,18 @@ Steps to reproduce the behavior: 4. See error **Expected behavior** -A clear and concise description of what you expected to happen. - -**OpenSearch Version** -Please list the version of OpenSearch being used. - -**Dashboards Version** -Please list the version of OpenSearch Dashboards being used. -**Plugins** - -Please list all plugins currently enabled. +A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **Host/Environment (please complete the following information):** + - OUI Version: [e.g. 1.0] + - OSD Version (if applicable): [e.g. 2.7.0] - OS: [e.g. iOS] - - Browser and version [e.g. 22] + - Browser and version [e.g. Chrome 90] **Additional context** From 4c1a4f452d5dc8ee05a48917a8cc41da3ec63366 Mon Sep 17 00:00:00 2001 From: Sergey Myssak Date: Wed, 3 May 2023 01:06:58 +0600 Subject: [PATCH 16/36] Move OuiBottomBar default inline styles to the CSS file (#693) (#694) Signed-off-by: Sergey Myssak Co-authored-by: Andrey Myssak --- .../__snapshots__/bottom_bar.test.tsx.snap | 14 +------------- src/components/bottom_bar/_bottom_bar.scss | 4 ++++ src/components/bottom_bar/bottom_bar.tsx | 6 +++--- .../page/__snapshots__/page_template.test.tsx.snap | 1 - 4 files changed, 8 insertions(+), 17 deletions(-) diff --git a/src/components/bottom_bar/__snapshots__/bottom_bar.test.tsx.snap b/src/components/bottom_bar/__snapshots__/bottom_bar.test.tsx.snap index cffdbf58fb..9a21156ab8 100644 --- a/src/components/bottom_bar/__snapshots__/bottom_bar.test.tsx.snap +++ b/src/components/bottom_bar/__snapshots__/bottom_bar.test.tsx.snap @@ -6,7 +6,6 @@ Array [ aria-label="aria-label" class="ouiBottomBar ouiBottomBar--fixed ouiBottomBar--paddingMedium testClass1 testClass2" data-test-subj="test subject string" - style="left:0;right:0;bottom:0" >

    Date: Wed, 12 Apr 2023 05:07:37 +0600 Subject: [PATCH 17/36] [CCI] Update react-window and react-virtualized-auto-sizer dependencies (#652) * Update react-window (#594) * Update react-virtualized-auto-sizer (#594) Co-authored-by: Sergey Myssak Signed-off-by: Andrey Myssak --------- Signed-off-by: Andrey Myssak Co-authored-by: Sergey Myssak --- package.json | 8 +++--- src/components/datagrid/data_grid.test.tsx | 4 +++ yarn.lock | 32 +++++++++++----------- 3 files changed, 24 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index 1f0a1e7d77..468792cc09 100644 --- a/package.json +++ b/package.json @@ -86,8 +86,8 @@ "@types/numeral": "^0.0.28", "@types/react-beautiful-dnd": "^13.0.0", "@types/react-input-autosize": "^2.2.0", - "@types/react-virtualized-auto-sizer": "^1.0.0", - "@types/react-window": "^1.8.2", + "@types/react-virtualized-auto-sizer": "^1.0.1", + "@types/react-window": "^1.8.5", "@types/refractor": "^3.0.0", "@types/resize-observer-browser": "^0.1.5", "@types/vfile-message": "^2.0.0", @@ -103,8 +103,8 @@ "react-focus-on": "^3.5.0", "react-input-autosize": "^2.2.2", "react-is": "~16.3.0", - "react-virtualized-auto-sizer": "^1.0.2", - "react-window": "^1.8.5", + "react-virtualized-auto-sizer": "1.0.7", + "react-window": "^1.8.8", "refractor": "^3.6.0", "rehype-raw": "^5.0.0", "rehype-react": "^6.0.0", diff --git a/src/components/datagrid/data_grid.test.tsx b/src/components/datagrid/data_grid.test.tsx index dd80686028..95428c5bdf 100644 --- a/src/components/datagrid/data_grid.test.tsx +++ b/src/components/datagrid/data_grid.test.tsx @@ -594,6 +594,7 @@ describe('OuiDataGrid', () => { "height": 34, "left": 0, "position": "absolute", + "right": undefined, "top": "100px", "width": 100, }, @@ -612,6 +613,7 @@ describe('OuiDataGrid', () => { "height": 34, "left": 100, "position": "absolute", + "right": undefined, "top": "100px", "width": 100, }, @@ -630,6 +632,7 @@ describe('OuiDataGrid', () => { "height": 34, "left": 0, "position": "absolute", + "right": undefined, "top": "134px", "width": 100, }, @@ -648,6 +651,7 @@ describe('OuiDataGrid', () => { "height": 34, "left": 100, "position": "absolute", + "right": undefined, "top": "134px", "width": 100, }, diff --git a/yarn.lock b/yarn.lock index 15c0feb56c..fe99ac583b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2382,17 +2382,17 @@ "@types/history" "*" "@types/react" "*" -"@types/react-virtualized-auto-sizer@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@types/react-virtualized-auto-sizer/-/react-virtualized-auto-sizer-1.0.0.tgz#fc32f30a8dab527b5816f3a757e1e1d040c8f272" - integrity sha512-NMErdIdSnm2j/7IqMteRiRvRulpjoELnXWUwdbucYCz84xG9PHcoOrr7QfXwB/ku7wd6egiKFrzt/+QK4Imeeg== +"@types/react-virtualized-auto-sizer@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@types/react-virtualized-auto-sizer/-/react-virtualized-auto-sizer-1.0.1.tgz#b3187dae1dfc4c15880c9cfc5b45f2719ea6ebd4" + integrity sha512-GH8sAnBEM5GV9LTeiz56r4ZhMOUSrP43tAQNSRVxNexDjcNKLCEtnxusAItg1owFUFE6k0NslV26gqVClVvong== dependencies: "@types/react" "*" -"@types/react-window@^1.8.2": - version "1.8.2" - resolved "https://registry.yarnpkg.com/@types/react-window/-/react-window-1.8.2.tgz#a5a6b2762ce73ffaab7911ee1397cf645f2459fe" - integrity sha512-gP1xam68Wc4ZTAee++zx6pTdDAH08rAkQrWm4B4F/y6hhmlT9Mgx2q8lTCXnrPHXsr15XjRN9+K2DLKcz44qEQ== +"@types/react-window@^1.8.5": + version "1.8.5" + resolved "https://registry.yarnpkg.com/@types/react-window/-/react-window-1.8.5.tgz#285fcc5cea703eef78d90f499e1457e9b5c02fc1" + integrity sha512-V9q3CvhC9Jk9bWBOysPGaWy/Z0lxYcTXLtLipkt2cnRj1JOSFNF7wqGpkScSXMgBwC+fnVRg/7shwgddBG5ICw== dependencies: "@types/react" "*" @@ -13402,15 +13402,15 @@ react-view@^2.3.2: prism-react-renderer "^1.0.2" react-simple-code-editor "^0.10.0" -react-virtualized-auto-sizer@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/react-virtualized-auto-sizer/-/react-virtualized-auto-sizer-1.0.2.tgz#a61dd4f756458bbf63bd895a92379f9b70f803bd" - integrity sha512-MYXhTY1BZpdJFjUovvYHVBmkq79szK/k7V3MO+36gJkWGkrXKtyr4vCPtpphaTLRAdDNoYEYFZWE8LjN+PIHNg== +react-virtualized-auto-sizer@1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/react-virtualized-auto-sizer/-/react-virtualized-auto-sizer-1.0.7.tgz#bfb8414698ad1597912473de3e2e5f82180c1195" + integrity sha512-Mxi6lwOmjwIjC1X4gABXMJcKHsOo0xWl3E3ugOgufB8GJU+MqrtY35aBuvCYv/razQ1Vbp7h1gWJjGjoNN5pmA== -react-window@^1.8.5: - version "1.8.5" - resolved "https://registry.yarnpkg.com/react-window/-/react-window-1.8.5.tgz#a56b39307e79979721021f5d06a67742ecca52d1" - integrity sha512-HeTwlNa37AFa8MDZFZOKcNEkuF2YflA0hpGPiTT9vR7OawEt+GZbfM6wqkBahD3D3pUjIabQYzsnY/BSJbgq6Q== +react-window@^1.8.8: + version "1.8.8" + resolved "https://registry.yarnpkg.com/react-window/-/react-window-1.8.8.tgz#1b52919f009ddf91970cbdb2050a6c7be44df243" + integrity sha512-D4IiBeRtGXziZ1n0XklnFGu7h9gU684zepqyKzgPNzrsrk7xOCxni+TCckjg2Nr/DiaEEGVVmnhYSlT2rB47dQ== dependencies: "@babel/runtime" "^7.0.0" memoize-one ">=3.1.1 <6" From 687a7f38dd667874542cea5f7fdc25abfcfb37a9 Mon Sep 17 00:00:00 2001 From: Andrey Myssak <40265277+andreymyssak@users.noreply.github.com> Date: Wed, 12 Apr 2023 23:46:49 +0600 Subject: [PATCH 18/36] Update dropzone (#594) (#651) Signed-off-by: Andrey Myssak Co-authored-by: Sergey Myssak --- package.json | 2 +- .../markdown_editor.test.tsx.snap | 10 ++-- yarn.lock | 46 ++++++++++++------- 3 files changed, 36 insertions(+), 22 deletions(-) diff --git a/package.json b/package.json index 468792cc09..2390bc1e57 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,7 @@ "prop-types": "^15.6.0", "react-ace": "^7.0.5", "react-beautiful-dnd": "^13.0.0", - "react-dropzone": "^11.2.0", + "react-dropzone": "^14.2.3", "react-focus-on": "^3.5.0", "react-input-autosize": "^2.2.2", "react-is": "~16.3.0", diff --git a/src/components/markdown_editor/__snapshots__/markdown_editor.test.tsx.snap b/src/components/markdown_editor/__snapshots__/markdown_editor.test.tsx.snap index a8bdb5b7c3..def0944bf8 100644 --- a/src/components/markdown_editor/__snapshots__/markdown_editor.test.tsx.snap +++ b/src/components/markdown_editor/__snapshots__/markdown_editor.test.tsx.snap @@ -191,6 +191,7 @@ exports[`OuiMarkdownEditor is rendered 1`] = ` >