-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:elastic/kibana into rule-error-logs
- Loading branch information
Showing
54 changed files
with
984 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
267 changes: 267 additions & 0 deletions
267
...red-ux-components/src/page_template/solution_nav/__snapshots__/solution_nav.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
...s/src/page_template/solution_nav/__snapshots__/solution_nav_collapse_button.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
packages/kbn-shared-ux-components/src/page_template/solution_nav/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* 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. | ||
*/ | ||
|
||
export type { KibanaPageTemplateSolutionNavProps } from './solution_nav'; | ||
export { KibanaPageTemplateSolutionNav } from './solution_nav'; | ||
export type { KibanaPageTemplateSolutionNavCollapseButtonProps } from './solution_nav_collapse_button'; | ||
export { KibanaPageTemplateSolutionNavCollapseButton } from './solution_nav_collapse_button'; |
30 changes: 30 additions & 0 deletions
30
packages/kbn-shared-ux-components/src/page_template/solution_nav/solution_nav.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
$euiSideNavEmphasizedBackgroundColor: transparentize($euiColorLightShade, .7); | ||
@import '@elastic/eui/src/components/side_nav/mixins'; | ||
|
||
// Put the page background color in the flyout version too | ||
.kbnPageTemplateSolutionNav__flyout { | ||
background-color: $euiPageBackgroundColor; | ||
} | ||
|
||
.kbnPageTemplateSolutionNav { | ||
@include euiSideNavEmbellish; | ||
@include euiYScroll; | ||
|
||
@include euiBreakpoint('m' ,'l', 'xl') { | ||
width: 248px; | ||
padding: $euiSizeL; | ||
} | ||
|
||
.kbnPageTemplateSolutionNavAvatar { | ||
margin-right: $euiSize; | ||
} | ||
} | ||
|
||
.kbnPageTemplateSolutionNav--hidden { | ||
pointer-events: none; | ||
opacity: 0; | ||
|
||
@include euiCanAnimate { | ||
transition: opacity $euiAnimSpeedFast $euiAnimSlightResistance; | ||
} | ||
} |
Oops, something went wrong.