diff --git a/package.json b/package.json index 81ff22332ba8e1..cfcbed3eb1d0c0 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "url": "https://github.com/elastic/kibana.git" }, "dependencies": { - "@elastic/eui": "1.1.0", + "@elastic/eui": "3.0.0", "@elastic/filesaver": "1.1.2", "@elastic/numeral": "2.3.2", "@elastic/ui-ace": "0.2.3", diff --git a/packages/kbn-plugin-generator/sao_template/template/public/components/main/main.js b/packages/kbn-plugin-generator/sao_template/template/public/components/main/main.js index b32d9e46e442fe..ab9bf897ca79dc 100644 --- a/packages/kbn-plugin-generator/sao_template/template/public/components/main/main.js +++ b/packages/kbn-plugin-generator/sao_template/template/public/components/main/main.js @@ -30,12 +30,12 @@ export class Main extends React.Component { const { title } = this.props; return ( - - -

{title} Hello World!

-
-
+ + +

{title} Hello World!

+
+
diff --git a/packages/kbn-ui-framework/dist/ui_framework.css b/packages/kbn-ui-framework/dist/ui_framework.css index 0d013535e35554..409034cd9b6eac 100644 --- a/packages/kbn-ui-framework/dist/ui_framework.css +++ b/packages/kbn-ui-framework/dist/ui_framework.css @@ -78,15 +78,12 @@ main { overflow: hidden; } .kuiActionItem { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; } @@ -105,15 +102,12 @@ main { background-color: rgba(0, 0, 0, 0.1); } .kuiBar { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; @@ -121,22 +115,18 @@ main { /* 1 */ } .kuiBarSection { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; - -webkit-box-flex: 1; -webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto; margin-left: 25px; margin-right: 25px; } .kuiBarSection:not(:first-child):not(:last-child):not(:only-child) { - -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; @@ -145,12 +135,10 @@ main { margin-left: 0; } .kuiBarSection:last-child { margin-right: 0; - -webkit-box-flex: 0; -webkit-flex: 0 1 auto; -ms-flex: 0 1 auto; flex: 0 1 auto; /* 4 */ - -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; @@ -201,12 +189,10 @@ main { * 1. Solves whitespace problems introduced by inline elements. */ .kuiButton__inner { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; /* 1 */ - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; @@ -513,11 +499,9 @@ main { background-color: rgba(165, 231, 255, 0.5); } .kuiButtonGroup { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } @@ -545,24 +529,19 @@ main { margin-left: 2px; } .kuiButtonGroup--fullWidth { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } .kuiButtonGroup--fullWidth > .kuiButton { - -webkit-box-flex: 1; -webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto; text-align: center; } .kuiCard { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; @@ -572,20 +551,15 @@ main { line-height: 1.5; } .kuiCard__description { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; @@ -613,7 +587,6 @@ main { * 2. Offset the spacing between wrapped cards. */ .kuiCardGroup { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; @@ -628,7 +601,6 @@ main { * 2. Use an even margin all around the card so that the spacing is still even when wrapped. */ } .kuiCardGroup .kuiCard { - -webkit-box-flex: 1; -webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto; @@ -636,7 +608,6 @@ main { margin: 15px; /* 2 */ } .kuiCardGroup .kuiCard .kuiCard__description { - -webkit-box-flex: 1; -webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto; } @@ -687,20 +658,15 @@ main { right: 0; left: 0; background: rgba(255, 255, 255, 0.7); - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; @@ -736,11 +702,9 @@ main { cursor: pointer; } .kuiColorPicker__preview { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } @@ -890,11 +854,9 @@ main { margin-right: 8px; } .kuiContextMenu__itemLayout { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } @@ -1071,13 +1033,11 @@ main { color: #ffffff; } .kuiContextMenuItem__inner { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } .kuiContextMenuItem__text { - -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } @@ -1096,13 +1056,11 @@ main { text-decoration: none; } .kuiEvent { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } .kuiEventSymbol { - -webkit-box-flex: 0; -webkit-flex: 0 1 auto; -ms-flex: 0 1 auto; flex: 0 1 auto; @@ -1111,7 +1069,6 @@ main { padding-right: 8px; } .kuiEventBody { - -webkit-box-flex: 1; -webkit-flex: 1 1 0%; -ms-flex: 1 1 0%; flex: 1 1 0%; } @@ -1150,16 +1107,13 @@ main { border-bottom: solid 2px #00A69B; } .kuiFlexGroup { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: stretch; -webkit-align-items: stretch; -ms-flex-align: stretch; align-items: stretch; } .kuiFlexGroup .kuiFlexItem { - -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } @@ -1185,13 +1139,11 @@ main { margin: 20px; } .kuiFlexGroup--justifyContentSpaceEvenly { - -webkit-box-pack: space-evenly; -webkit-justify-content: space-evenly; -ms-flex-pack: space-evenly; justify-content: space-evenly; } .kuiFlexGroup--justifyContentSpaceBetween { - -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; } @@ -1202,31 +1154,26 @@ main { justify-content: space-around; } .kuiFlexGroup--justifyContentCenter { - -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } .kuiFlexGroup--justifyContentFlexEnd { - -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; } .kuiFlexGroup--alignItemsStart { - -webkit-box-align: start; -webkit-align-items: flex-start; -ms-flex-align: start; align-items: flex-start; } .kuiFlexGroup--alignItemsCenter { - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } .kuiFlexGroup--alignItemsEnd { - -webkit-box-align: end; -webkit-align-items: flex-end; -ms-flex-align: end; align-items: flex-end; } @@ -1243,7 +1190,6 @@ main { flex-wrap: wrap; } } .kuiFlexGrid { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; @@ -1252,12 +1198,10 @@ main { flex-wrap: wrap; margin-bottom: 0; } .kuiFlexGrid > .kuiFlexItem { - -webkit-box-flex: 0; -webkit-flex-grow: 0; -ms-flex-positive: 0; flex-grow: 0; } .kuiFlexGrid > .kuiFlexItem.kuiFlexItem--flexGrowZero { - -webkit-box-flex: 0 !important; -webkit-flex-grow: 0 !important; -ms-flex-positive: 0 !important; flex-grow: 0 !important; @@ -1274,7 +1218,6 @@ main { .kuiFlexGrid--gutterSmall { margin: -4px; - -webkit-box-align: stretch; -webkit-align-items: stretch; -ms-flex-align: stretch; align-items: stretch; } @@ -1285,7 +1228,6 @@ main { .kuiFlexGrid--gutterSmall { margin: -4px; - -webkit-box-align: stretch; -webkit-align-items: stretch; -ms-flex-align: stretch; align-items: stretch; } @@ -1296,7 +1238,6 @@ main { .kuiFlexGrid--gutterSmall { margin: -4px; - -webkit-box-align: stretch; -webkit-align-items: stretch; -ms-flex-align: stretch; align-items: stretch; } @@ -1314,7 +1255,6 @@ main { .kuiFlexGrid--gutterMedium { margin: -8px; - -webkit-box-align: stretch; -webkit-align-items: stretch; -ms-flex-align: stretch; align-items: stretch; } @@ -1325,7 +1265,6 @@ main { .kuiFlexGrid--gutterMedium { margin: -8px; - -webkit-box-align: stretch; -webkit-align-items: stretch; -ms-flex-align: stretch; align-items: stretch; } @@ -1336,7 +1275,6 @@ main { .kuiFlexGrid--gutterMedium { margin: -8px; - -webkit-box-align: stretch; -webkit-align-items: stretch; -ms-flex-align: stretch; align-items: stretch; } @@ -1354,7 +1292,6 @@ main { .kuiFlexGrid--gutterLarge { margin: -12px; - -webkit-box-align: stretch; -webkit-align-items: stretch; -ms-flex-align: stretch; align-items: stretch; } @@ -1365,7 +1302,6 @@ main { .kuiFlexGrid--gutterLarge { margin: -12px; - -webkit-box-align: stretch; -webkit-align-items: stretch; -ms-flex-align: stretch; align-items: stretch; } @@ -1376,7 +1312,6 @@ main { .kuiFlexGrid--gutterLarge { margin: -12px; - -webkit-box-align: stretch; -webkit-align-items: stretch; -ms-flex-align: stretch; align-items: stretch; } @@ -1394,7 +1329,6 @@ main { .kuiFlexGrid--gutterXLarge { margin: -16px; - -webkit-box-align: stretch; -webkit-align-items: stretch; -ms-flex-align: stretch; align-items: stretch; } @@ -1405,7 +1339,6 @@ main { .kuiFlexGrid--gutterXLarge { margin: -16px; - -webkit-box-align: stretch; -webkit-align-items: stretch; -ms-flex-align: stretch; align-items: stretch; } @@ -1416,7 +1349,6 @@ main { .kuiFlexGrid--gutterXLarge { margin: -16px; - -webkit-box-align: stretch; -webkit-align-items: stretch; -ms-flex-align: stretch; align-items: stretch; } @@ -1429,13 +1361,10 @@ main { * 1. Allow KuiPanels to expand to fill the item. */ .kuiFlexItem { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; /* 1 */ - -webkit-box-orient: vertical; - -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; @@ -1446,7 +1375,6 @@ main { */ } .kuiFlexItem.kuiFlexItem--flexGrowZero { /* 1 */ - -webkit-box-flex: 0; -webkit-flex-grow: 0; -ms-flex-positive: 0; flex-grow: 0; @@ -1456,52 +1384,42 @@ main { flex-basis: auto; /* 2 */ } .kuiFlexItem.kuiFlexItem--flexGrow1 { - -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } .kuiFlexItem.kuiFlexItem--flexGrow2 { - -webkit-box-flex: 2; -webkit-flex-grow: 2; -ms-flex-positive: 2; flex-grow: 2; } .kuiFlexItem.kuiFlexItem--flexGrow3 { - -webkit-box-flex: 3; -webkit-flex-grow: 3; -ms-flex-positive: 3; flex-grow: 3; } .kuiFlexItem.kuiFlexItem--flexGrow4 { - -webkit-box-flex: 4; -webkit-flex-grow: 4; -ms-flex-positive: 4; flex-grow: 4; } .kuiFlexItem.kuiFlexItem--flexGrow5 { - -webkit-box-flex: 5; -webkit-flex-grow: 5; -ms-flex-positive: 5; flex-grow: 5; } .kuiFlexItem.kuiFlexItem--flexGrow6 { - -webkit-box-flex: 6; -webkit-flex-grow: 6; -ms-flex-positive: 6; flex-grow: 6; } .kuiFlexItem.kuiFlexItem--flexGrow7 { - -webkit-box-flex: 7; -webkit-flex-grow: 7; -ms-flex-positive: 7; flex-grow: 7; } .kuiFlexItem.kuiFlexItem--flexGrow8 { - -webkit-box-flex: 8; -webkit-flex-grow: 8; -ms-flex-positive: 8; flex-grow: 8; } .kuiFlexItem.kuiFlexItem--flexGrow9 { - -webkit-box-flex: 9; -webkit-flex-grow: 9; -ms-flex-positive: 9; flex-grow: 9; } .kuiFlexItem.kuiFlexItem--flexGrow10 { - -webkit-box-flex: 10; -webkit-flex-grow: 10; -ms-flex-positive: 10; flex-grow: 10; } @@ -1592,11 +1510,9 @@ main { background-color: #0079a5; } .kuiCheckBoxLabel { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; @@ -1860,18 +1776,15 @@ main { * 1. We may want to put elements in here which have different heights. */ .kuiFieldGroup { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; /* 1 */ } .kuiFieldGroup--alignTop { - -webkit-box-align: start; -webkit-align-items: flex-start; -ms-flex-align: start; align-items: flex-start; } @@ -1882,7 +1795,6 @@ main { margin-left: 10px; } .kuiFieldGroupSection--wide { - -webkit-box-flex: 1; -webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto; } @@ -1890,7 +1802,6 @@ main { width: 100%; } .kuiGallery { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; @@ -1899,20 +1810,15 @@ main { flex-wrap: wrap; } .kuiGalleryItem { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; @@ -1931,15 +1837,12 @@ main { border-color: #00A6FF; } .kuiGalleryItem__image { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; @@ -1970,15 +1873,12 @@ main { color: #666; } .kuiHeaderBar { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; @@ -1990,22 +1890,18 @@ main { * 1. Align a single section to the left by default. */ .kuiHeaderBarSection { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; - -webkit-box-flex: 1; -webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto; margin-left: 25px; margin-right: 25px; } .kuiHeaderBarSection:not(:first-child):not(:last-child):not(:only-child) { - -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; @@ -2014,12 +1910,10 @@ main { margin-left: 0; } .kuiHeaderBarSection:last-child { margin-right: 0; - -webkit-box-flex: 0; -webkit-flex: 0 1 auto; -ms-flex: 0 1 auto; flex: 0 1 auto; /* 4 */ - -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; @@ -2118,11 +2012,9 @@ main { * 1. Align with first line of title text if it wraps. */ .kuiInfoPanelHeader { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: baseline; -webkit-align-items: baseline; -ms-flex-align: baseline; align-items: baseline; @@ -2179,11 +2071,9 @@ main { * a bit. */ .kuiLocalBreadcrumbs { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; @@ -2253,15 +2143,12 @@ main { padding: 0; } .kuiDatePickerNavigation { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; @@ -2425,13 +2312,11 @@ main { /* 1 */ } .kuiLocalDropdownPanels { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } .kuiLocalDropdownPanel { - -webkit-box-flex: 1; -webkit-flex: 1 1 0%; -ms-flex: 1 1 0%; flex: 1 1 0%; } @@ -2460,15 +2345,12 @@ main { margin-bottom: 0; } .kuiLocalDropdownHeader { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; @@ -2487,7 +2369,6 @@ main { color: #cecece; } .kuiLocalDropdownHeader__actions { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } @@ -2549,21 +2430,17 @@ main { color: #9e9e9e; } .kuiLocalMenu { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: stretch; -webkit-align-items: stretch; -ms-flex-align: stretch; align-items: stretch; } .kuiLocalMenuItem { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; @@ -2615,16 +2492,12 @@ main { * dropdown. */ .kuiLocalNav { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; @@ -2643,15 +2516,12 @@ main { * 1. Allow row to expand if the content is so long that it wraps. */ .kuiLocalNavRow { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: stretch; -webkit-align-items: stretch; -ms-flex-align: stretch; align-items: stretch; - -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; @@ -2659,11 +2529,9 @@ main { /* 1 */ } .kuiLocalNavRow__section { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: stretch; -webkit-align-items: stretch; -ms-flex-align: stretch; align-items: stretch; } @@ -2678,14 +2546,12 @@ main { .kuiLocalNavRow--secondary { padding: 0 10px; /* 1 */ - -webkit-box-align: start; -webkit-align-items: flex-start; -ms-flex-align: start; align-items: flex-start; /* 1 */ } .kuiLocalSearch { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; @@ -2708,7 +2574,6 @@ main { transition: border-color 0.1s linear; min-height: 30px; /* 1 */ - -webkit-box-flex: 1; -webkit-flex: 1 1 100%; -ms-flex: 1 1 100%; flex: 1 1 100%; @@ -2738,7 +2603,6 @@ main { .kuiLocalSearchInput--secondary { height: 30px; - -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; @@ -2750,11 +2614,9 @@ main { border-right-color: #333333; } .kuiLocalSearchAssistedInput { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex: 1; -webkit-flex: 1 1 100%; -ms-flex: 1 1 100%; flex: 1 1 100%; @@ -2857,11 +2719,9 @@ main { * 1. We want the bottom border on selected tabs to be flush with the bottom of the container. */ .kuiLocalTabs { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: end; -webkit-align-items: flex-end; -ms-flex-align: end; align-items: flex-end; @@ -2906,11 +2766,9 @@ main { color: #dedede; } .kuiLocalTitle { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; @@ -3042,7 +2900,6 @@ main { /* 3 */ } .kuiMenuButtonGroup { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } @@ -3050,7 +2907,6 @@ main { margin-left: 4px; } .kuiMenuButtonGroup--alignRight { - -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; } @@ -3073,7 +2929,6 @@ main { color: #191E23; } .kuiMicroButtonGroup { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } @@ -3087,15 +2942,12 @@ main { left: 0; right: 0; bottom: 0; - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; @@ -3121,15 +2973,12 @@ main { min-width: auto; } .kuiModalHeader { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; @@ -3170,11 +3019,9 @@ main { color: #cecece; } .kuiModalFooter { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; @@ -3213,11 +3060,9 @@ main { * 1. Put 10px of space between each child. */ .kuiPager { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } @@ -3237,21 +3082,16 @@ main { border-radius: 4px; } .kuiPanel--prompt { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; text-align: center; - -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; @@ -3268,29 +3108,23 @@ main { border-radius: 0; } .kuiPanel--centered { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } .kuiPanelHeader { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; @@ -3352,22 +3186,18 @@ main { * 1. Undo what barSection mixin does. */ .kuiPanelHeaderSection { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; - -webkit-box-flex: 1; -webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto; margin-left: 25px; margin-right: 25px; } .kuiPanelHeaderSection:not(:first-child):not(:last-child):not(:only-child) { - -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; @@ -3376,12 +3206,10 @@ main { margin-left: 0; } .kuiPanelHeaderSection:last-child { margin-right: 0; - -webkit-box-flex: 0; -webkit-flex: 0 1 auto; -ms-flex: 0 1 auto; flex: 0 1 auto; /* 4 */ - -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; @@ -3406,7 +3234,6 @@ main { background-color: #FFF; border: 1px solid #D9D9D9; border-radius: 4px; - -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } @@ -3419,7 +3246,6 @@ main { .kuiPanelSimple.kuiPanelSimple--shadow { box-shadow: 0 16px 16px -8px rgba(0, 0, 0, 0.1); } .kuiPanelSimple.kuiPanelSimple--flexGrowZero { - -webkit-box-flex: 0; -webkit-flex-grow: 0; -ms-flex-positive: 0; flex-grow: 0; } @@ -3513,16 +3339,12 @@ main { color: #ffffff; } .kuiEmptyTablePrompt { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; @@ -3537,11 +3359,9 @@ main { margin-top: 10px; } .kuiStatusText { - display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; - -webkit-box-align: baseline; -webkit-align-items: baseline; -ms-flex-align: baseline; align-items: baseline; } @@ -3657,11 +3477,9 @@ main { display: block; opacity: 1; } .kuiTableHeaderCellButton .kuiTableHeaderCell__liner { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } @@ -3762,7 +3580,6 @@ main { line-height: 1.5; } .kuiTabs { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; @@ -3835,7 +3652,7 @@ main { border-bottom-color: #333333; } /** - * 1. Allow container to deteermine font-size and line-height. + * 1. Allow container to determine font-size and line-height. * 2. Override inherited Bootstrap styles. */ .kuiToggleButton { @@ -3886,15 +3703,12 @@ main { /* 1 */ } .kuiToolBar { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; @@ -3945,22 +3759,18 @@ main { border-color: #0079a5; } .kuiToolBarSection { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; - -webkit-box-flex: 1; -webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto; margin-left: 25px; margin-right: 25px; } .kuiToolBarSection:not(:first-child):not(:last-child):not(:only-child) { - -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; @@ -3969,12 +3779,10 @@ main { margin-left: 0; } .kuiToolBarSection:last-child { margin-right: 0; - -webkit-box-flex: 0; -webkit-flex: 0 1 auto; -ms-flex: 0 1 auto; flex: 0 1 auto; /* 4 */ - -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; @@ -3994,15 +3802,12 @@ main { /* 1 */ } .kuiToolBarFooter { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; @@ -4014,22 +3819,18 @@ main { border: 1px solid #D9D9D9; } .kuiToolBarFooterSection { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; - -webkit-box-flex: 1; -webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto; margin-left: 25px; margin-right: 25px; } .kuiToolBarFooterSection:not(:first-child):not(:last-child):not(:only-child) { - -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; @@ -4038,12 +3839,10 @@ main { margin-left: 0; } .kuiToolBarFooterSection:last-child { margin-right: 0; - -webkit-box-flex: 0; -webkit-flex: 0 1 auto; -ms-flex: 0 1 auto; flex: 0 1 auto; /* 4 */ - -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; @@ -4061,17 +3860,14 @@ main { * kuiToolBarSection sibling. */ .kuiToolBarSearch { - display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; margin-left: 25px; margin-right: 25px; - -webkit-box-flex: 1; -webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto; @@ -4087,7 +3883,6 @@ main { /* 1 */ } .kuiToolBarSearchBox { - -webkit-box-flex: 1; -webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto; @@ -4210,7 +4005,6 @@ main { .kuiView { background-color: #FFF; - -webkit-box-flex: 1; -webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto; } diff --git a/src/core_plugins/inspector_views/public/data/__snapshots__/data_view.test.js.snap b/src/core_plugins/inspector_views/public/data/__snapshots__/data_view.test.js.snap index 7bc5b99eb236bf..65dbad218a28ab 100644 --- a/src/core_plugins/inspector_views/public/data/__snapshots__/data_view.test.js.snap +++ b/src/core_plugins/inspector_views/public/data/__snapshots__/data_view.test.js.snap @@ -47,6 +47,7 @@ exports[`Inspector Data View component should render empty state 1`] = ` > Looks like you don't have any dashboards. diff --git a/src/core_plugins/kibana/public/home/components/__snapshots__/home.test.js.snap b/src/core_plugins/kibana/public/home/components/__snapshots__/home.test.js.snap index 955fa03003d884..dcc8b2348fdaf9 100644 --- a/src/core_plugins/kibana/public/home/components/__snapshots__/home.test.js.snap +++ b/src/core_plugins/kibana/public/home/components/__snapshots__/home.test.js.snap @@ -5,109 +5,111 @@ exports[`directories should not render directory entry when showOnHomePage is fa className="home" restrictWidth={false} > - - - - + + + - - -

- Visualize and Explore Data -

-
- - -
-
- - +

+ Visualize and Explore Data +

+
+ + + + + - -

- Manage and Administer the Elastic Stack -

-
- - - -
- - - - +

+ Manage and Administer the Elastic Stack +

+ + + + +
+
+ + - -

- Didn’t find what you were looking for? -

-
- - - View full directory of Kibana plugins - - -
+ +

+ Didn’t find what you were looking for? +

+
+ + + View full directory of Kibana plugins + + + +
`; @@ -116,128 +118,130 @@ exports[`directories should render ADMIN directory entry in "Manage" panel 1`] = className="home" restrictWidth={false} > - - - - + + + - - -

- Visualize and Explore Data -

-
- - -
-
- - +

+ Visualize and Explore Data +

+ + + +
+
+ - -

- Manage and Administer the Elastic Stack -

-
- - - +

+ Manage and Administer the Elastic Stack +

+ + + - -
-
- -
-
- - - + + + + + + + + - -

- Didn’t find what you were looking for? -

-
- - - View full directory of Kibana plugins - - -
+ +

+ Didn’t find what you were looking for? +

+
+ + + View full directory of Kibana plugins + + + + `; @@ -246,128 +250,130 @@ exports[`directories should render DATA directory entry in "Explore Data" panel className="home" restrictWidth={false} > - - - - + + + - - -

- Visualize and Explore Data -

-
- - - +

+ Visualize and Explore Data +

+ + + + + + + +
+
+ + + - - - - - - + Manage and Administer the Elastic Stack + + + + + + +
+ + - - -

- Manage and Administer the Elastic Stack -

-
+

+ Didn’t find what you were looking for? +

+ - -
- -
- - - - -

- Didn’t find what you were looking for? -

-
- - - View full directory of Kibana plugins - -
-
+ + View full directory of Kibana plugins + + + + `; @@ -376,109 +382,111 @@ exports[`should not contain RecentlyAccessed panel when there is no recentlyAcce className="home" restrictWidth={false} > - - - - + + + - - -

- Visualize and Explore Data -

-
- - -
-
- - +

+ Visualize and Explore Data +

+ + + +
+
+ - -

- Manage and Administer the Elastic Stack -

-
- - - -
-
- - - +

+ Manage and Administer the Elastic Stack +

+ + + + +
+
+ + - -

- Didn’t find what you were looking for? -

-
- - - View full directory of Kibana plugins - - -
+ +

+ Didn’t find what you were looking for? +

+
+ + + View full directory of Kibana plugins + + + + `; @@ -487,124 +495,126 @@ exports[`should render home component 1`] = ` className="home" restrictWidth={false} > - - + + + + + - - - - - - - -

- Visualize and Explore Data -

-
- - -
-
- - +

+ Visualize and Explore Data +

+ + + +
+
+ - -

- Manage and Administer the Elastic Stack -

-
- - - -
-
- - - +

+ Manage and Administer the Elastic Stack +

+ + + + +
+
+ + - -

- Didn’t find what you were looking for? -

-
- - - View full directory of Kibana plugins - - -
+ +

+ Didn’t find what you were looking for? +

+
+ + + View full directory of Kibana plugins + + + + `; diff --git a/src/core_plugins/kibana/public/home/components/__snapshots__/recently_accessed.test.js.snap b/src/core_plugins/kibana/public/home/components/__snapshots__/recently_accessed.test.js.snap index 81440531457d5f..a6899ec18c6d7f 100644 --- a/src/core_plugins/kibana/public/home/components/__snapshots__/recently_accessed.test.js.snap +++ b/src/core_plugins/kibana/public/home/components/__snapshots__/recently_accessed.test.js.snap @@ -12,6 +12,7 @@ exports[`render 1`] = `

Recently viewed diff --git a/src/core_plugins/kibana/public/home/components/__snapshots__/synopsis.test.js.snap b/src/core_plugins/kibana/public/home/components/__snapshots__/synopsis.test.js.snap index 795c7c4bc3ac13..0de8d237b0aa49 100644 --- a/src/core_plugins/kibana/public/home/components/__snapshots__/synopsis.test.js.snap +++ b/src/core_plugins/kibana/public/home/components/__snapshots__/synopsis.test.js.snap @@ -44,6 +44,7 @@ exports[`props iconType 1`] = `

this is a great tutorial about... @@ -99,6 +100,7 @@ exports[`props iconUrl 1`] = `

this is a great tutorial about... @@ -144,6 +146,7 @@ exports[`props isBeta 1`] = `

this is a great tutorial about... @@ -189,6 +192,7 @@ exports[`render 1`] = `

this is a great tutorial about... diff --git a/src/core_plugins/kibana/public/home/components/feature_directory.js b/src/core_plugins/kibana/public/home/components/feature_directory.js index 6a17cd72578984..fff2c58659ef6f 100644 --- a/src/core_plugins/kibana/public/home/components/feature_directory.js +++ b/src/core_plugins/kibana/public/home/components/feature_directory.js @@ -26,6 +26,7 @@ import { EuiFlexItem, EuiFlexGrid, EuiPage, + EuiPageBody, EuiTitle, EuiSpacer, } from '@elastic/eui'; @@ -114,19 +115,21 @@ export class FeatureDirectory extends React.Component { render() { return ( - -

- Directory -

- - - - {this.renderTabs()} - - - - { this.renderDirectories() } - + + +

+ Directory +

+
+ + + {this.renderTabs()} + + + + { this.renderDirectories() } + +
); } diff --git a/src/core_plugins/kibana/public/home/components/home.js b/src/core_plugins/kibana/public/home/components/home.js index 7e98a23129002d..3c04da08cb5244 100644 --- a/src/core_plugins/kibana/public/home/components/home.js +++ b/src/core_plugins/kibana/public/home/components/home.js @@ -33,6 +33,7 @@ import { EuiFlexItem, EuiFlexGrid, EuiText, + EuiPageBody, } from '@elastic/eui'; import { FeatureCatalogueCategory } from 'ui/registry/feature_catalogue'; @@ -72,62 +73,63 @@ export function Home({ addBasePath, directories, apmUiEnabled, recentlyAccessed return ( + - {recentlyAccessedPanel} + {recentlyAccessedPanel} - - - + - - - - -

- Visualize and Explore Data -

-
- - - { renderDirectories(FeatureCatalogueCategory.DATA) } - -
-
- - - -

- Manage and Administer the Elastic Stack -

-
- - - { renderDirectories(FeatureCatalogueCategory.ADMIN) } - -
-
-
+ - + + + + +

+ Visualize and Explore Data +

+
+ + + { renderDirectories(FeatureCatalogueCategory.DATA) } + +
+
+ + + +

+ Manage and Administer the Elastic Stack +

+
+ + + { renderDirectories(FeatureCatalogueCategory.ADMIN) } + +
+
+
- - - -

- Didn’t find what you were looking for? -

-
- - - View full directory of Kibana plugins - -
-
+ + + + +

+ Didn’t find what you were looking for? +

+
+ + + View full directory of Kibana plugins + +
+
+
); } diff --git a/src/core_plugins/kibana/public/home/components/tutorial/__snapshots__/tutorial.test.js.snap b/src/core_plugins/kibana/public/home/components/tutorial/__snapshots__/tutorial.test.js.snap index 80d6494c65309e..7021cf5eca7f57 100644 --- a/src/core_plugins/kibana/public/home/components/tutorial/__snapshots__/tutorial.test.js.snap +++ b/src/core_plugins/kibana/public/home/components/tutorial/__snapshots__/tutorial.test.js.snap @@ -5,68 +5,72 @@ exports[`isCloudEnabled is false should not render instruction toggle when ON_PR className="home" restrictWidth={false} > - - Home - - / - - Add Data - - -
- - -
+ +
+ + Home + + / + + Add Data + +
- - + + +
- -
+ + + + +
+ `; @@ -75,87 +79,91 @@ exports[`isCloudEnabled is false should render ON_PREM instructions with instruc className="home" restrictWidth={false} > - - Home - - / - - Add Data - - -
- - -
- + +
+ + Home + + / + + Add Data +
- - + - -
+ +
+ +
+ + + + +
+ `; @@ -164,68 +172,72 @@ exports[`should render ELASTIC_CLOUD instructions when isCloudEnabled is true 1` className="home" restrictWidth={false} > - - Home - - / - - Add Data - - -
- - -
+ +
+ + Home + + / + + Add Data + +
- - + + - -
+
+ + + + +
+ `; diff --git a/src/core_plugins/kibana/public/home/components/tutorial/tutorial.js b/src/core_plugins/kibana/public/home/components/tutorial/tutorial.js index 6f64536e61b2a7..2daf164a75b585 100644 --- a/src/core_plugins/kibana/public/home/components/tutorial/tutorial.js +++ b/src/core_plugins/kibana/public/home/components/tutorial/tutorial.js @@ -25,7 +25,7 @@ import { Footer } from './footer'; import { Introduction } from './introduction'; import { InstructionSet } from './instruction_set'; import { RadioButtonGroup } from './radio_button_group'; -import { EuiSpacer, EuiPage, EuiPanel, EuiLink, EuiText } from '@elastic/eui'; +import { EuiSpacer, EuiPage, EuiPanel, EuiLink, EuiText, EuiPageBody } from '@elastic/eui'; import * as StatusCheckStates from './status_check_states'; const INSTRUCTIONS_TYPE = { @@ -313,10 +313,15 @@ export class Tutorial extends React.Component { } return ( + - Home / Add Data - - {content} +
+ Home / Add Data +
+ + {content} + +
); } diff --git a/src/core_plugins/kibana/public/home/components/tutorial_directory.js b/src/core_plugins/kibana/public/home/components/tutorial_directory.js index b2af4f70fe07dd..39562910c192d1 100644 --- a/src/core_plugins/kibana/public/home/components/tutorial_directory.js +++ b/src/core_plugins/kibana/public/home/components/tutorial_directory.js @@ -31,6 +31,7 @@ import { EuiFlexGrid, EuiSpacer, EuiTitle, + EuiPageBody, } from '@elastic/eui'; @@ -213,25 +214,27 @@ export class TutorialDirectory extends React.Component { render() { return ( - - Home - - -

- Add Data to Kibana -

-
- - - - - {this.renderTabs()} - - - - { this.renderTab() } - - + + + Home + + +

+ Add Data to Kibana +

+
+ + + + + {this.renderTabs()} + + + + { this.renderTab() } + + +
); } diff --git a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/components/empty_state/__tests__/__snapshots__/empty_state.test.js.snap b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/components/empty_state/__tests__/__snapshots__/empty_state.test.js.snap index 7ae0e5fb3918fa..981a64b1adca9a 100644 --- a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/components/empty_state/__tests__/__snapshots__/empty_state.test.js.snap +++ b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/components/empty_state/__tests__/__snapshots__/empty_state.test.js.snap @@ -24,6 +24,7 @@ exports[`EmptyState should render normally 1`] = ` >

You'll need to index some data into Elasticsearch before you can create an index pattern. diff --git a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/components/header/__tests__/__snapshots__/header.test.js.snap b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/components/header/__tests__/__snapshots__/header.test.js.snap index c4165aaf0290ca..eaf401d8a7426e 100644 --- a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/components/header/__tests__/__snapshots__/header.test.js.snap +++ b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/components/header/__tests__/__snapshots__/header.test.js.snap @@ -31,6 +31,7 @@ exports[`Header should render normally 1`] = `

Kibana uses index patterns to retrieve data from Elasticsearch indices for things like visualizations. @@ -85,6 +86,7 @@ exports[`Header should render without including system indices 1`] = `

Kibana uses index patterns to retrieve data from Elasticsearch indices for things like visualizations. diff --git a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/components/loading_state/__tests__/__snapshots__/loading_state.test.js.snap b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/components/loading_state/__tests__/__snapshots__/loading_state.test.js.snap index fa1e23d09ccaf5..e724e73eb2a535 100644 --- a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/components/loading_state/__tests__/__snapshots__/loading_state.test.js.snap +++ b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/components/loading_state/__tests__/__snapshots__/loading_state.test.js.snap @@ -24,6 +24,7 @@ exports[`LoadingState should render normally 1`] = ` >

Looking for matching indices... @@ -42,6 +43,7 @@ exports[`LoadingIndices should render normally 1`] = ` > Just a sec... diff --git a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/components/step_index_pattern/components/status_message/__tests__/__snapshots__/status_message.test.js.snap b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/components/step_index_pattern/components/status_message/__tests__/__snapshots__/status_message.test.js.snap index d7cbca24bbc5ad..0fdb7a7a88182f 100644 --- a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/components/step_index_pattern/components/status_message/__tests__/__snapshots__/status_message.test.js.snap +++ b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern_wizard/components/step_index_pattern/components/status_message/__tests__/__snapshots__/status_message.test.js.snap @@ -7,6 +7,7 @@ exports[`StatusMessage should render with exact matches 1`] = ` > The index pattern you've entered doesn't match any indices. You can match any of your @@ -56,6 +58,7 @@ exports[`StatusMessage should render with partial matches 1`] = ` > Your index pattern doesn't match any indices, but you have  @@ -79,6 +82,7 @@ exports[`StatusMessage should render without a query 1`] = ` > Your index pattern can match any of your @@ -99,6 +103,7 @@ exports[`StatusMessage should show that no indices exist 1`] = ` > No Elasticsearch indices match your pattern. @@ -114,6 +119,7 @@ exports[`StatusMessage should show that system indices exist 1`] = ` > No Elasticsearch indices match your pattern. To view the matching system indices, toggle the switch in the upper right. diff --git a/src/core_plugins/kibana/public/management/sections/objects/components/objects_table/__tests__/__snapshots__/objects_table.test.js.snap b/src/core_plugins/kibana/public/management/sections/objects/components/objects_table/__tests__/__snapshots__/objects_table.test.js.snap index 991f4df6abf8f8..6aa2b555ad47d7 100644 --- a/src/core_plugins/kibana/public/management/sections/objects/components/objects_table/__tests__/__snapshots__/objects_table.test.js.snap +++ b/src/core_plugins/kibana/public/management/sections/objects/components/objects_table/__tests__/__snapshots__/objects_table.test.js.snap @@ -126,99 +126,101 @@ exports[`ObjectsTable should render normally 1`] = ` - -
- - + - + verticalPosition="center" + > +
+ +
+ + `; diff --git a/src/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/header/__tests__/__snapshots__/header.test.js.snap b/src/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/header/__tests__/__snapshots__/header.test.js.snap index 897590847975c8..331f1661bda13b 100644 --- a/src/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/header/__tests__/__snapshots__/header.test.js.snap +++ b/src/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/header/__tests__/__snapshots__/header.test.js.snap @@ -42,6 +42,7 @@ exports[`Header should render normally 1`] = ` >

4 @@ -123,6 +124,7 @@ exports[`Header should render normally 1`] = `

From here you can delete saved objects, such as saved searches. You can also edit the raw data of saved objects. Typically objects are only modified via their associated application, which is probably what you should use instead of this screen. diff --git a/src/core_plugins/kibana/public/management/sections/objects/components/objects_table/objects_table.js b/src/core_plugins/kibana/public/management/sections/objects/components/objects_table/objects_table.js index c0d0c2980ff507..5de64332c8e2ac 100644 --- a/src/core_plugins/kibana/public/management/sections/objects/components/objects_table/objects_table.js +++ b/src/core_plugins/kibana/public/management/sections/objects/components/objects_table/objects_table.js @@ -37,6 +37,7 @@ import { EuiToolTip, EuiPage, EuiPageContent, + EuiPageBody, } from '@elastic/eui'; import { retrieveAndExportDocs, @@ -467,39 +468,41 @@ export class ObjectsTable extends Component { return ( - - {this.renderFlyout()} - {this.renderRelationships()} - {this.renderDeleteConfirmModal()} - {this.renderExportAllOptionsModal()} -

- this.setState({ isShowingExportAllOptionsModal: true }) - } - onImport={this.showImportFlyout} - onRefresh={this.refreshData} - totalCount={totalItemCount} - /> - -
- + + + {this.renderFlyout()} + {this.renderRelationships()} + {this.renderDeleteConfirmModal()} + {this.renderExportAllOptionsModal()} +
+ this.setState({ isShowingExportAllOptionsModal: true }) + } + onImport={this.showImportFlyout} + onRefresh={this.refreshData} + totalCount={totalItemCount} + /> + +
+ + ); } diff --git a/src/ui/public/inspector/ui/__snapshots__/inspector_panel.test.js.snap b/src/ui/public/inspector/ui/__snapshots__/inspector_panel.test.js.snap index c147077fbbbd51..3ec781c8e7b1d4 100644 --- a/src/ui/public/inspector/ui/__snapshots__/inspector_panel.test.js.snap +++ b/src/ui/public/inspector/ui/__snapshots__/inspector_panel.test.js.snap @@ -66,6 +66,7 @@ exports[`InspectorPanel should render as expected 1`] = ` aria-label="Closes this dialog" className="euiFlyout__closeButton" color="text" + data-test-subj="euiFlyoutCloseButton" iconType="cross" onClick={[Function]} type="button" @@ -73,6 +74,7 @@ exports[`InspectorPanel should render as expected 1`] = `