[Search] Using plugs EUI icon (#213700)

## Summary

Updating the new EUI plugs icon within the Create a connector button in
the Home page

![CleanShot 2025-03-10 at 11 20
44@2x](https://github.com/user-attachments/assets/87dda36b-356d-4051-9c6f-9c75daaae364)


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...
This commit is contained in:
José Luis González 2025-03-10 13:50:15 +01:00 committed by GitHub
parent 6a184b4b4b
commit 516c9dcc22
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 37 deletions

View file

@ -32,8 +32,6 @@ import languageClientsLogo from '../../../../assets/images/search_language_clien
import { IngestionCard } from '../../../enterprise_search_content/components/shared/ingestion_card/ingestion_card';
import { NEW_INDEX_SELECT_CONNECTOR_PATH } from '../../../enterprise_search_content/routes';
import { ConnectorIcon } from '../../../shared/icons/connector';
import { GithubIcon } from '../../../shared/icons/github_icon';
import { KibanaLogic } from '../../../shared/kibana';
@ -111,7 +109,7 @@ export const IngestionSelector: React.FC = () => {
defaultMessage: 'Create a connector',
}
)}
buttonIcon={ConnectorIcon}
buttonIcon="plugs"
description={i18n.translate(
'xpack.enterpriseSearch.ingestSelector.method.connectors.description',
{

View file

@ -1,34 +0,0 @@
/*
* 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; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import React from 'react';
export const ConnectorIcon = () => {
return (
<svg
width="16"
height="17"
viewBox="0 0 16 17"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
>
<g clipPath="url(#clip0_2844_40475)">
<path d="M6.70597 13.6171L3.17046 10.0815L4.2858 9.78271L7.00483 12.5017L10.7191 11.5065L11.7143 7.79224L8.99535 5.07324L9.29421 3.95789L12.8297 7.49338L11.6851 11.7652L14.16 14.2402L14.0106 14.7978L13.4528 14.9473L10.978 12.4724L6.70597 13.6171Z" />
<path
fillRule="evenodd"
clipRule="evenodd"
d="M9.76772 10.5553L7.35291 11.2024L5.58514 9.43463L6.08277 7.57747L1.84016 3.33486L1.98961 2.77711L2.54722 2.6277L6.7899 6.87038L8.64701 6.37277L10.4148 8.14053L9.76772 10.5553ZM9.29942 8.43939L8.95123 9.73885L7.65177 10.087L6.7005 9.13577L7.04869 7.83631L8.34815 7.48812L9.29942 8.43939Z"
/>
</g>
<defs>
<clipPath id="clip0_2844_40475">
<rect width="16" height="16" transform="translate(0 0.787109)" />
</clipPath>
</defs>
</svg>
);
};