-
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.
[SharedUX] Removing TODOs from KibanaPageTemplate (#141043)
* Remove a few TODOs * Remove TODOs from page template, first pass * Removing TODOs, pass 2 * Trying to convert to emotion * Fix emotion styling * Fix emotion styling * Fix merge conflict * Updating test * Update packages/shared-ux/page/kibana_template/impl/src/page_template_inner.tsx Co-authored-by: Clint Andrew Hall <[email protected]> * Move selectors to constants Co-authored-by: Clint Andrew Hall <[email protected]>
- Loading branch information
1 parent
aa11010
commit aea8a9e
Showing
6 changed files
with
79 additions
and
35 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
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
30 changes: 28 additions & 2 deletions
30
packages/shared-ux/page/solution_nav/src/__snapshots__/with_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.
8 changes: 0 additions & 8 deletions
8
packages/shared-ux/page/solution_nav/src/with_solution_nav.scss
This file was deleted.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
packages/shared-ux/page/solution_nav/src/with_solution_nav.styles.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,20 @@ | ||
/* | ||
* 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. | ||
*/ | ||
|
||
import { css } from '@emotion/react'; | ||
import { euiCanAnimate, EuiThemeComputed } from '@elastic/eui'; | ||
|
||
export const WithSolutionNavStyles = (euiTheme: EuiThemeComputed<{}>) => { | ||
return css` | ||
flex: 0 1 0%; | ||
overflow: hidden; | ||
${euiCanAnimate} { | ||
transition: min-width ${euiTheme.animation.fast} ${euiTheme.animation.resistance}; | ||
} | ||
`; | ||
}; |
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