kibana/test/scripts
Sergi Massaneda 2fa877b172
[Security Solution] Side navigation package (#152924)
## Summary

Security navigation moved to its own package.
This migration is needed in order to reuse the same component for the
navigation in the Serverless Security plugin
[PoC](https://github.com/elastic/kibana/pull/152172)

previous location:
`x-pack/plugins/security_solution/public/common/components/navigation/solution_grouped_nav`
new location: `packages/kbn-security-solution-side-nav`

Implementation changes:

- Custom icons removed in favor of new EUI `iconType`.
- Custom `SideNavItem` (for "Get Started" item) removed in favor of more
configuration properties.
- Generic nomenclature.
- Header banner offset special case logic extracted from the navigation
component, new `panelTopOffset` prop added to customize the top position
of the floating panel.

### Screenshot


![Solution_side_nav](https://user-images.githubusercontent.com/17747913/224022078-2c6b6d20-8f9d-4917-bd6e-800a596ed718.png)

## Test

`yarn storybook security_solution_side_nav`

### Checklist

Delete any items that are not applicable to this PR.

- [x] 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/packages/kbn-i18n/README.md)
- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [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
- [x] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [x] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [x] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>
2023-03-10 18:14:56 +01:00
..
checks [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
lint [ci] remove github-checks-reporter (#144193) 2022-10-28 16:21:02 -05:00
test [Health Gateway] Add integration tests (#146334) 2022-12-08 22:51:04 +01:00
jenkins_accessibility.sh [ci] remove github-checks-reporter (#144193) 2022-10-28 16:21:02 -05:00
jenkins_apm_cypress.sh [ci] remove github-checks-reporter (#144193) 2022-10-28 16:21:02 -05:00
jenkins_build_kbn_sample_panel_action.sh [ci] remove github-checks-reporter (#144193) 2022-10-28 16:21:02 -05:00
jenkins_build_kibana.sh [QA] Drop dead code (#136639) 2022-07-20 16:18:25 +01:00
jenkins_build_load_testing.sh [load testing] remove extra loop and pass simulations to running script (#106997) 2021-07-29 10:08:48 +02:00
jenkins_build_plugins.sh Move real plugins out of 'fixtures' dirs (#148756) 2023-01-12 12:38:49 -07:00
jenkins_ci_group.sh [Health Gateway] Add integration tests (#146334) 2022-12-08 22:51:04 +01:00
jenkins_cloud.sh Fix the jenkins job for cloud to export headless browser variable (#25242) 2018-11-06 12:48:48 -07:00
jenkins_defend_workflows_cypress.sh [Defend Workflows] Init Cypress (#147822) 2023-01-04 17:05:13 +01:00
jenkins_firefox_smoke.sh [ci] remove github-checks-reporter (#144193) 2022-10-28 16:21:02 -05:00
jenkins_fleet_cypress.sh [ci] remove github-checks-reporter (#144193) 2022-10-28 16:21:02 -05:00
jenkins_osquery_cypress.sh [ci] remove github-checks-reporter (#144193) 2022-10-28 16:21:02 -05:00
jenkins_plugin_functional.sh [Health Gateway] Add integration tests (#146334) 2022-12-08 22:51:04 +01:00
jenkins_runbld_junit.sh Run pipeline scripts with runbld (#45844) 2019-09-18 10:38:39 -04:00
jenkins_security_solution_cypress_chrome.sh [ci] remove github-checks-reporter (#144193) 2022-10-28 16:21:02 -05:00
jenkins_security_solution_cypress_firefox.sh [ci] remove github-checks-reporter (#144193) 2022-10-28 16:21:02 -05:00
jenkins_setup.sh Jenkins pipeline with parallel cigroups (#45285) 2019-09-11 11:58:28 -07:00
jenkins_setup_parallel_workspace.sh [CI] Add pipeline task queue framework and merge workers into one (#71268) 2020-08-04 13:13:51 -04:00
jenkins_storybook.sh [Security Solution] Side navigation package (#152924) 2023-03-10 18:14:56 +01:00
jenkins_test_setup.sh [CI] Add pipeline task queue framework and merge workers into one (#71268) 2020-08-04 13:13:51 -04:00
jenkins_test_setup_oss.sh [FTR][CI] Use default distribution for all tests (#94968) 2021-05-12 15:24:25 -04:00
jenkins_test_setup_xpack.sh [FTR][CI] Use default distribution for all tests (#94968) 2021-05-12 15:24:25 -04:00
jenkins_uptime_playwright.sh [ci] remove github-checks-reporter (#144193) 2022-10-28 16:21:02 -05:00
jenkins_ux_synthetics.sh [ci] remove github-checks-reporter (#144193) 2022-10-28 16:21:02 -05:00
jenkins_xpack_accessibility.sh [ci] remove github-checks-reporter (#144193) 2022-10-28 16:21:02 -05:00
jenkins_xpack_baseline.sh [kbn/ui-shared-deps] split into two packages (#110558) 2021-09-16 12:06:46 -07:00
jenkins_xpack_build_plugins.sh Move real plugins out of 'fixtures' dirs (#148756) 2023-01-12 12:38:49 -07:00
jenkins_xpack_ci_group.sh [ci] remove github-checks-reporter (#144193) 2022-10-28 16:21:02 -05:00
jenkins_xpack_firefox_smoke.sh [ci] remove github-checks-reporter (#144193) 2022-10-28 16:21:02 -05:00
jenkins_xpack_saved_objects_field_metrics.sh [ci] remove github-checks-reporter (#144193) 2022-10-28 16:21:02 -05:00
run_multiple_kibana_nodes.sh Handle another node already having deleted the temporary index (#88332) 2021-01-21 12:10:10 +01:00