-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
Expose stylesheet model API publicly #12688
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-3.1 #12688 +/- ##
==============================================
- Coverage 92.17% 86.54% -5.63%
==============================================
Files 313 338 +25
Lines 19595 20890 +1295
==============================================
+ Hits 18061 18080 +19
- Misses 1534 2810 +1276 |
Hurrah! As soon as this is available could we cut a dev release? |
f01c774
to
34e7bd5
Compare
@philippjfr, that's been my goal, but I've been unable to start build/deploy workflows (for an unknown reason). I will try again in the morning. |
@mattpap Since I don't have the time for a proper bug report right now, allow me to note here that while
which obviously doesn't work. Tested with Bokeh 3.3.0. |
@m-guggenmos we will need a new issue with a minimal reproducer in order to investigate anything. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This adds the following new models:
InlineStyleSheet
ImportedStyleSheet
GlobalInlineStyleSheet
GlobalImportedStyleSheet
which can be used like this:
Global variants are appended to
<head>
and only once, so that the same stylesheet model can be shared between various UI components efficiently.I will try to implement #12450 on top of this next. I will leave documentation and examples for #12675, after this is tested in panel. I will follow with a dev release after this is merged.