Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 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 src-docs/src/views/icon/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ const iconTypes = [
'number',
'offline',
'online',
'package',
'partial',
'pause',
'pencil',
Expand Down
15 changes: 15 additions & 0 deletions src/components/icon/__snapshots__/icon.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5058,6 +5058,21 @@ exports[`EuiIcon props type online is rendered 1`] = `
</svg>
`;

exports[`EuiIcon props type package is rendered 1`] = `
<svg
class="euiIcon euiIcon--medium euiIcon-isLoaded"
focusable="false"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M14.49609,4.2121,8.49615.78351a1.00012,1.00012,0,0,0-.9923,0l-6,3.42859A1,1,0,0,0,1,5.08032v5.83936a.99989.99989,0,0,0,.50385.86822l6,3.42859a.99982.99982,0,0,0,.9923,0l5.99994-3.42859A1,1,0,0,0,15,10.91968V5.08032A1,1,0,0,0,14.49609,4.2121Zm-8.739,2.43042,5.48834-3.13623,2.2428,1.28161L8,7.92413ZM8,1.65173l2.23773,1.27869L4.74939,6.06659,2.51172,4.7879ZM2,5.64734,4.25,6.933V10a.5.5,0,0,0,1,0V7.50446L7.5,8.79016V14.0625L2,10.91968ZM8.5,14.0625V8.79016L14,5.64734v5.27234Z"
/>
</svg>
`;

exports[`EuiIcon props type packetbeatApp is rendered 1`] = `
<svg
class="euiIcon euiIcon--medium euiIcon--app euiIcon-isLoaded"
Expand Down
14 changes: 14 additions & 0 deletions src/components/icon/assets/package.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import React from 'react';

const EuiIconPackage = props => (
<svg
width={16}
height={16}
viewBox="0 0 16 16"
xmlns="http://www.w3.org/2000/svg"
{...props}>
<path d="M14.49609,4.2121,8.49615.78351a1.00012,1.00012,0,0,0-.9923,0l-6,3.42859A1,1,0,0,0,1,5.08032v5.83936a.99989.99989,0,0,0,.50385.86822l6,3.42859a.99982.99982,0,0,0,.9923,0l5.99994-3.42859A1,1,0,0,0,15,10.91968V5.08032A1,1,0,0,0,14.49609,4.2121Zm-8.739,2.43042,5.48834-3.13623,2.2428,1.28161L8,7.92413ZM8,1.65173l2.23773,1.27869L4.74939,6.06659,2.51172,4.7879ZM2,5.64734,4.25,6.933V10a.5.5,0,0,0,1,0V7.50446L7.5,8.79016V14.0625L2,10.91968ZM8.5,14.0625V8.79016L14,5.64734v5.27234Z"/>
</svg>
);

export const icon = EuiIconPackage;
3 changes: 3 additions & 0 deletions src/components/icon/assets/package.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/components/icon/icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ const typeToPathMap = {
number: 'number',
offline: 'offline',
online: 'online',
package: 'package',
packetbeatApp: 'app_packetbeat',
partial: 'partial',
pause: 'pause',
Expand Down