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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/eui/changelogs/upcoming/9355.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Added new `server` icon.
Original file line number Diff line number Diff line change
Expand Up @@ -11899,6 +11899,26 @@ exports[`EuiIcon props type send is rendered 1`] = `
</svg>
`;

exports[`EuiIcon props type server is rendered 1`] = `
<svg
class="euiIcon emotion-euiIcon-m-isLoaded"
data-icon-type="server"
data-is-loaded="true"
height="16"
role="presentation"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M4.5 11a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1Zm7.5 1H7v-1h5v1ZM4.5 7a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1ZM12 8H7V7h5v1ZM4.5 3a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1ZM12 4H7V3h5v1Z"
/>
<path
d="M13 1a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1v1h-1v-1H4v1H3v-1a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h10ZM3 13h10v-3H3v3Zm0-4h10V6H3v3Zm0-4h10V2H3v3Z"
/>
</svg>
`;

exports[`EuiIcon props type sessionViewer is rendered 1`] = `
<svg
class="euiIcon emotion-euiIcon-m-isLoaded"
Expand Down
35 changes: 35 additions & 0 deletions packages/eui/src/components/icon/assets/server.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/

// THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js

import * as React from 'react';
import type { SVGProps } from 'react';
interface SVGRProps {
title?: string;
titleId?: string;
}
const EuiIconServer = ({
title,
titleId,
...props
}: SVGProps<SVGSVGElement> & SVGRProps) => (
<svg
xmlns="http://www.w3.org/2000/svg"
width={16}
height={16}
viewBox="0 0 16 16"
aria-labelledby={titleId}
{...props}
>
{title ? <title id={titleId}>{title}</title> : null}
<path d="M4.5 11a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1Zm7.5 1H7v-1h5v1ZM4.5 7a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1ZM12 8H7V7h5v1ZM4.5 3a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1ZM12 4H7V3h5v1Z" />
<path d="M13 1a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1v1h-1v-1H4v1H3v-1a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h10ZM3 13h10v-3H3v3Zm0-4h10V6H3v3Zm0-4h10V2H3v3Z" />
</svg>
);
export const icon = EuiIconServer;
1 change: 1 addition & 0 deletions packages/eui/src/components/icon/icon_map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ export const typeToPathMap = {
securitySignal: () => import('./assets/security_signal'), // NOTE: To be deprecated in favor of radar
securitySignalDetected: () => import('./assets/security_signal_detected'),
securitySignalResolved: () => import('./assets/security_signal_resolved'),
server: () => import('./assets/server'),
sessionViewer: () => import('./assets/session_viewer'),
shard: () => import('./assets/shard'),
share: () => import('./assets/share'),
Expand Down
4 changes: 4 additions & 0 deletions packages/eui/src/components/icon/svgs/server.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ export const iconTypes: Array<IconType> = [
'securitySignalDetected', // To be deprecated NO USAGE
'securitySignalResolved', // To be deprecated NO USAGE
'send',
'server',
'sessionViewer', // To be deprecated
'shard',
'share',
Expand Down