Releases: snehilvj/dash-mantine-components
2.7.0
See details and examples in the DMC 2.7.0 Release Announcement
Added
-
Added two features to
NavLinkto improve route-based active state without requiring callbacks. #719 by @AnnMarieWactive="exact-with-search"matches both pathname and query parameters.active="children"sets parent link to active if any child links are active.
-
Added
buttonPropstoButton,ActionIcon,UnstyledButton,CopyButtoncomponents to allow passing props directly to the underlying button element. #716 by @AnnMarieW
Changed
- Updated to Mantine 8.3.18 Last Mantine V8 release.
Full Changelog: 2.6.1...2.7.0
2.6.1
Fixed
- Add missing import of
dmc-code.csstoInlineCodeHighlight. #704 by @antonymilne - Unknown code highlight language now defaults to
plaintextrather thanmarkdown. #704
Changed
- Updated to Mantine 8.3.17 #705
New Contributors
- @antonymilne made their first contribution in #704
Full Changelog: 2.6.0...2.6.1
2.6.0
See details and examples in the DMC 2.6.0 Release Announcement
Added
- Added
ColorSchemeToggleto switch between light and dark themes without a callback. The current scheme is persisted
in localStorage (mantine-color-scheme-value). Also added thepre_render_color_scheme()helper, which sets the color
scheme before the app renders on page load or refresh, preventing flashes of the wrong theme. #693 by @AnnMarieW
Fixed
- Fixed
NumberInputclamping whenmax=None#697 by @AnnMarieW - Fixed prop types in
GridandSimpleGrid#698 by @AnnMarieW
Changed
- Updated to Mantine 8.3.14 #699
Full Changelog: 2.5.1...2.6.0
2.5.1
2.5.0
See details and examples in the DMC 2.5.0 Release Announcement
Added
-
Exposed
MantineCoreandMantineHookson the global window object for use in custom Dash
components. This enables building custom Dash components that depend on Mantine components or hooks while remaining
compatible with Dash Mantine Components. #653 by @BSd3v -
AppShell: Add static
modesupport for nested app shells -
Added
selectFirstOptionOnDropdownOpenandopenOnFocusprops to Combobox based components.
Fixed
- Fixed
PinInputso thatvaluecan be set initially and in a callback. #684 by @AnnMarieW - Fixed Python type generation, #688 and #685 by @AnnMarieW
Changed
- Updated to Mantine 8.3.13
Full Changelog: 2.4.1...2.5.0
2.4.1
Added
- Added
withAlignedLabelsprop to support offsetting the selected check icon inSelectandMultiSelect#675 by @AnnMarieW. - Added
anchorPropsprop toAnchorby @jksinton
Fixed
- Fixed race condition in debounced value updates #671 by @AnnMarieW
Changed
- Updated to Mantine (8.3.10), Recharts (2.15.4), and TipTap (3.14.0) #675
New Contributors
Full Changelog: 2.4.0...2.4.1
2.4.0
2.4.0
See details and examples in the DMC 2.4.0 Release Announcemen
Added
-
Two new copy to clipboard components #662
CopyButtona ready-to-use copy button with customizable text, icons, and colors to indicate copy state.CustomCopyButtona fully customizable component using JavaScript function props for advanced use-cases.
-
Added function as prop support for
xAxisProps,yAxisProps,gridProps,rightYAxisProps(andzAxisPropsfor BubbleChart) inAreaChart,BarChart,BubbleChart,CompositeChart,LineChart, andScatterChart. #661 -
RichTextEditor updates:
- Added
dash_mantine_components.getEditor(id)function to access the Tiptap editor instance in clientside callbacks. #666 - Added
focusprop to control the cursor of theRich Text Editor#665 by @chgiesse - Added
editableprop toRich Text Editor#665 - Enabled code highlighting with the
CodeBlockLowlightextension #663 by
- Added
Fixed
- removed random react key generation which led to keys never match up between renders and would force component rerenders. #664 chgiesse
Changed
- Updated to latest Mantine (8.3.6) #667
New Contributors
Full Changelog: 2.3.0...2.4.0
2.3.0
See details and examples in the DMC 2.3.0 Release Announcement
Added
-
New
scrollToprop forScrollArea#645 -
New
ScrollAreaAutoheightcomponent. #645 -
added
DirectionProviderto handle RTL (right-to-left) text direction. #650 -
added
debounceprop toAutocomplete#654 -
added support for new text style features from TipTap 3: BackgroundColor, FontFamily, FontSize, LineHeight. #657
The following new features available in Mantine 8.3.0 were added in #655
MiniCalendarcomponentorientationprop forProgress. Now supports both horizontal and vertical orientationclearSearchOnChangeprop forMultiSelect- to clear search input when an item is selectedreverseTimeControlsListprop forTimePicker- to reverse the order of time controls in the dropdown. Use this option if you want the order of controls to match keyboard controls (up and down arrow) direction.
Fixed
- BarChart: Added default
valueFormatterto prevent rendering issues whenvalueFormatteris undefined. #464
Changed
- Updated to latest Mantine (8.3.1) #650
RichTextEditornow uses Tiptap 3 (Mantine 8.3.0 recommendation). . No known breaking changes, but customizations may be affected. See our migration guide,. #657
Full Changelog: 2.2.1...2.3.0
2.2.1
Fixed
- Fixed
MultiSelectandSelectso that changes to thedataandvalueare batched so they only trigger a single callback. #637 by @AnnMarieW - Fixed a regression where
Navlinkwithchildrendid not open/close on click. #633 by @AnnMarieW
Changed
- Upgraded to latest Mantine (8.2.7) #638 by @AnnMarieW
Full Changelog: 2.2.0...2.2.1
2.2.0
See details and examples in the DMC 2.2.0 Release Announcement
Added
- Added support for custom toolbar controls in
RichTextEditor#629 by @BSd3v - Added
clearSearchOnFocusprop toSelect#627 by @AnnMarieW
The following was added in #625 by @AnnMarieW
attributesprop – Pass custom attributes to inner elements of components that support the Styles API.strategyprop forContainer– Addedstrategy="grid"option for grid-based layouts with breakout features.targetprop forTooltip– Specify tooltip targets using a selector, HTML element, or ref, as an alternative to children.chevronIconSizeprop forAccordion– Control the size of the default chevron icon independently fromchevronSize.keepMountedprop forCollapse– Keep collapsed content in the DOM while hidden.autoSelectOnBlurprop forSelectandAutocomplete– Automatically select the highlighted option when the input loses focus.
Fixed
- Fixed CSS for
CodeHighlightso it works whendcc.Markdownand/ordash-ag-gridare also used in the same app. #625 by @AnnMarieW
Changed
- Upgraded to latest Mantine (8.2.5) #632 by @AnnMarieW