-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for CSS-based theming on the canvas (#13828)
* Separate rendering from painting * rendering is for constructing DOM nodes * painting is for drawing to the canvas * Make RendererView inherit from DOMComponentView * Don't use append(), remove() and replaceWith() * Move RendererGroup to a separate module * Introduce StyledElement base class * Attach renderers' elements to the canvas * Use CSS variables in canvas visuals * Add styling/visuals/css_variables.py * Restore functionality of HTML label annotation * Update bokehjs' unit tests * Use stylesheet based styling in HTML labels * Update cross tests baselines * Correctly render the Toolbar in ToolbarPanel * Add CSS support to Text and Hatch visuals * Style text in css_variables example * Migrate styling/visuals/css_variables.py to bokehjs * Allow to specific rendering target for canvas renderers * Reposition menu after toolbar resize if open * Correctly update canvas renderers' elements * Allow to recover from invalid gesture state * Safeguard against disconnected elements * Use render_to() to render toolbar's tool buttons * Add integration tests for HTMLLabel * Add docstrings to models/ui/ui_element.py * Remove deprecated APIs from core/dom.ts * Compute CSS prefix of visual properties once * Robustify render() and after_render() logic * Call r_after_render() after updating children * Use computed_renderer_views to avoid race conditions * Display duration in devtools' progress bar * Robustify is_paused and hold_render logic * Recompute toolbar buttons after layout * Update integration baseline images * Robustify ready state in TileRenderer * Mark _was_build in after_render() * Correctly render contents in Dialog * Add a regression test for issue #13787 * Update *.blf baseline files * Update bokeh's examples * Add release notes
- Loading branch information
Showing
131 changed files
with
1,325 additions
and
759 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
:host { | ||
position: absolute; | ||
} |
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
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
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
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
Oops, something went wrong.