-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[presentation-utils] remove defaultTheme$ #200044
Conversation
/ci |
/ci |
/ci |
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Page load bundle
|
Pinging @elastic/kibana-presentation (Team:Presentation) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review - already tested Canvas on my own to ensure that this doesn't impact the theming. LGTM 👍
Starting backport for target branches: 8.x |
Closes elastic#200037 defaultTheme$ is only used in storybooks. This PR removes defaultTheme$ and replaces it with theme$ available from core start mock. (cherry picked from commit f3e7735)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.x`: - [[presentation-utils] remove defaultTheme$ (#200044)](#200044) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Nathan Reese","email":"reese.nathan@elastic.co"},"sourceCommit":{"committedDate":"2024-11-14T15:43:56Z","message":"[presentation-utils] remove defaultTheme$ (#200044)\n\nCloses https://github.com/elastic/kibana/issues/200037\r\n\r\ndefaultTheme$ is only used in storybooks. This PR removes defaultTheme$\r\nand replaces it with theme$ available from core start mock.","sha":"f3e773552d2f98d26afd8e9df866c812a5e6fdd7","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Presentation","release_note:skip","v9.0.0","backport:version","v8.17.0"],"title":"[presentation-utils] remove defaultTheme$","number":200044,"url":"https://github.com/elastic/kibana/pull/200044","mergeCommit":{"message":"[presentation-utils] remove defaultTheme$ (#200044)\n\nCloses https://github.com/elastic/kibana/issues/200037\r\n\r\ndefaultTheme$ is only used in storybooks. This PR removes defaultTheme$\r\nand replaces it with theme$ available from core start mock.","sha":"f3e773552d2f98d26afd8e9df866c812a5e6fdd7"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/200044","number":200044,"mergeCommit":{"message":"[presentation-utils] remove defaultTheme$ (#200044)\n\nCloses https://github.com/elastic/kibana/issues/200037\r\n\r\ndefaultTheme$ is only used in storybooks. This PR removes defaultTheme$\r\nand replaces it with theme$ available from core start mock.","sha":"f3e773552d2f98d26afd8e9df866c812a5e6fdd7"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Nathan Reese <reese.nathan@elastic.co>
Closes #200037
defaultTheme$ is only used in storybooks. This PR removes defaultTheme$ and replaces it with theme$ available from core start mock.