We are pleased to announce the release of panel-material-ui 0.17.0, alongside Panel 1.11. This release makes the components faster and sturdier under load.
Faster
- Streaming 500 tokens into the last message of a 500 message
ChatFeedwent from about 20 s to 0.2 s, the same as Panel’s ownChatFeed. - Widgets construct up to twice as fast, and setting
TextInput.valueon a rendered widget is twice as fast. - Re-rendering a
Selectwith 50,000 options went from about 2.7 s to 30 ms, and opening a searchableSelectwith 10,000 options from 2 s to 0.2 s. - Switching tabs in a
dynamic=TrueTabsorAccordionis four to five times faster, and switching dark mode takes a single message instead of one round trip per component. Pageand the notification area no longer leak, and the theme is now tracked per session.
New components
Fullscreenlets any component take over the screen, from its toggle button, itsactiveparameter or a keyboard shortcut.Revealscrolls to elements with a given CSS class and briefly outlines them, e.g. to point users at part of a page.
Enhancements
Dialoggains anactionsfooter and closes on Escape by default (close_on_escape).Popup(modal=False)behaves as an accessible non-modal dialog.- Buttons accept
aria_label,aria_expandedand abadge. Selecttakes an integersizefor a scrollable list, likepn.widgets.Select.- Classic
DataFrameandMarkdowntables are styled to match MUI tables. - Dark mode uses a more legible tint of the primary color for text.
Behaviour changes and compatibility
panel-material-ui now requires Panel 1.10, Bokeh 3.10 and Python 3.12 or later, and loads MUI 9.6. Several changes alter behaviour you may notice, for example the default Dialog title is smaller, collapsed Accordion sections unmount their contents, and sliders send value at most every 50 ms while dragging. They are listed first in the release notes.
pip install --upgrade panel-material-ui
# or
conda install -c pyviz panel-material-ui
Many thanks to @YashAnand69 and @philippjfr for their contributions to this release.
Full release notes: Release Notes — Panel Material UI v0.17.0