Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Emotion] Convert EuiCollapsibleNav and EuiCollapsibleNavGroup (#6865)
* Convert EuiCollapsibleNav to Emotion * [EuiCollapsibleNavGroup] Set up base Emotion styles * [EuiCollapsibleNavGroup] Convert `background` prop to Emotion + set theme colorMode on all children within `background="dark"` * Remove unused focus animation - doesn't seem to be doing anything or used, so presumably became deprecated in Amsterdam * Remove unused font-weight - `EuiTitle` already sets a font weight of 700, so this isn't really being used meaningfully anywhere * Convert remaining padding CSS - nest `euiCollapsibleNavGroup__heading` padding as well for consistency and so we can skip adding another Emotion var * Delete all Sass files * Convert Enzyme tests to RTL * [docs] Remove now-unnecessary `EuiThemeProvider` from collapsible nav docs - since `background="dark"` now automatically sets the theme * Set up Storybooks - break from 'playground' example for `EuiCollapsibleGroupNav` to set up schema of different display types (since they're individually fairly different, and affect prop usage substantially) * Add full pattern storybook demo - 50/50 on this, but it's useful for QA * changelog * Revert "Add full pattern storybook demo" This reverts commit c3ced8c.
- Loading branch information