diff --git a/packages/eui/changelogs/upcoming/9259.md b/packages/eui/changelogs/upcoming/9259.md new file mode 100644 index 00000000000..db838a80d38 --- /dev/null +++ b/packages/eui/changelogs/upcoming/9259.md @@ -0,0 +1 @@ +- Added `productRobot` icon \ No newline at end of file diff --git a/packages/eui/src/components/icon/__snapshots__/icon.test.tsx.snap b/packages/eui/src/components/icon/__snapshots__/icon.test.tsx.snap index 71a6da0fc6f..eb44d8c114f 100644 --- a/packages/eui/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/packages/eui/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -8736,6 +8736,28 @@ exports[`EuiIcon props type popout is rendered 1`] = ` `; +exports[`EuiIcon props type productRobot is rendered 1`] = ` + + + + +`; + exports[`EuiIcon props type push is rendered 1`] = ` & SVGRProps) => ( + + {title ? {title} : null} + + + +); +export const icon = EuiIconAgentBuilderRobot; diff --git a/packages/eui/src/components/icon/assets/product_robot.tsx b/packages/eui/src/components/icon/assets/product_robot.tsx new file mode 100644 index 00000000000..eff2966704e --- /dev/null +++ b/packages/eui/src/components/icon/assets/product_robot.tsx @@ -0,0 +1,39 @@ +/* + * 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 EuiIconProductRobot = ({ + title, + titleId, + ...props +}: SVGProps & SVGRProps) => ( + + {title ? {title} : null} + + + +); +export const icon = EuiIconProductRobot; diff --git a/packages/eui/src/components/icon/icon_map.ts b/packages/eui/src/components/icon/icon_map.ts index a080260baa1..4b121588b4a 100644 --- a/packages/eui/src/components/icon/icon_map.ts +++ b/packages/eui/src/components/icon/icon_map.ts @@ -360,6 +360,7 @@ export const typeToPathMap = { plusInCircleFilled: 'plus_in_circle', // NOTE: To be deprecated in favor of `plus_in_circle` plusInSquare: 'plus_in_square', popout: 'popout', + productRobot: 'product_robot', push: 'push', question: 'question', quote: 'quote', diff --git a/packages/eui/src/components/icon/svgs/product_robot.svg b/packages/eui/src/components/icon/svgs/product_robot.svg new file mode 100644 index 00000000000..5c1a9ebfb79 --- /dev/null +++ b/packages/eui/src/components/icon/svgs/product_robot.svg @@ -0,0 +1,4 @@ + + + + diff --git a/packages/website/docs/components/display/icons/icon_types.ts b/packages/website/docs/components/display/icons/icon_types.ts index 50b5e0c6db4..111a0aacb15 100644 --- a/packages/website/docs/components/display/icons/icon_types.ts +++ b/packages/website/docs/components/display/icons/icon_types.ts @@ -206,6 +206,7 @@ export const iconTypes: Array = [ 'plusInCircle', 'plusInSquare', 'popout', + 'productRobot', 'push', 'question', 'quote',