mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
* eui to 18.3.0 * ts interface update * src snapshot updates * x-pack snapshot updates * icons in nav * Homepage updates, nav drawer and tests * feedback * more feedback * euiIconType for observability and security * remove unused translations Co-authored-by: dave.snider@gmail.com <dave.snider@gmail.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: dave.snider@gmail.com <dave.snider@gmail.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
4e293d0de7
commit
13476af53f
52 changed files with 970 additions and 788 deletions
|
@ -1,17 +1,17 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [ChromeNavLink](./kibana-plugin-public.chromenavlink.md) > [disableSubUrlTracking](./kibana-plugin-public.chromenavlink.disablesuburltracking.md)
|
||||
|
||||
## ChromeNavLink.disableSubUrlTracking property
|
||||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
>
|
||||
|
||||
A flag that tells legacy chrome to ignore the link when tracking sub-urls
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
readonly disableSubUrlTracking?: boolean;
|
||||
```
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [ChromeNavLink](./kibana-plugin-public.chromenavlink.md) > [disableSubUrlTracking](./kibana-plugin-public.chromenavlink.disablesuburltracking.md)
|
||||
|
||||
## ChromeNavLink.disableSubUrlTracking property
|
||||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
>
|
||||
|
||||
A flag that tells legacy chrome to ignore the link when tracking sub-urls
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
readonly disableSubUrlTracking?: boolean;
|
||||
```
|
||||
|
|
|
@ -1,33 +1,33 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [ChromeNavLink](./kibana-plugin-public.chromenavlink.md)
|
||||
|
||||
## ChromeNavLink interface
|
||||
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface ChromeNavLink
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [active](./kibana-plugin-public.chromenavlink.active.md) | <code>boolean</code> | Indicates whether or not this app is currently on the screen. |
|
||||
| [baseUrl](./kibana-plugin-public.chromenavlink.baseurl.md) | <code>string</code> | The base route used to open the root of an application. |
|
||||
| [category](./kibana-plugin-public.chromenavlink.category.md) | <code>AppCategory</code> | The category the app lives in |
|
||||
| [disabled](./kibana-plugin-public.chromenavlink.disabled.md) | <code>boolean</code> | Disables a link from being clickable. |
|
||||
| [disableSubUrlTracking](./kibana-plugin-public.chromenavlink.disablesuburltracking.md) | <code>boolean</code> | A flag that tells legacy chrome to ignore the link when tracking sub-urls |
|
||||
| [euiIconType](./kibana-plugin-public.chromenavlink.euiicontype.md) | <code>string</code> | A EUI iconType that will be used for the app's icon. This icon takes precendence over the <code>icon</code> property. |
|
||||
| [hidden](./kibana-plugin-public.chromenavlink.hidden.md) | <code>boolean</code> | Hides a link from the navigation. |
|
||||
| [icon](./kibana-plugin-public.chromenavlink.icon.md) | <code>string</code> | A URL to an image file used as an icon. Used as a fallback if <code>euiIconType</code> is not provided. |
|
||||
| [id](./kibana-plugin-public.chromenavlink.id.md) | <code>string</code> | A unique identifier for looking up links. |
|
||||
| [linkToLastSubUrl](./kibana-plugin-public.chromenavlink.linktolastsuburl.md) | <code>boolean</code> | Whether or not the subUrl feature should be enabled. |
|
||||
| [order](./kibana-plugin-public.chromenavlink.order.md) | <code>number</code> | An ordinal used to sort nav links relative to one another for display. |
|
||||
| [subUrlBase](./kibana-plugin-public.chromenavlink.suburlbase.md) | <code>string</code> | A url base that legacy apps can set to match deep URLs to an application. |
|
||||
| [title](./kibana-plugin-public.chromenavlink.title.md) | <code>string</code> | The title of the application. |
|
||||
| [tooltip](./kibana-plugin-public.chromenavlink.tooltip.md) | <code>string</code> | A tooltip shown when hovering over an app link. |
|
||||
| [url](./kibana-plugin-public.chromenavlink.url.md) | <code>string</code> | A url that legacy apps can set to deep link into their applications. |
|
||||
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [ChromeNavLink](./kibana-plugin-public.chromenavlink.md)
|
||||
|
||||
## ChromeNavLink interface
|
||||
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface ChromeNavLink
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [active](./kibana-plugin-public.chromenavlink.active.md) | <code>boolean</code> | Indicates whether or not this app is currently on the screen. |
|
||||
| [baseUrl](./kibana-plugin-public.chromenavlink.baseurl.md) | <code>string</code> | The base route used to open the root of an application. |
|
||||
| [category](./kibana-plugin-public.chromenavlink.category.md) | <code>AppCategory</code> | The category the app lives in |
|
||||
| [disabled](./kibana-plugin-public.chromenavlink.disabled.md) | <code>boolean</code> | Disables a link from being clickable. |
|
||||
| [disableSubUrlTracking](./kibana-plugin-public.chromenavlink.disablesuburltracking.md) | <code>boolean</code> | A flag that tells legacy chrome to ignore the link when tracking sub-urls |
|
||||
| [euiIconType](./kibana-plugin-public.chromenavlink.euiicontype.md) | <code>string</code> | A EUI iconType that will be used for the app's icon. This icon takes precendence over the <code>icon</code> property. |
|
||||
| [hidden](./kibana-plugin-public.chromenavlink.hidden.md) | <code>boolean</code> | Hides a link from the navigation. |
|
||||
| [icon](./kibana-plugin-public.chromenavlink.icon.md) | <code>string</code> | A URL to an image file used as an icon. Used as a fallback if <code>euiIconType</code> is not provided. |
|
||||
| [id](./kibana-plugin-public.chromenavlink.id.md) | <code>string</code> | A unique identifier for looking up links. |
|
||||
| [linkToLastSubUrl](./kibana-plugin-public.chromenavlink.linktolastsuburl.md) | <code>boolean</code> | Whether or not the subUrl feature should be enabled. |
|
||||
| [order](./kibana-plugin-public.chromenavlink.order.md) | <code>number</code> | An ordinal used to sort nav links relative to one another for display. |
|
||||
| [subUrlBase](./kibana-plugin-public.chromenavlink.suburlbase.md) | <code>string</code> | A url base that legacy apps can set to match deep URLs to an application. |
|
||||
| [title](./kibana-plugin-public.chromenavlink.title.md) | <code>string</code> | The title of the application. |
|
||||
| [tooltip](./kibana-plugin-public.chromenavlink.tooltip.md) | <code>string</code> | A tooltip shown when hovering over an app link. |
|
||||
| [url](./kibana-plugin-public.chromenavlink.url.md) | <code>string</code> | A url that legacy apps can set to deep link into their applications. |
|
||||
|
||||
|
|
|
@ -117,7 +117,7 @@
|
|||
"@elastic/charts": "^16.1.0",
|
||||
"@elastic/datemath": "5.0.2",
|
||||
"@elastic/ems-client": "7.6.0",
|
||||
"@elastic/eui": "18.2.1",
|
||||
"@elastic/eui": "18.3.0",
|
||||
"@elastic/filesaver": "1.1.2",
|
||||
"@elastic/good": "8.1.1-kibana2",
|
||||
"@elastic/numeral": "2.3.3",
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"kbn:watch": "node scripts/build --watch"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@elastic/eui": "18.2.1",
|
||||
"@elastic/eui": "18.3.0",
|
||||
"@elastic/charts": "^16.1.0",
|
||||
"@kbn/dev-utils": "1.0.0",
|
||||
"@kbn/i18n": "1.0.0",
|
||||
|
|
|
@ -25,6 +25,7 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
Object {
|
||||
"baseUrl": "http://localhost:5601/app/siem",
|
||||
"category": Object {
|
||||
"euiIconType": "logoSecurity",
|
||||
"label": "Security",
|
||||
"order": 3000,
|
||||
},
|
||||
|
@ -36,6 +37,7 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
Object {
|
||||
"baseUrl": "http://localhost:5601/app/metrics",
|
||||
"category": Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
},
|
||||
|
@ -90,6 +92,7 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
Object {
|
||||
"baseUrl": "http://localhost:5601/app/logs",
|
||||
"category": Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
},
|
||||
|
@ -120,6 +123,7 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
},
|
||||
Object {
|
||||
"category": Object {
|
||||
"euiIconType": "logoSecurity",
|
||||
"label": "Security",
|
||||
"order": 3000,
|
||||
},
|
||||
|
@ -136,6 +140,7 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
},
|
||||
Object {
|
||||
"category": Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
},
|
||||
|
@ -215,6 +220,7 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
},
|
||||
Object {
|
||||
"category": Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
},
|
||||
|
@ -390,7 +396,7 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
"listItems": Array [],
|
||||
"title": "Recent items",
|
||||
},
|
||||
"iconType": "clock",
|
||||
"iconType": "recentlyViewedApp",
|
||||
"isDisabled": true,
|
||||
"label": "Recently viewed",
|
||||
},
|
||||
|
@ -408,7 +414,7 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
"aria-label": "Recently viewed",
|
||||
"className": "euiNavDrawerGroup__item",
|
||||
"data-name": "Recently viewed",
|
||||
"iconType": "clock",
|
||||
"iconType": "recentlyViewedApp",
|
||||
"isDisabled": true,
|
||||
"label": "Recently viewed",
|
||||
"onClick": [Function],
|
||||
|
@ -427,7 +433,7 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
aria-label="Recently viewed"
|
||||
className="euiNavDrawerGroup__item"
|
||||
data-name="Recently viewed"
|
||||
iconType="clock"
|
||||
iconType="recentlyViewedApp"
|
||||
isDisabled={true}
|
||||
key="title-0"
|
||||
label="Recently viewed"
|
||||
|
@ -463,18 +469,18 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
>
|
||||
<EuiIcon
|
||||
className="euiListGroupItem__icon"
|
||||
type="clock"
|
||||
type="recentlyViewedApp"
|
||||
>
|
||||
<EuiIconEmpty
|
||||
aria-hidden={true}
|
||||
className="euiIcon euiIcon--medium euiIcon-isLoading euiListGroupItem__icon"
|
||||
className="euiIcon euiIcon--medium euiIcon--app euiIcon-isLoading euiListGroupItem__icon"
|
||||
focusable="false"
|
||||
role="img"
|
||||
style={null}
|
||||
>
|
||||
<svg
|
||||
aria-hidden={true}
|
||||
className="euiIcon euiIcon--medium euiIcon-isLoading euiListGroupItem__icon"
|
||||
className="euiIcon euiIcon--medium euiIcon--app euiIcon-isLoading euiListGroupItem__icon"
|
||||
focusable="false"
|
||||
height={16}
|
||||
role="img"
|
||||
|
@ -577,6 +583,7 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
"listItems": Array [
|
||||
Object {
|
||||
"category": Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
},
|
||||
|
@ -593,6 +600,7 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
},
|
||||
Object {
|
||||
"category": Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
},
|
||||
|
@ -610,18 +618,19 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
],
|
||||
"title": "Observability",
|
||||
},
|
||||
"iconType": undefined,
|
||||
"iconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
},
|
||||
Object {
|
||||
"category": Object {
|
||||
"euiIconType": "logoSecurity",
|
||||
"label": "Security",
|
||||
"order": 3000,
|
||||
},
|
||||
"data-test-subj": "navDrawerAppsMenuLink",
|
||||
"href": "http://localhost:5601/app/siem",
|
||||
"icon": undefined,
|
||||
"iconType": undefined,
|
||||
"iconType": "logoSecurity",
|
||||
"isActive": false,
|
||||
"isDisabled": undefined,
|
||||
"key": "siem",
|
||||
|
@ -676,12 +685,7 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
"className": "euiNavDrawerGroup__item",
|
||||
"data-name": "Observability",
|
||||
"data-test-subj": "navDrawerCategory",
|
||||
"icon": <span
|
||||
className="euiNavDrawerGroup__itemDefaultIcon"
|
||||
>
|
||||
O
|
||||
</span>,
|
||||
"iconType": undefined,
|
||||
"iconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"onClick": [Function],
|
||||
"size": "s",
|
||||
|
@ -689,6 +693,7 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
Object {
|
||||
"aria-label": "Security",
|
||||
"category": Object {
|
||||
"euiIconType": "logoSecurity",
|
||||
"label": "Security",
|
||||
"order": 3000,
|
||||
},
|
||||
|
@ -696,12 +701,8 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
"data-name": "Security",
|
||||
"data-test-subj": "navDrawerAppsMenuLink",
|
||||
"href": "http://localhost:5601/app/siem",
|
||||
"icon": <span
|
||||
className="euiNavDrawerGroup__itemDefaultIcon"
|
||||
>
|
||||
S
|
||||
</span>,
|
||||
"iconType": undefined,
|
||||
"icon": undefined,
|
||||
"iconType": "logoSecurity",
|
||||
"isActive": false,
|
||||
"isDisabled": undefined,
|
||||
"key": "siem",
|
||||
|
@ -809,13 +810,7 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
className="euiNavDrawerGroup__item"
|
||||
data-name="Observability"
|
||||
data-test-subj="navDrawerCategory"
|
||||
icon={
|
||||
<span
|
||||
className="euiNavDrawerGroup__itemDefaultIcon"
|
||||
>
|
||||
O
|
||||
</span>
|
||||
}
|
||||
iconType="logoObservability"
|
||||
key="title-1"
|
||||
label="Observability"
|
||||
onClick={[Function]}
|
||||
|
@ -849,11 +844,30 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
onFocus={[Function]}
|
||||
type="button"
|
||||
>
|
||||
<span
|
||||
className="euiListGroupItem__icon euiNavDrawerGroup__itemDefaultIcon"
|
||||
<EuiIcon
|
||||
className="euiListGroupItem__icon"
|
||||
type="logoObservability"
|
||||
>
|
||||
O
|
||||
</span>
|
||||
<EuiIconEmpty
|
||||
aria-hidden={true}
|
||||
className="euiIcon euiIcon--medium euiIcon-isLoading euiListGroupItem__icon"
|
||||
focusable="false"
|
||||
role="img"
|
||||
style={null}
|
||||
>
|
||||
<svg
|
||||
aria-hidden={true}
|
||||
className="euiIcon euiIcon--medium euiIcon-isLoading euiListGroupItem__icon"
|
||||
focusable="false"
|
||||
height={16}
|
||||
role="img"
|
||||
style={null}
|
||||
viewBox="0 0 16 16"
|
||||
width={16}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
/>
|
||||
</EuiIconEmpty>
|
||||
</EuiIcon>
|
||||
<span
|
||||
className="euiListGroupItem__label"
|
||||
>
|
||||
|
@ -868,6 +882,7 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
aria-label="Security"
|
||||
category={
|
||||
Object {
|
||||
"euiIconType": "logoSecurity",
|
||||
"label": "Security",
|
||||
"order": 3000,
|
||||
}
|
||||
|
@ -876,13 +891,7 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
data-name="Security"
|
||||
data-test-subj="navDrawerAppsMenuLink"
|
||||
href="http://localhost:5601/app/siem"
|
||||
icon={
|
||||
<span
|
||||
className="euiNavDrawerGroup__itemDefaultIcon"
|
||||
>
|
||||
S
|
||||
</span>
|
||||
}
|
||||
iconType="logoSecurity"
|
||||
isActive={false}
|
||||
key="siem"
|
||||
label="Security"
|
||||
|
@ -910,6 +919,7 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
aria-label="Security"
|
||||
category={
|
||||
Object {
|
||||
"euiIconType": "logoSecurity",
|
||||
"label": "Security",
|
||||
"order": 3000,
|
||||
}
|
||||
|
@ -923,11 +933,30 @@ exports[`NavDrawer Advanced setting set to grouped renders grouped items 1`] = `
|
|||
onFocus={[Function]}
|
||||
order={500}
|
||||
>
|
||||
<span
|
||||
className="euiListGroupItem__icon euiNavDrawerGroup__itemDefaultIcon"
|
||||
<EuiIcon
|
||||
className="euiListGroupItem__icon"
|
||||
type="logoSecurity"
|
||||
>
|
||||
S
|
||||
</span>
|
||||
<EuiIconEmpty
|
||||
aria-hidden={true}
|
||||
className="euiIcon euiIcon--medium euiIcon-isLoading euiListGroupItem__icon"
|
||||
focusable="false"
|
||||
role="img"
|
||||
style={null}
|
||||
>
|
||||
<svg
|
||||
aria-hidden={true}
|
||||
className="euiIcon euiIcon--medium euiIcon-isLoading euiListGroupItem__icon"
|
||||
focusable="false"
|
||||
height={16}
|
||||
role="img"
|
||||
style={null}
|
||||
viewBox="0 0 16 16"
|
||||
width={16}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
/>
|
||||
</EuiIconEmpty>
|
||||
</EuiIcon>
|
||||
<span
|
||||
className="euiListGroupItem__label"
|
||||
>
|
||||
|
@ -1222,6 +1251,7 @@ exports[`NavDrawer Advanced setting set to grouped renders individual items if t
|
|||
Object {
|
||||
"baseUrl": "http://localhost:5601/app/siem",
|
||||
"category": Object {
|
||||
"euiIconType": "logoSecurity",
|
||||
"label": "Security",
|
||||
"order": 3000,
|
||||
},
|
||||
|
@ -1233,6 +1263,7 @@ exports[`NavDrawer Advanced setting set to grouped renders individual items if t
|
|||
Object {
|
||||
"baseUrl": "http://localhost:5601/app/metrics",
|
||||
"category": Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
},
|
||||
|
@ -1285,6 +1316,7 @@ exports[`NavDrawer Advanced setting set to grouped renders individual items if t
|
|||
},
|
||||
Object {
|
||||
"category": Object {
|
||||
"euiIconType": "logoSecurity",
|
||||
"label": "Security",
|
||||
"order": 3000,
|
||||
},
|
||||
|
@ -1301,6 +1333,7 @@ exports[`NavDrawer Advanced setting set to grouped renders individual items if t
|
|||
},
|
||||
Object {
|
||||
"category": Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
},
|
||||
|
@ -1508,7 +1541,7 @@ exports[`NavDrawer Advanced setting set to grouped renders individual items if t
|
|||
"listItems": Array [],
|
||||
"title": "Recent items",
|
||||
},
|
||||
"iconType": "clock",
|
||||
"iconType": "recentlyViewedApp",
|
||||
"isDisabled": true,
|
||||
"label": "Recently viewed",
|
||||
},
|
||||
|
@ -1526,7 +1559,7 @@ exports[`NavDrawer Advanced setting set to grouped renders individual items if t
|
|||
"aria-label": "Recently viewed",
|
||||
"className": "euiNavDrawerGroup__item",
|
||||
"data-name": "Recently viewed",
|
||||
"iconType": "clock",
|
||||
"iconType": "recentlyViewedApp",
|
||||
"isDisabled": true,
|
||||
"label": "Recently viewed",
|
||||
"onClick": [Function],
|
||||
|
@ -1545,7 +1578,7 @@ exports[`NavDrawer Advanced setting set to grouped renders individual items if t
|
|||
aria-label="Recently viewed"
|
||||
className="euiNavDrawerGroup__item"
|
||||
data-name="Recently viewed"
|
||||
iconType="clock"
|
||||
iconType="recentlyViewedApp"
|
||||
isDisabled={true}
|
||||
key="title-0"
|
||||
label="Recently viewed"
|
||||
|
@ -1581,18 +1614,18 @@ exports[`NavDrawer Advanced setting set to grouped renders individual items if t
|
|||
>
|
||||
<EuiIcon
|
||||
className="euiListGroupItem__icon"
|
||||
type="clock"
|
||||
type="recentlyViewedApp"
|
||||
>
|
||||
<EuiIconEmpty
|
||||
aria-hidden={true}
|
||||
className="euiIcon euiIcon--medium euiIcon-isLoading euiListGroupItem__icon"
|
||||
className="euiIcon euiIcon--medium euiIcon--app euiIcon-isLoading euiListGroupItem__icon"
|
||||
focusable="false"
|
||||
role="img"
|
||||
style={null}
|
||||
>
|
||||
<svg
|
||||
aria-hidden={true}
|
||||
className="euiIcon euiIcon--medium euiIcon-isLoading euiListGroupItem__icon"
|
||||
className="euiIcon euiIcon--medium euiIcon--app euiIcon-isLoading euiListGroupItem__icon"
|
||||
focusable="false"
|
||||
height={16}
|
||||
role="img"
|
||||
|
@ -1649,6 +1682,7 @@ exports[`NavDrawer Advanced setting set to grouped renders individual items if t
|
|||
},
|
||||
Object {
|
||||
"category": Object {
|
||||
"euiIconType": "logoSecurity",
|
||||
"label": "Security",
|
||||
"order": 3000,
|
||||
},
|
||||
|
@ -1665,6 +1699,7 @@ exports[`NavDrawer Advanced setting set to grouped renders individual items if t
|
|||
},
|
||||
Object {
|
||||
"category": Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
},
|
||||
|
@ -1748,6 +1783,7 @@ exports[`NavDrawer Advanced setting set to grouped renders individual items if t
|
|||
Object {
|
||||
"aria-label": "siem",
|
||||
"category": Object {
|
||||
"euiIconType": "logoSecurity",
|
||||
"label": "Security",
|
||||
"order": 3000,
|
||||
},
|
||||
|
@ -1772,6 +1808,7 @@ exports[`NavDrawer Advanced setting set to grouped renders individual items if t
|
|||
Object {
|
||||
"aria-label": "metrics",
|
||||
"category": Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
},
|
||||
|
@ -1928,6 +1965,7 @@ exports[`NavDrawer Advanced setting set to grouped renders individual items if t
|
|||
aria-label="siem"
|
||||
category={
|
||||
Object {
|
||||
"euiIconType": "logoSecurity",
|
||||
"label": "Security",
|
||||
"order": 3000,
|
||||
}
|
||||
|
@ -1970,6 +2008,7 @@ exports[`NavDrawer Advanced setting set to grouped renders individual items if t
|
|||
aria-label="siem"
|
||||
category={
|
||||
Object {
|
||||
"euiIconType": "logoSecurity",
|
||||
"label": "Security",
|
||||
"order": 3000,
|
||||
}
|
||||
|
@ -2002,6 +2041,7 @@ exports[`NavDrawer Advanced setting set to grouped renders individual items if t
|
|||
aria-label="metrics"
|
||||
category={
|
||||
Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
}
|
||||
|
@ -2044,6 +2084,7 @@ exports[`NavDrawer Advanced setting set to grouped renders individual items if t
|
|||
aria-label="metrics"
|
||||
category={
|
||||
Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
}
|
||||
|
@ -2651,7 +2692,7 @@ exports[`NavDrawer Advanced setting set to grouped renders individual items if t
|
|||
"listItems": Array [],
|
||||
"title": "Recent items",
|
||||
},
|
||||
"iconType": "clock",
|
||||
"iconType": "recentlyViewedApp",
|
||||
"isDisabled": true,
|
||||
"label": "Recently viewed",
|
||||
},
|
||||
|
@ -2669,7 +2710,7 @@ exports[`NavDrawer Advanced setting set to grouped renders individual items if t
|
|||
"aria-label": "Recently viewed",
|
||||
"className": "euiNavDrawerGroup__item",
|
||||
"data-name": "Recently viewed",
|
||||
"iconType": "clock",
|
||||
"iconType": "recentlyViewedApp",
|
||||
"isDisabled": true,
|
||||
"label": "Recently viewed",
|
||||
"onClick": [Function],
|
||||
|
@ -2688,7 +2729,7 @@ exports[`NavDrawer Advanced setting set to grouped renders individual items if t
|
|||
aria-label="Recently viewed"
|
||||
className="euiNavDrawerGroup__item"
|
||||
data-name="Recently viewed"
|
||||
iconType="clock"
|
||||
iconType="recentlyViewedApp"
|
||||
isDisabled={true}
|
||||
key="title-0"
|
||||
label="Recently viewed"
|
||||
|
@ -2724,18 +2765,18 @@ exports[`NavDrawer Advanced setting set to grouped renders individual items if t
|
|||
>
|
||||
<EuiIcon
|
||||
className="euiListGroupItem__icon"
|
||||
type="clock"
|
||||
type="recentlyViewedApp"
|
||||
>
|
||||
<EuiIconEmpty
|
||||
aria-hidden={true}
|
||||
className="euiIcon euiIcon--medium euiIcon-isLoading euiListGroupItem__icon"
|
||||
className="euiIcon euiIcon--medium euiIcon--app euiIcon-isLoading euiListGroupItem__icon"
|
||||
focusable="false"
|
||||
role="img"
|
||||
style={null}
|
||||
>
|
||||
<svg
|
||||
aria-hidden={true}
|
||||
className="euiIcon euiIcon--medium euiIcon-isLoading euiListGroupItem__icon"
|
||||
className="euiIcon euiIcon--medium euiIcon--app euiIcon-isLoading euiListGroupItem__icon"
|
||||
focusable="false"
|
||||
height={16}
|
||||
role="img"
|
||||
|
@ -3769,6 +3810,7 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
Object {
|
||||
"baseUrl": "http://localhost:5601/app/siem",
|
||||
"category": Object {
|
||||
"euiIconType": "logoSecurity",
|
||||
"label": "Security",
|
||||
"order": 3000,
|
||||
},
|
||||
|
@ -3780,6 +3822,7 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
Object {
|
||||
"baseUrl": "http://localhost:5601/app/metrics",
|
||||
"category": Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
},
|
||||
|
@ -3834,6 +3877,7 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
Object {
|
||||
"baseUrl": "http://localhost:5601/app/logs",
|
||||
"category": Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
},
|
||||
|
@ -3864,6 +3908,7 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
},
|
||||
Object {
|
||||
"category": Object {
|
||||
"euiIconType": "logoSecurity",
|
||||
"label": "Security",
|
||||
"order": 3000,
|
||||
},
|
||||
|
@ -3880,6 +3925,7 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
},
|
||||
Object {
|
||||
"category": Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
},
|
||||
|
@ -3959,6 +4005,7 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
},
|
||||
Object {
|
||||
"category": Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
},
|
||||
|
@ -4134,7 +4181,7 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
"listItems": Array [],
|
||||
"title": "Recent items",
|
||||
},
|
||||
"iconType": "clock",
|
||||
"iconType": "recentlyViewedApp",
|
||||
"isDisabled": true,
|
||||
"label": "Recently viewed",
|
||||
},
|
||||
|
@ -4152,7 +4199,7 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
"aria-label": "Recently viewed",
|
||||
"className": "euiNavDrawerGroup__item",
|
||||
"data-name": "Recently viewed",
|
||||
"iconType": "clock",
|
||||
"iconType": "recentlyViewedApp",
|
||||
"isDisabled": true,
|
||||
"label": "Recently viewed",
|
||||
"onClick": [Function],
|
||||
|
@ -4171,7 +4218,7 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
aria-label="Recently viewed"
|
||||
className="euiNavDrawerGroup__item"
|
||||
data-name="Recently viewed"
|
||||
iconType="clock"
|
||||
iconType="recentlyViewedApp"
|
||||
isDisabled={true}
|
||||
key="title-0"
|
||||
label="Recently viewed"
|
||||
|
@ -4207,18 +4254,18 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
>
|
||||
<EuiIcon
|
||||
className="euiListGroupItem__icon"
|
||||
type="clock"
|
||||
type="recentlyViewedApp"
|
||||
>
|
||||
<EuiIconEmpty
|
||||
aria-hidden={true}
|
||||
className="euiIcon euiIcon--medium euiIcon-isLoading euiListGroupItem__icon"
|
||||
className="euiIcon euiIcon--medium euiIcon--app euiIcon-isLoading euiListGroupItem__icon"
|
||||
focusable="false"
|
||||
role="img"
|
||||
style={null}
|
||||
>
|
||||
<svg
|
||||
aria-hidden={true}
|
||||
className="euiIcon euiIcon--medium euiIcon-isLoading euiListGroupItem__icon"
|
||||
className="euiIcon euiIcon--medium euiIcon--app euiIcon-isLoading euiListGroupItem__icon"
|
||||
focusable="false"
|
||||
height={16}
|
||||
role="img"
|
||||
|
@ -4275,6 +4322,7 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
},
|
||||
Object {
|
||||
"category": Object {
|
||||
"euiIconType": "logoSecurity",
|
||||
"label": "Security",
|
||||
"order": 3000,
|
||||
},
|
||||
|
@ -4291,6 +4339,7 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
},
|
||||
Object {
|
||||
"category": Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
},
|
||||
|
@ -4370,6 +4419,7 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
},
|
||||
Object {
|
||||
"category": Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
},
|
||||
|
@ -4421,6 +4471,7 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
Object {
|
||||
"aria-label": "siem",
|
||||
"category": Object {
|
||||
"euiIconType": "logoSecurity",
|
||||
"label": "Security",
|
||||
"order": 3000,
|
||||
},
|
||||
|
@ -4445,6 +4496,7 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
Object {
|
||||
"aria-label": "metrics",
|
||||
"category": Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
},
|
||||
|
@ -4564,6 +4616,7 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
Object {
|
||||
"aria-label": "logs",
|
||||
"category": Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
},
|
||||
|
@ -4672,6 +4725,7 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
aria-label="siem"
|
||||
category={
|
||||
Object {
|
||||
"euiIconType": "logoSecurity",
|
||||
"label": "Security",
|
||||
"order": 3000,
|
||||
}
|
||||
|
@ -4714,6 +4768,7 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
aria-label="siem"
|
||||
category={
|
||||
Object {
|
||||
"euiIconType": "logoSecurity",
|
||||
"label": "Security",
|
||||
"order": 3000,
|
||||
}
|
||||
|
@ -4746,6 +4801,7 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
aria-label="metrics"
|
||||
category={
|
||||
Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
}
|
||||
|
@ -4788,6 +4844,7 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
aria-label="metrics"
|
||||
category={
|
||||
Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
}
|
||||
|
@ -5114,6 +5171,7 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
aria-label="logs"
|
||||
category={
|
||||
Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
}
|
||||
|
@ -5156,6 +5214,7 @@ exports[`NavDrawer Advanced setting set to individual renders individual items 1
|
|||
aria-label="logs"
|
||||
category={
|
||||
Object {
|
||||
"euiIconType": "logoObservability",
|
||||
"label": "Observability",
|
||||
"order": 2000,
|
||||
}
|
||||
|
|
|
@ -95,7 +95,7 @@ export function RecentLinks({ recentlyAccessedItems, navLinks, basePath }: Props
|
|||
label: i18n.translate('core.ui.chrome.sideGlobalNav.viewRecentItemsLabel', {
|
||||
defaultMessage: 'Recently viewed',
|
||||
}),
|
||||
iconType: 'clock',
|
||||
iconType: 'recentlyViewedApp',
|
||||
isDisabled: recentlyAccessedItems.length === 0,
|
||||
flyoutMenu: {
|
||||
title: i18n.translate('core.ui.chrome.sideGlobalNav.viewRecentItemsFlyoutTitle', {
|
||||
|
|
|
@ -14,7 +14,6 @@ Array [
|
|||
<EuiOverlayMask>
|
||||
<mockConstructor>
|
||||
<EuiConfirmModal
|
||||
buttonColor="primary"
|
||||
cancelButtonText="Cancel"
|
||||
confirmButtonText="Confirm"
|
||||
onCancel={[Function]}
|
||||
|
@ -40,7 +39,6 @@ Array [
|
|||
<EuiOverlayMask>
|
||||
<mockConstructor>
|
||||
<EuiConfirmModal
|
||||
buttonColor="primary"
|
||||
cancelButtonText="Cancel"
|
||||
confirmButtonText="Confirm"
|
||||
onCancel={[Function]}
|
||||
|
@ -63,7 +61,6 @@ Array [
|
|||
<EuiOverlayMask>
|
||||
<mockConstructor>
|
||||
<EuiConfirmModal
|
||||
buttonColor="primary"
|
||||
cancelButtonText="Cancel"
|
||||
confirmButtonText="Confirm"
|
||||
onCancel={[Function]}
|
||||
|
@ -79,7 +76,6 @@ Array [
|
|||
<EuiOverlayMask>
|
||||
<mockConstructor>
|
||||
<EuiConfirmModal
|
||||
buttonColor="primary"
|
||||
cancelButtonText="Cancel"
|
||||
confirmButtonText="Confirm"
|
||||
onCancel={[Function]}
|
||||
|
@ -100,7 +96,6 @@ Array [
|
|||
<EuiOverlayMask>
|
||||
<mockConstructor>
|
||||
<EuiModal
|
||||
maxWidth={true}
|
||||
onClose={[Function]}
|
||||
>
|
||||
<MountWrapper
|
||||
|
@ -116,7 +111,6 @@ Array [
|
|||
<EuiOverlayMask>
|
||||
<mockConstructor>
|
||||
<EuiConfirmModal
|
||||
buttonColor="primary"
|
||||
cancelButtonText="Cancel"
|
||||
confirmButtonText="Confirm"
|
||||
onCancel={[Function]}
|
||||
|
@ -137,7 +131,6 @@ Array [
|
|||
<EuiOverlayMask>
|
||||
<mockConstructor>
|
||||
<EuiModal
|
||||
maxWidth={true}
|
||||
onClose={[Function]}
|
||||
>
|
||||
<MountWrapper
|
||||
|
@ -160,7 +153,6 @@ Array [
|
|||
<EuiOverlayMask>
|
||||
<mockConstructor>
|
||||
<EuiConfirmModal
|
||||
buttonColor="primary"
|
||||
cancelButtonText="Cancel"
|
||||
confirmButtonText="Confirm"
|
||||
onCancel={[Function]}
|
||||
|
@ -176,7 +168,6 @@ Array [
|
|||
<EuiOverlayMask>
|
||||
<mockConstructor>
|
||||
<EuiConfirmModal
|
||||
buttonColor="primary"
|
||||
cancelButtonText="Cancel"
|
||||
confirmButtonText="Confirm"
|
||||
onCancel={[Function]}
|
||||
|
@ -197,7 +188,6 @@ Array [
|
|||
<EuiOverlayMask>
|
||||
<mockConstructor>
|
||||
<EuiModal
|
||||
maxWidth={true}
|
||||
onClose={[Function]}
|
||||
>
|
||||
<MountWrapper
|
||||
|
@ -213,7 +203,6 @@ Array [
|
|||
<EuiOverlayMask>
|
||||
<mockConstructor>
|
||||
<EuiModal
|
||||
maxWidth={true}
|
||||
onClose={[Function]}
|
||||
>
|
||||
<MountWrapper
|
||||
|
|
|
@ -431,11 +431,13 @@ export const DEFAULT_APP_CATEGORIES: Readonly<{
|
|||
};
|
||||
observability: {
|
||||
label: string;
|
||||
euiIconType: string;
|
||||
order: number;
|
||||
};
|
||||
security: {
|
||||
label: string;
|
||||
order: number;
|
||||
euiIconType: string;
|
||||
};
|
||||
management: {
|
||||
label: string;
|
||||
|
|
|
@ -31,6 +31,7 @@ export const DEFAULT_APP_CATEGORIES = Object.freeze({
|
|||
label: i18n.translate('core.ui.observabilityNavList.label', {
|
||||
defaultMessage: 'Observability',
|
||||
}),
|
||||
euiIconType: 'logoObservability',
|
||||
order: 2000,
|
||||
},
|
||||
security: {
|
||||
|
@ -38,6 +39,7 @@ export const DEFAULT_APP_CATEGORIES = Object.freeze({
|
|||
defaultMessage: 'Security',
|
||||
}),
|
||||
order: 3000,
|
||||
euiIconType: 'logoSecurity',
|
||||
},
|
||||
management: {
|
||||
label: i18n.translate('core.ui.managementNavList.label', {
|
||||
|
|
|
@ -5,7 +5,6 @@ exports[`renders DashboardCloneModal 1`] = `
|
|||
<EuiModal
|
||||
className="dshCloneModal"
|
||||
data-test-subj="dashboardCloneModal"
|
||||
maxWidth={true}
|
||||
onClose={[Function]}
|
||||
>
|
||||
<EuiModalHeader>
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -15,6 +15,7 @@ exports[`props iconType 1`] = `
|
|||
}
|
||||
layout="horizontal"
|
||||
title="Great tutorial"
|
||||
titleSize="xs"
|
||||
/>
|
||||
`;
|
||||
|
||||
|
@ -34,6 +35,7 @@ exports[`props iconUrl 1`] = `
|
|||
}
|
||||
layout="horizontal"
|
||||
title="Great tutorial"
|
||||
titleSize="xs"
|
||||
/>
|
||||
`;
|
||||
|
||||
|
@ -46,6 +48,7 @@ exports[`props isBeta 1`] = `
|
|||
href="link_to_item"
|
||||
layout="horizontal"
|
||||
title="Great tutorial"
|
||||
titleSize="xs"
|
||||
/>
|
||||
`;
|
||||
|
||||
|
@ -58,5 +61,6 @@ exports[`render 1`] = `
|
|||
href="link_to_item"
|
||||
layout="horizontal"
|
||||
title="Great tutorial"
|
||||
titleSize="xs"
|
||||
/>
|
||||
`;
|
||||
|
|
|
@ -1,9 +1,22 @@
|
|||
.homAddData__card {
|
||||
max-width: 250px;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.homAddData__cardDivider {
|
||||
position: relative;
|
||||
|
||||
&:after {
|
||||
position: absolute;
|
||||
content: '';
|
||||
width: 1px;
|
||||
right: -$euiSizeS;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
background: $euiBorderColor;
|
||||
}
|
||||
}
|
||||
|
||||
.homAddData__icon {
|
||||
width: $euiSizeXL * 2;
|
||||
height: $euiSizeXL * 2;
|
||||
|
@ -18,10 +31,8 @@
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
@include euiBreakpoint('xs') {
|
||||
.homAddData__card {
|
||||
max-width: none;
|
||||
}
|
||||
.homAddData__logo {
|
||||
margin-left: $euiSize;
|
||||
}
|
||||
|
||||
@include euiBreakpoint('xs', 's') {
|
||||
|
@ -30,6 +41,21 @@
|
|||
}
|
||||
}
|
||||
|
||||
@include euiBreakpoint('xs', 's', 'm') {
|
||||
.homAddDat__flexTablet {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.homAddData__cardDivider:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.homAddData__cardDivider {
|
||||
flex-grow: 0 !important;
|
||||
flex-basis: 100% !important;
|
||||
}
|
||||
}
|
||||
|
||||
@include euiBreakpoint('l', 'xl') {
|
||||
.homeAddData__flexGroup {
|
||||
flex-wrap: nowrap;
|
||||
|
|
|
@ -91,10 +91,11 @@ const AddDataUi = ({ apmUiEnabled, isNewKibanaInstance, intl, mlEnabled }) => {
|
|||
};
|
||||
|
||||
const getApmCard = () => (
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiFlexItem grow={1} className="homAddData__flexItem">
|
||||
<EuiCard
|
||||
textAlign="left"
|
||||
className="homAddData__card"
|
||||
icon={<EuiIcon className="homAddData__icon" type="logoAPM" />}
|
||||
titleSize="xs"
|
||||
title={apmData.title}
|
||||
description={<span id={apmData.ariaDescribedby}>{apmData.description}</span>}
|
||||
footer={
|
||||
|
@ -115,60 +116,110 @@ const AddDataUi = ({ apmUiEnabled, isNewKibanaInstance, intl, mlEnabled }) => {
|
|||
|
||||
return (
|
||||
<EuiFlexGroup
|
||||
className="homeAddData__flexGroup"
|
||||
className="homeAddData__flexGroup homAddData__flexTablet"
|
||||
wrap={apmUiEnabled}
|
||||
gutterSize="l"
|
||||
justifyContent="spaceAround"
|
||||
responsive={false}
|
||||
>
|
||||
{apmUiEnabled !== false && getApmCard()}
|
||||
<EuiFlexItem className="homAddData__cardDivider homAddData__flexItem" grow={3}>
|
||||
<EuiSpacer size="m" />
|
||||
<EuiFlexGroup alignItems="center" gutterSize="m" responsive={false}>
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiIcon size="xl" type="logoObservability" className="homAddData__logo" />
|
||||
</EuiFlexItem>
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiTitle size="s">
|
||||
<h2>
|
||||
<FormattedMessage
|
||||
id="kbn.home.addData.title.observability"
|
||||
defaultMessage="Observability"
|
||||
/>
|
||||
</h2>
|
||||
</EuiTitle>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
<EuiSpacer />
|
||||
<EuiFlexGroup
|
||||
className="homeAddData__flexGroup"
|
||||
wrap={apmUiEnabled}
|
||||
gutterSize="l"
|
||||
justifyContent="spaceAround"
|
||||
responsive={false}
|
||||
>
|
||||
{apmUiEnabled !== false && getApmCard()}
|
||||
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiCard
|
||||
className="homAddData__card"
|
||||
icon={<EuiIcon className="homAddData__icon" type="logoLogging" />}
|
||||
title={loggingData.title}
|
||||
description={<span id={loggingData.ariaDescribedby}>{loggingData.description}</span>}
|
||||
footer={
|
||||
<EuiButton
|
||||
className="homAddData__button"
|
||||
href="#/home/tutorial_directory/logging"
|
||||
aria-describedby={loggingData.ariaDescribedby}
|
||||
>
|
||||
<FormattedMessage
|
||||
id="kbn.home.addData.logging.addLogDataButtonLabel"
|
||||
defaultMessage="Add log data"
|
||||
/>
|
||||
</EuiButton>
|
||||
}
|
||||
/>
|
||||
<EuiFlexItem grow={1} className="homAddData__flexItem">
|
||||
<EuiCard
|
||||
textAlign="left"
|
||||
className="homAddData__card"
|
||||
title={loggingData.title}
|
||||
titleSize="xs"
|
||||
description={
|
||||
<span id={loggingData.ariaDescribedby}>{loggingData.description}</span>
|
||||
}
|
||||
footer={
|
||||
<EuiButton
|
||||
className="homAddData__button"
|
||||
href="#/home/tutorial_directory/logging"
|
||||
aria-describedby={loggingData.ariaDescribedby}
|
||||
>
|
||||
<FormattedMessage
|
||||
id="kbn.home.addData.logging.addLogDataButtonLabel"
|
||||
defaultMessage="Add log data"
|
||||
/>
|
||||
</EuiButton>
|
||||
}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
|
||||
<EuiFlexItem grow={1} className="homAddData__flexItem">
|
||||
<EuiCard
|
||||
textAlign="left"
|
||||
className="homAddData__card"
|
||||
title={metricsData.title}
|
||||
titleSize="xs"
|
||||
description={
|
||||
<span id={metricsData.ariaDescribedby}>{metricsData.description}</span>
|
||||
}
|
||||
footer={
|
||||
<EuiButton
|
||||
className="homAddData__button"
|
||||
href="#/home/tutorial_directory/metrics"
|
||||
aria-describedby={metricsData.ariaDescribedby}
|
||||
>
|
||||
<FormattedMessage
|
||||
id="kbn.home.addData.metrics.addMetricsDataButtonLabel"
|
||||
defaultMessage="Add metric data"
|
||||
/>
|
||||
</EuiButton>
|
||||
}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
</EuiFlexItem>
|
||||
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiFlexItem grow={1} className="homAddData__flexItem">
|
||||
<EuiFlexGroup alignItems="center" gutterSize="m" responsive={false}>
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiIcon size="xl" type="logoSecurity" className="homAddData__logo" />
|
||||
</EuiFlexItem>
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiTitle size="s">
|
||||
<h2>
|
||||
<FormattedMessage
|
||||
id="kbn.home.addData.title.security"
|
||||
defaultMessage="Security"
|
||||
/>
|
||||
</h2>
|
||||
</EuiTitle>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
<EuiSpacer size="s" />
|
||||
<EuiCard
|
||||
textAlign="left"
|
||||
titleSize="xs"
|
||||
className="homAddData__card"
|
||||
icon={<EuiIcon className="homAddData__icon" type="logoMetrics" />}
|
||||
title={metricsData.title}
|
||||
description={<span id={metricsData.ariaDescribedby}>{metricsData.description}</span>}
|
||||
footer={
|
||||
<EuiButton
|
||||
className="homAddData__button"
|
||||
href="#/home/tutorial_directory/metrics"
|
||||
aria-describedby={metricsData.ariaDescribedby}
|
||||
>
|
||||
<FormattedMessage
|
||||
id="kbn.home.addData.metrics.addMetricsDataButtonLabel"
|
||||
defaultMessage="Add metric data"
|
||||
/>
|
||||
</EuiButton>
|
||||
}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiCard
|
||||
className="homAddData__card"
|
||||
icon={<EuiIcon className="homAddData__icon" type="logoSecurity" />}
|
||||
title={siemData.title}
|
||||
description={<span id={siemData.ariaDescribedby}>{siemData.description}</span>}
|
||||
footer={
|
||||
|
@ -179,7 +230,7 @@ const AddDataUi = ({ apmUiEnabled, isNewKibanaInstance, intl, mlEnabled }) => {
|
|||
>
|
||||
<FormattedMessage
|
||||
id="kbn.home.addData.siem.addSiemEventsButtonLabel"
|
||||
defaultMessage="Add security events"
|
||||
defaultMessage="Add events"
|
||||
/>
|
||||
</EuiButton>
|
||||
}
|
||||
|
@ -195,29 +246,6 @@ const AddDataUi = ({ apmUiEnabled, isNewKibanaInstance, intl, mlEnabled }) => {
|
|||
|
||||
return (
|
||||
<EuiPanel paddingSize="l">
|
||||
<EuiFlexGroup>
|
||||
<EuiFlexItem>
|
||||
<EuiTitle>
|
||||
<h2>
|
||||
<FormattedMessage
|
||||
id="kbn.home.addData.addDataToKibanaTitle"
|
||||
defaultMessage="Add Data to Kibana"
|
||||
/>
|
||||
</h2>
|
||||
</EuiTitle>
|
||||
<EuiText size="s">
|
||||
<p>
|
||||
<FormattedMessage
|
||||
id="kbn.home.addData.addDataToKibanaDescription"
|
||||
defaultMessage="Use these solutions to quickly turn your data into pre-built dashboards and monitoring systems."
|
||||
/>
|
||||
</p>
|
||||
</EuiText>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
|
||||
<EuiSpacer />
|
||||
|
||||
{renderCards()}
|
||||
|
||||
<EuiHorizontalRule />
|
||||
|
|
|
@ -55,6 +55,7 @@ export function Synopsis({
|
|||
className={classes}
|
||||
layout="horizontal"
|
||||
icon={optionalImg}
|
||||
titleSize="xs"
|
||||
title={title}
|
||||
description={description}
|
||||
onClick={onClick}
|
||||
|
|
|
@ -22,11 +22,7 @@ exports[`render 1`] = `
|
|||
grow={false}
|
||||
/>
|
||||
</EuiFlexGroup>
|
||||
<EuiTabs
|
||||
display="default"
|
||||
expand={false}
|
||||
size="m"
|
||||
>
|
||||
<EuiTabs>
|
||||
<EuiTab
|
||||
isSelected={true}
|
||||
key="0"
|
||||
|
@ -103,11 +99,7 @@ exports[`statusCheckState checking status 1`] = `
|
|||
grow={false}
|
||||
/>
|
||||
</EuiFlexGroup>
|
||||
<EuiTabs
|
||||
display="default"
|
||||
expand={false}
|
||||
size="m"
|
||||
>
|
||||
<EuiTabs>
|
||||
<EuiTab
|
||||
isSelected={true}
|
||||
key="0"
|
||||
|
@ -214,11 +206,7 @@ exports[`statusCheckState failed status check - error 1`] = `
|
|||
grow={false}
|
||||
/>
|
||||
</EuiFlexGroup>
|
||||
<EuiTabs
|
||||
display="default"
|
||||
expand={false}
|
||||
size="m"
|
||||
>
|
||||
<EuiTabs>
|
||||
<EuiTab
|
||||
isSelected={true}
|
||||
key="0"
|
||||
|
@ -329,11 +317,7 @@ exports[`statusCheckState failed status check - no data 1`] = `
|
|||
grow={false}
|
||||
/>
|
||||
</EuiFlexGroup>
|
||||
<EuiTabs
|
||||
display="default"
|
||||
expand={false}
|
||||
size="m"
|
||||
>
|
||||
<EuiTabs>
|
||||
<EuiTab
|
||||
isSelected={true}
|
||||
key="0"
|
||||
|
@ -444,11 +428,7 @@ exports[`statusCheckState initial state - no check has been attempted 1`] = `
|
|||
grow={false}
|
||||
/>
|
||||
</EuiFlexGroup>
|
||||
<EuiTabs
|
||||
display="default"
|
||||
expand={false}
|
||||
size="m"
|
||||
>
|
||||
<EuiTabs>
|
||||
<EuiTab
|
||||
isSelected={true}
|
||||
key="0"
|
||||
|
@ -555,11 +535,7 @@ exports[`statusCheckState successful status check 1`] = `
|
|||
grow={false}
|
||||
/>
|
||||
</EuiFlexGroup>
|
||||
<EuiTabs
|
||||
display="default"
|
||||
expand={false}
|
||||
size="m"
|
||||
>
|
||||
<EuiTabs>
|
||||
<EuiTab
|
||||
isSelected={true}
|
||||
key="0"
|
||||
|
|
|
@ -522,7 +522,6 @@ exports[`bulkCreate should display success message when bulkCreate is successful
|
|||
width={16}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<title />
|
||||
<path
|
||||
d="M6.5 12a.502.502 0 01-.354-.146l-4-4a.502.502 0 01.708-.708L6.5 10.793l6.646-6.647a.502.502 0 01.708.708l-7 7A.502.502 0 016.5 12"
|
||||
fillRule="evenodd"
|
||||
|
|
|
@ -78,7 +78,6 @@ exports[`ObjectsTable delete should show a confirm modal 1`] = `
|
|||
|
||||
exports[`ObjectsTable export should allow the user to choose when exporting all 1`] = `
|
||||
<EuiModal
|
||||
maxWidth={true}
|
||||
onClose={[Function]}
|
||||
>
|
||||
<EuiModalHeader>
|
||||
|
|
|
@ -442,7 +442,6 @@ exports[`NewVisModal filter for visualization types should render as expected 1`
|
|||
<EuiModal
|
||||
aria-label="Start creating your visualization by selecting a type for that visualization. Hit escape to close this modal. Hit Tab key to go further."
|
||||
className="visNewVisDialog"
|
||||
maxWidth={true}
|
||||
onClose={[Function]}
|
||||
role="menu"
|
||||
>
|
||||
|
@ -2179,7 +2178,6 @@ exports[`NewVisModal should render as expected 1`] = `
|
|||
<EuiModal
|
||||
aria-label="Start creating your visualization by selecting a type for that visualization. Hit escape to close this modal. Hit Tab key to go further."
|
||||
className="visNewVisDialog"
|
||||
maxWidth={true}
|
||||
onClose={[Function]}
|
||||
role="menu"
|
||||
>
|
||||
|
@ -2897,7 +2895,6 @@ exports[`NewVisModal should render as expected 1`] = `
|
|||
value=""
|
||||
>
|
||||
<EuiFormControlLayout
|
||||
clear={null}
|
||||
compressed={false}
|
||||
fullWidth={true}
|
||||
icon="search"
|
||||
|
@ -2922,7 +2919,6 @@ exports[`NewVisModal should render as expected 1`] = `
|
|||
/>
|
||||
</EuiValidatableControl>
|
||||
<EuiFormControlLayoutIcons
|
||||
clear={null}
|
||||
icon="search"
|
||||
isLoading={false}
|
||||
>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`VisLegend Component Legend closed should match the snapshot 1`] = `"<div class=\\"visLegend\\"><button type=\\"button\\" class=\\"visLegend__toggle kbn-resetFocusState\\" aria-label=\\"Toggle legend\\" aria-expanded=\\"false\\" aria-controls=\\"legendId\\" data-test-subj=\\"vislibToggleLegend\\" title=\\"Toggle legend\\"><svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 16 16\\" xmlns=\\"http://www.w3.org/2000/svg\\" class=\\"euiIcon euiIcon--medium euiIcon--text euiIcon-isLoaded\\" focusable=\\"false\\" role=\\"img\\" aria-hidden=\\"true\\"><title></title><path d=\\"M2 4V3h2v1H2zm4 0V3h8v1H6zm0 3V6h8v1H6zm0 3V9h8v1H6zM2 7V6h2v1H2zm0 3V9h2v1H2zm4 3v-1h8v1H6zm-4 0v-1h2v1H2z\\"></path></svg></button></div>"`;
|
||||
exports[`VisLegend Component Legend closed should match the snapshot 1`] = `"<div class=\\"visLegend\\"><button type=\\"button\\" class=\\"visLegend__toggle kbn-resetFocusState\\" aria-label=\\"Toggle legend\\" aria-expanded=\\"false\\" aria-controls=\\"legendId\\" data-test-subj=\\"vislibToggleLegend\\" title=\\"Toggle legend\\"><svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 16 16\\" xmlns=\\"http://www.w3.org/2000/svg\\" class=\\"euiIcon euiIcon--medium euiIcon--text euiIcon-isLoaded\\" focusable=\\"false\\" role=\\"img\\" aria-hidden=\\"true\\"><path d=\\"M2 4V3h2v1H2zm4 0V3h8v1H6zm0 3V6h8v1H6zm0 3V9h8v1H6zM2 7V6h2v1H2zm0 3V9h2v1H2zm4 3v-1h8v1H6zm-4 0v-1h2v1H2z\\"></path></svg></button></div>"`;
|
||||
|
||||
exports[`VisLegend Component Legend open should match the snapshot 1`] = `"<div class=\\"visLegend\\"><button type=\\"button\\" class=\\"visLegend__toggle kbn-resetFocusState visLegend__toggle--isOpen\\" aria-label=\\"Toggle legend\\" aria-expanded=\\"true\\" aria-controls=\\"legendId\\" data-test-subj=\\"vislibToggleLegend\\" title=\\"Toggle legend\\"><svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 16 16\\" xmlns=\\"http://www.w3.org/2000/svg\\" class=\\"euiIcon euiIcon--medium euiIcon--text euiIcon-isLoaded\\" focusable=\\"false\\" role=\\"img\\" aria-hidden=\\"true\\"><title></title><path d=\\"M2 4V3h2v1H2zm4 0V3h8v1H6zm0 3V6h8v1H6zm0 3V9h8v1H6zM2 7V6h2v1H2zm0 3V9h2v1H2zm4 3v-1h8v1H6zm-4 0v-1h2v1H2z\\"></path></svg></button><ul class=\\"visLegend__list\\" id=\\"legendId\\"><li class=\\"visLegend__value\\"><div class=\\"euiPopover euiPopover--anchorDownCenter euiPopover--displayBlock\\"><div class=\\"euiPopover__anchor\\"><button class=\\"euiButtonEmpty euiButtonEmpty--text euiButtonEmpty--xSmall euiButtonEmpty--flushLeft visLegend__button\\" type=\\"button\\" data-label=\\"A\\" title=\\"A\\" aria-label=\\"A, toggle options\\" data-test-subj=\\"legend-A\\"><span class=\\"euiButtonEmpty__content\\"><span class=\\"euiButtonEmpty__text\\"><svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 16 16\\" xmlns=\\"http://www.w3.org/2000/svg\\" class=\\"euiIcon euiIcon--large euiIcon-isLoaded\\" style=\\"fill: red;\\" focusable=\\"false\\" role=\\"img\\" data-test-subj=\\"legendSelectedColor-red\\" aria-hidden=\\"true\\"><title></title><circle cx=\\"8\\" cy=\\"8\\" r=\\"4\\"></circle></svg><span class=\\"visLegend__valueTitle\\">A</span></span></span></button></div></div></li><li class=\\"visLegend__value\\"><div class=\\"euiPopover euiPopover--anchorDownCenter euiPopover--displayBlock\\"><div class=\\"euiPopover__anchor\\"><button class=\\"euiButtonEmpty euiButtonEmpty--text euiButtonEmpty--xSmall euiButtonEmpty--flushLeft visLegend__button\\" type=\\"button\\" data-label=\\"B\\" title=\\"B\\" aria-label=\\"B, toggle options\\" data-test-subj=\\"legend-B\\"><span class=\\"euiButtonEmpty__content\\"><span class=\\"euiButtonEmpty__text\\"><svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 16 16\\" xmlns=\\"http://www.w3.org/2000/svg\\" class=\\"euiIcon euiIcon--large euiIcon-isLoaded\\" style=\\"fill: red;\\" focusable=\\"false\\" role=\\"img\\" data-test-subj=\\"legendSelectedColor-red\\" aria-hidden=\\"true\\"><title></title><circle cx=\\"8\\" cy=\\"8\\" r=\\"4\\"></circle></svg><span class=\\"visLegend__valueTitle\\">B</span></span></span></button></div></div></li></ul></div>"`;
|
||||
exports[`VisLegend Component Legend open should match the snapshot 1`] = `"<div class=\\"visLegend\\"><button type=\\"button\\" class=\\"visLegend__toggle kbn-resetFocusState visLegend__toggle--isOpen\\" aria-label=\\"Toggle legend\\" aria-expanded=\\"true\\" aria-controls=\\"legendId\\" data-test-subj=\\"vislibToggleLegend\\" title=\\"Toggle legend\\"><svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 16 16\\" xmlns=\\"http://www.w3.org/2000/svg\\" class=\\"euiIcon euiIcon--medium euiIcon--text euiIcon-isLoaded\\" focusable=\\"false\\" role=\\"img\\" aria-hidden=\\"true\\"><path d=\\"M2 4V3h2v1H2zm4 0V3h8v1H6zm0 3V6h8v1H6zm0 3V9h8v1H6zM2 7V6h2v1H2zm0 3V9h2v1H2zm4 3v-1h8v1H6zm-4 0v-1h2v1H2z\\"></path></svg></button><ul class=\\"visLegend__list\\" id=\\"legendId\\"><li class=\\"visLegend__value\\"><div class=\\"euiPopover euiPopover--anchorDownCenter euiPopover--displayBlock\\"><div class=\\"euiPopover__anchor\\"><button class=\\"euiButtonEmpty euiButtonEmpty--text euiButtonEmpty--xSmall euiButtonEmpty--flushLeft visLegend__button\\" type=\\"button\\" data-label=\\"A\\" title=\\"A\\" aria-label=\\"A, toggle options\\" data-test-subj=\\"legend-A\\"><span class=\\"euiButtonEmpty__content\\"><span class=\\"euiButtonEmpty__text\\"><svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 16 16\\" xmlns=\\"http://www.w3.org/2000/svg\\" class=\\"euiIcon euiIcon--large euiIcon-isLoaded\\" style=\\"fill: red;\\" focusable=\\"false\\" role=\\"img\\" data-test-subj=\\"legendSelectedColor-red\\" aria-hidden=\\"true\\"><circle cx=\\"8\\" cy=\\"8\\" r=\\"4\\"></circle></svg><span class=\\"visLegend__valueTitle\\">A</span></span></span></button></div></div></li><li class=\\"visLegend__value\\"><div class=\\"euiPopover euiPopover--anchorDownCenter euiPopover--displayBlock\\"><div class=\\"euiPopover__anchor\\"><button class=\\"euiButtonEmpty euiButtonEmpty--text euiButtonEmpty--xSmall euiButtonEmpty--flushLeft visLegend__button\\" type=\\"button\\" data-label=\\"B\\" title=\\"B\\" aria-label=\\"B, toggle options\\" data-test-subj=\\"legend-B\\"><span class=\\"euiButtonEmpty__content\\"><span class=\\"euiButtonEmpty__text\\"><svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 16 16\\" xmlns=\\"http://www.w3.org/2000/svg\\" class=\\"euiIcon euiIcon--large euiIcon-isLoaded\\" style=\\"fill: red;\\" focusable=\\"false\\" role=\\"img\\" data-test-subj=\\"legendSelectedColor-red\\" aria-hidden=\\"true\\"><circle cx=\\"8\\" cy=\\"8\\" r=\\"4\\"></circle></svg><span class=\\"visLegend__valueTitle\\">B</span></span></span></button></div></div></li></ul></div>"`;
|
||||
|
|
|
@ -8,7 +8,6 @@ exports[`SavedObjectSaveModal should render matching snapshot 1`] = `
|
|||
<EuiModal
|
||||
className="kbnSavedObjectSaveModal"
|
||||
data-test-subj="savedObjectSaveModal"
|
||||
maxWidth={true}
|
||||
onClose={[Function]}
|
||||
>
|
||||
<EuiModalHeader>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
},
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@elastic/eui": "18.2.1",
|
||||
"@elastic/eui": "18.3.0",
|
||||
"react": "^16.12.0",
|
||||
"react-dom": "^16.12.0"
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
},
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@elastic/eui": "18.2.1",
|
||||
"@elastic/eui": "18.3.0",
|
||||
"react": "^16.12.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
},
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@elastic/eui": "18.2.1",
|
||||
"@elastic/eui": "18.3.0",
|
||||
"react": "^16.12.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
},
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@elastic/eui": "18.2.1",
|
||||
"@elastic/eui": "18.3.0",
|
||||
"react": "^16.12.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
|
@ -62,11 +62,7 @@ exports[`DetailView should render TabContent 1`] = `
|
|||
`;
|
||||
|
||||
exports[`DetailView should render tabs 1`] = `
|
||||
<EuiTabs
|
||||
display="default"
|
||||
expand={false}
|
||||
size="m"
|
||||
>
|
||||
<EuiTabs>
|
||||
<EuiTab
|
||||
isSelected={true}
|
||||
key="exception_stacktrace"
|
||||
|
|
|
@ -116,7 +116,6 @@ NodeList [
|
|||
width="16"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<title />
|
||||
<path
|
||||
d="M13.6 12.186l-1.357-1.358c-.025-.025-.058-.034-.084-.056.53-.794.84-1.746.84-2.773a4.977 4.977 0 00-.84-2.772c.026-.02.059-.03.084-.056L13.6 3.813a6.96 6.96 0 010 8.373zM8 15A6.956 6.956 0 013.814 13.6l1.358-1.358c.025-.025.034-.057.055-.084C6.02 12.688 6.974 13 8 13a4.978 4.978 0 002.773-.84c.02.026.03.058.056.083l1.357 1.358A6.956 6.956 0 018 15zm-5.601-2.813a6.963 6.963 0 010-8.373l1.359 1.358c.024.025.057.035.084.056A4.97 4.97 0 003 8c0 1.027.31 1.98.842 2.773-.027.022-.06.031-.084.056l-1.36 1.358zm5.6-.187A4 4 0 118 4a4 4 0 010 8zM8 1c1.573 0 3.019.525 4.187 1.4l-1.357 1.358c-.025.025-.035.057-.056.084A4.979 4.979 0 008 3a4.979 4.979 0 00-2.773.842c-.021-.027-.03-.059-.055-.084L3.814 2.4A6.957 6.957 0 018 1zm0-1a8.001 8.001 0 10.003 16.002A8.001 8.001 0 008 0z"
|
||||
fill-rule="evenodd"
|
||||
|
|
|
@ -26,7 +26,6 @@ exports[`TransactionActionMenu component should match the snapshot 1`] = `
|
|||
width="16"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<title />
|
||||
<path
|
||||
d="M13.069 5.157L8.384 9.768a.546.546 0 01-.768 0L2.93 5.158a.552.552 0 00-.771 0 .53.53 0 000 .759l4.684 4.61c.641.631 1.672.63 2.312 0l4.684-4.61a.53.53 0 000-.76.552.552 0 00-.771 0z"
|
||||
fill-rule="non-zero"
|
||||
|
|
|
@ -26,7 +26,8 @@ exports[`Storyshots components/FontPicker default 1`] = `
|
|||
className="euiScreenReaderOnly"
|
||||
id="generated-id"
|
||||
>
|
||||
Select an option: , is selected
|
||||
Select an option:
|
||||
, is selected
|
||||
</span>
|
||||
<button
|
||||
aria-haspopup="true"
|
||||
|
@ -37,9 +38,7 @@ exports[`Storyshots components/FontPicker default 1`] = `
|
|||
onKeyDown={[Function]}
|
||||
role="option"
|
||||
type="button"
|
||||
>
|
||||
|
||||
</button>
|
||||
/>
|
||||
<div
|
||||
className="euiFormControlLayoutIcons euiFormControlLayoutIcons--right"
|
||||
>
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -296,7 +296,6 @@ exports[`UploadLicense should display a modal when license requires acknowledgem
|
|||
}
|
||||
>
|
||||
<EuiConfirmModal
|
||||
buttonColor="primary"
|
||||
cancelButtonText={
|
||||
<FormattedMessage
|
||||
defaultMessage="Cancel"
|
||||
|
@ -323,7 +322,6 @@ exports[`UploadLicense should display a modal when license requires acknowledgem
|
|||
>
|
||||
<EuiModal
|
||||
className="euiModal--confirmation"
|
||||
maxWidth={true}
|
||||
onClose={[Function]}
|
||||
>
|
||||
<EuiFocusTrap>
|
||||
|
@ -1401,7 +1399,6 @@ exports[`UploadLicense should display an error when ES says license is expired 1
|
|||
width={16}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<title />
|
||||
<path
|
||||
d="M9 10.114l1.85-1.943a.52.52 0 01.77 0c.214.228.214.6 0 .829l-1.95 2.05a1.552 1.552 0 01-2.31 0L5.41 9a.617.617 0 010-.829.52.52 0 01.77 0L8 10.082V1.556C8 1.249 8.224 1 8.5 1s.5.249.5.556v8.558zM4.18 6a.993.993 0 00-.972.804l-1.189 6A.995.995 0 002.991 14h11.018a1 1 0 00.972-1.196l-1.19-6a.993.993 0 00-.97-.804H4.18zM6 5v1h5V5h1.825c.946 0 1.76.673 1.946 1.608l1.19 6A2 2 0 0114.016 15H2.984a1.992 1.992 0 01-1.945-2.392l1.19-6C2.414 5.673 3.229 5 4.174 5H6z"
|
||||
/>
|
||||
|
@ -1871,7 +1868,6 @@ exports[`UploadLicense should display an error when ES says license is invalid 1
|
|||
width={16}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<title />
|
||||
<path
|
||||
d="M9 10.114l1.85-1.943a.52.52 0 01.77 0c.214.228.214.6 0 .829l-1.95 2.05a1.552 1.552 0 01-2.31 0L5.41 9a.617.617 0 010-.829.52.52 0 01.77 0L8 10.082V1.556C8 1.249 8.224 1 8.5 1s.5.249.5.556v8.558zM4.18 6a.993.993 0 00-.972.804l-1.189 6A.995.995 0 002.991 14h11.018a1 1 0 00.972-1.196l-1.19-6a.993.993 0 00-.97-.804H4.18zM6 5v1h5V5h1.825c.946 0 1.76.673 1.946 1.608l1.19 6A2 2 0 0114.016 15H2.984a1.992 1.992 0 01-1.945-2.392l1.19-6C2.414 5.673 3.229 5 4.174 5H6z"
|
||||
/>
|
||||
|
@ -2806,7 +2802,6 @@ exports[`UploadLicense should display error when ES returns error 1`] = `
|
|||
width={16}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<title />
|
||||
<path
|
||||
d="M9 10.114l1.85-1.943a.52.52 0 01.77 0c.214.228.214.6 0 .829l-1.95 2.05a1.552 1.552 0 01-2.31 0L5.41 9a.617.617 0 010-.829.52.52 0 01.77 0L8 10.082V1.556C8 1.249 8.224 1 8.5 1s.5.249.5.556v8.558zM4.18 6a.993.993 0 00-.972.804l-1.189 6A.995.995 0 002.991 14h11.018a1 1 0 00.972-1.196l-1.19-6a.993.993 0 00-.97-.804H4.18zM6 5v1h5V5h1.825c.946 0 1.76.673 1.946 1.608l1.19 6A2 2 0 0114.016 15H2.984a1.992 1.992 0 01-1.945-2.392l1.19-6C2.414 5.673 3.229 5 4.174 5H6z"
|
||||
/>
|
||||
|
|
|
@ -33,6 +33,7 @@ exports[`should not render relation select when geo field is geo_point 1`] = `
|
|||
fullWidth={true}
|
||||
hasDividers={true}
|
||||
isInvalid={false}
|
||||
isLoading={false}
|
||||
itemClassName="mapGeometryFilter__geoFieldItem"
|
||||
onChange={[Function]}
|
||||
options={
|
||||
|
@ -110,6 +111,7 @@ exports[`should not show "within" relation when filter geometry is not closed 1`
|
|||
fullWidth={true}
|
||||
hasDividers={true}
|
||||
isInvalid={false}
|
||||
isLoading={false}
|
||||
itemClassName="mapGeometryFilter__geoFieldItem"
|
||||
onChange={[Function]}
|
||||
options={
|
||||
|
@ -214,6 +216,7 @@ exports[`should render error message 1`] = `
|
|||
fullWidth={true}
|
||||
hasDividers={true}
|
||||
isInvalid={false}
|
||||
isLoading={false}
|
||||
itemClassName="mapGeometryFilter__geoFieldItem"
|
||||
onChange={[Function]}
|
||||
options={
|
||||
|
@ -294,6 +297,7 @@ exports[`should render relation select when geo field is geo_shape 1`] = `
|
|||
fullWidth={true}
|
||||
hasDividers={true}
|
||||
isInvalid={false}
|
||||
isLoading={false}
|
||||
itemClassName="mapGeometryFilter__geoFieldItem"
|
||||
onChange={[Function]}
|
||||
options={
|
||||
|
|
|
@ -15,6 +15,7 @@ exports[`HeatmapStyleEditor is rendered 1`] = `
|
|||
fullWidth={false}
|
||||
hasDividers={true}
|
||||
isInvalid={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
options={
|
||||
Array [
|
||||
|
|
|
@ -3,25 +3,17 @@
|
|||
exports[`Select Flow Direction rendering it renders the basic group button for uni-direction and bi-direction 1`] = `
|
||||
<EuiFilterGroup>
|
||||
<EuiFilterButton
|
||||
color="text"
|
||||
data-test-subj="uniDirectional"
|
||||
grow={true}
|
||||
hasActiveFilters={true}
|
||||
iconSide="right"
|
||||
onClick={[Function]}
|
||||
type="button"
|
||||
withNext={true}
|
||||
>
|
||||
Unidirectional
|
||||
</EuiFilterButton>
|
||||
<EuiFilterButton
|
||||
color="text"
|
||||
data-test-subj="biDirectional"
|
||||
grow={true}
|
||||
hasActiveFilters={false}
|
||||
iconSide="right"
|
||||
onClick={[Function]}
|
||||
type="button"
|
||||
>
|
||||
Bidirectional
|
||||
</EuiFilterButton>
|
||||
|
|
|
@ -5,16 +5,12 @@ exports[`GroupsFilterPopover renders correctly against snapshot 1`] = `
|
|||
anchorPosition="downCenter"
|
||||
button={
|
||||
<EuiFilterButton
|
||||
color="text"
|
||||
data-test-subj="groups-filter-popover-button"
|
||||
grow={true}
|
||||
hasActiveFilters={false}
|
||||
iconSide="right"
|
||||
iconType="arrowDown"
|
||||
isSelected={false}
|
||||
numActiveFilters={0}
|
||||
onClick={[Function]}
|
||||
type="button"
|
||||
>
|
||||
Groups
|
||||
</EuiFilterButton>
|
||||
|
|
|
@ -110,25 +110,17 @@ exports[`JobsTableFilters renders correctly against snapshot 1`] = `
|
|||
>
|
||||
<EuiFilterGroup>
|
||||
<EuiFilterButton
|
||||
color="text"
|
||||
data-test-subj="show-elastic-jobs-filter-button"
|
||||
grow={true}
|
||||
hasActiveFilters={false}
|
||||
iconSide="right"
|
||||
onClick={[Function]}
|
||||
type="button"
|
||||
withNext={true}
|
||||
>
|
||||
Elastic jobs
|
||||
</EuiFilterButton>
|
||||
<EuiFilterButton
|
||||
color="text"
|
||||
data-test-subj="show-custom-jobs-filter-button"
|
||||
grow={true}
|
||||
hasActiveFilters={false}
|
||||
iconSide="right"
|
||||
onClick={[Function]}
|
||||
type="button"
|
||||
>
|
||||
Custom jobs
|
||||
</EuiFilterButton>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
exports[`Modal all errors rendering it renders the default all errors modal when isShowing is positive 1`] = `
|
||||
<EuiOverlayMask>
|
||||
<EuiModal
|
||||
maxWidth={true}
|
||||
onClose={[Function]}
|
||||
>
|
||||
<EuiModalHeader>
|
||||
|
|
|
@ -5,7 +5,6 @@ exports[`ConfirmDeleteModal renders as expected 1`] = `
|
|||
<EuiModal
|
||||
className="spcConfirmDeleteModal"
|
||||
initialFocus="input[name=\\"confirmDeleteSpaceInput\\"]"
|
||||
maxWidth={true}
|
||||
onClose={[MockFunction]}
|
||||
>
|
||||
<EuiModalHeader>
|
||||
|
|
|
@ -9,8 +9,6 @@ import {
|
|||
EuiButton,
|
||||
EuiButtonEmpty,
|
||||
EuiCallOut,
|
||||
// @ts-ignore
|
||||
EuiConfirmModal,
|
||||
EuiFieldText,
|
||||
EuiFormRow,
|
||||
EuiModal,
|
||||
|
@ -89,7 +87,7 @@ class ConfirmDeleteModalUI extends Component<Props, State> {
|
|||
// This is largely the same as the built-in EuiConfirmModal component, but we needed the ability
|
||||
// to disable the buttons since this could be a long-running operation
|
||||
|
||||
const modalProps: EuiModalProps & CommonProps = {
|
||||
const modalProps: Omit<EuiModalProps, 'children'> & CommonProps = {
|
||||
onClose: onCancel,
|
||||
className: 'spcConfirmDeleteModal',
|
||||
initialFocus: 'input[name="confirmDeleteSpaceInput"]',
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
exports[`ConfirmAlterActiveSpaceModal renders as expected 1`] = `
|
||||
<EuiOverlayMask>
|
||||
<EuiConfirmModal
|
||||
buttonColor="primary"
|
||||
cancelButtonText="Cancel"
|
||||
confirmButtonText="Update space"
|
||||
defaultFocusedButton="confirm"
|
||||
|
|
|
@ -6,26 +6,18 @@ exports[`FilterBar renders 1`] = `
|
|||
>
|
||||
<EuiFilterGroup>
|
||||
<EuiFilterButton
|
||||
color="text"
|
||||
grow={true}
|
||||
hasActiveFilters={false}
|
||||
iconSide="right"
|
||||
key="all"
|
||||
numFilters={2}
|
||||
onClick={[Function]}
|
||||
type="button"
|
||||
>
|
||||
all
|
||||
</EuiFilterButton>
|
||||
<EuiFilterButton
|
||||
color="text"
|
||||
grow={true}
|
||||
hasActiveFilters={true}
|
||||
iconSide="right"
|
||||
key="critical"
|
||||
numFilters={2}
|
||||
onClick={[Function]}
|
||||
type="button"
|
||||
>
|
||||
critical
|
||||
</EuiFilterButton>
|
||||
|
|
|
@ -6,24 +6,16 @@ exports[`GroupByBar renders 1`] = `
|
|||
>
|
||||
<EuiFilterGroup>
|
||||
<EuiFilterButton
|
||||
color="text"
|
||||
grow={true}
|
||||
hasActiveFilters={true}
|
||||
iconSide="right"
|
||||
key="message"
|
||||
onClick={[Function]}
|
||||
type="button"
|
||||
>
|
||||
by issue
|
||||
</EuiFilterButton>
|
||||
<EuiFilterButton
|
||||
color="text"
|
||||
grow={true}
|
||||
hasActiveFilters={false}
|
||||
iconSide="right"
|
||||
key="index"
|
||||
onClick={[Function]}
|
||||
type="button"
|
||||
>
|
||||
by index
|
||||
</EuiFilterButton>
|
||||
|
|
|
@ -175,7 +175,7 @@
|
|||
"@babel/runtime": "^7.5.5",
|
||||
"@elastic/datemath": "5.0.2",
|
||||
"@elastic/ems-client": "7.6.0",
|
||||
"@elastic/eui": "18.2.1",
|
||||
"@elastic/eui": "18.3.0",
|
||||
"@elastic/filesaver": "1.1.2",
|
||||
"@elastic/maki": "6.1.0",
|
||||
"@elastic/node-crypto": "^1.0.0",
|
||||
|
|
|
@ -84,7 +84,7 @@ It allows you to monitor the performance of thousands of applications in real ti
|
|||
'{config.docs.base_url}guide/en/apm/get-started/{config.docs.version}/index.html',
|
||||
},
|
||||
}),
|
||||
euiIconType: 'logoAPM',
|
||||
euiIconType: 'apmApp',
|
||||
artifacts,
|
||||
onPrem: onPremInstructions(indices),
|
||||
elasticCloud: createElasticCloudInstructions(cloud),
|
||||
|
|
|
@ -49,7 +49,6 @@ exports[`APIKeysGridPage renders a callout when API keys are not enabled 1`] = `
|
|||
width={16}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<title />
|
||||
<path
|
||||
d="M7.59 10.059L7.35 5.18h1.3L8.4 10.06h-.81zm.394 1.901a.61.61 0 01-.448-.186.606.606 0 01-.186-.444c0-.174.062-.323.186-.446a.614.614 0 01.448-.184c.169 0 .315.06.44.182.124.122.186.27.186.448a.6.6 0 01-.189.446.607.607 0 01-.437.184zM2 14a1 1 0 01-.878-1.479l6-11a1 1 0 011.756 0l6 11A1 1 0 0114 14H2zm0-1h12L8 2 2 13z"
|
||||
fillRule="evenodd"
|
||||
|
@ -189,7 +188,6 @@ exports[`APIKeysGridPage renders permission denied if user does not have require
|
|||
width={32}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<title />
|
||||
<path
|
||||
d="M14 32l-.36-.14A21.07 21.07 0 010 12.07V5.44L14 .06l14 5.38v6.63a21.07 21.07 0 01-13.64 19.78L14 32zM2 6.82v5.25a19.08 19.08 0 0012 17.77 19.08 19.08 0 0012-17.77V6.82L14 2.2 2 6.82z"
|
||||
/>
|
||||
|
|
|
@ -39,6 +39,7 @@ exports[`<SimplePrivilegeForm> renders without crashing 1`] = `
|
|||
fullWidth={false}
|
||||
hasDividers={true}
|
||||
isInvalid={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
options={
|
||||
Array [
|
||||
|
|
|
@ -176,6 +176,7 @@ exports[`<PrivilegeSpaceForm> renders without crashing 1`] = `
|
|||
fullWidth={true}
|
||||
hasDividers={true}
|
||||
isInvalid={false}
|
||||
isLoading={false}
|
||||
onChange={[Function]}
|
||||
options={
|
||||
Array [
|
||||
|
|
|
@ -67,7 +67,6 @@ exports[`<RolesGridPage /> renders permission denied if required 1`] = `
|
|||
width={32}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<title />
|
||||
<path
|
||||
d="M14 32l-.36-.14A21.07 21.07 0 010 12.07V5.44L14 .06l14 5.38v6.63a21.07 21.07 0 01-13.64 19.78L14 32zM2 6.82v5.25a19.08 19.08 0 0012 17.77 19.08 19.08 0 0012-17.77V6.82L14 2.2 2 6.82z"
|
||||
/>
|
||||
|
|
|
@ -1499,8 +1499,6 @@
|
|||
"kbn.embeddable.inspectorRequestDataTitle": "データ",
|
||||
"kbn.embeddable.inspectorRequestDescription": "このリクエストは Elasticsearch にクエリをかけ、検索データを取得します。",
|
||||
"kbn.embeddable.search.displayName": "検索",
|
||||
"kbn.home.addData.addDataToKibanaDescription": "これらのソリューションで、データを作成済みのダッシュボードと監視システムへとすぐに変えることができます。",
|
||||
"kbn.home.addData.addDataToKibanaTitle": "Kibana にデータを追加",
|
||||
"kbn.home.addData.apm.addApmButtonLabel": "APM を追加",
|
||||
"kbn.home.addData.apm.nameDescription": "APM は、集約内から自動的に詳細なパフォーマンスメトリックやエラーを集めます。",
|
||||
"kbn.home.addData.apm.nameTitle": "APM",
|
||||
|
|
|
@ -1499,8 +1499,6 @@
|
|||
"kbn.embeddable.inspectorRequestDataTitle": "数据",
|
||||
"kbn.embeddable.inspectorRequestDescription": "此请求将查询 Elasticsearch 以获取搜索的数据。",
|
||||
"kbn.embeddable.search.displayName": "搜索",
|
||||
"kbn.home.addData.addDataToKibanaDescription": "使用这些解决方案可快速将您的数据转换成预建仪表板和监测系统。",
|
||||
"kbn.home.addData.addDataToKibanaTitle": "将数据添加到 Kibana",
|
||||
"kbn.home.addData.apm.addApmButtonLabel": "添加 APM",
|
||||
"kbn.home.addData.apm.nameDescription": "APM 自动从您的应用程序内收集深入全面的性能指标和错误。",
|
||||
"kbn.home.addData.apm.nameTitle": "APM",
|
||||
|
|
|
@ -2653,10 +2653,10 @@
|
|||
tabbable "^1.1.0"
|
||||
uuid "^3.1.0"
|
||||
|
||||
"@elastic/eui@18.2.1":
|
||||
version "18.2.1"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-18.2.1.tgz#6ce6d0bd1d0541052d21f2918305524d71e91678"
|
||||
integrity sha512-6C5tnWJTlBB++475i0vRoCsnz4JaYznb4zMNFLc+z5GY3vA3/E3AXTjmmBwybEicCCi3h1SnpJxZsgMakiZwRA==
|
||||
"@elastic/eui@18.3.0":
|
||||
version "18.3.0"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-18.3.0.tgz#e21c6246624f694e2ae1c7c1f1a11b612faf260a"
|
||||
integrity sha512-Rkj1rTtDa6iZMUF7pxYRojku1sLXzTU0FK1D9i0XE3H//exy3VyTV6qUlbdkiKXjO7emrgQqfzKDeXT+ZYztgg==
|
||||
dependencies:
|
||||
"@types/chroma-js" "^1.4.3"
|
||||
"@types/lodash" "^4.14.116"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue