Change Log
3.0.0
DMC v3 is based on Mantine v9, upgrading from Mantine v8.
See live examples and complete changelog in Dash Mantine Components v3 Release
Breaking Changes
See the Mantine v9 migration guide for additional details on upstream changes.
See the Dash Mantine Components Migration Guide for details on migrating Dash apps.
- DMC v3 requires Dash >= 4.5 and React 19.2.4. PR738
TypographyStylesProviderrenamed toTypography. PR738Grid: Renamedguttertogap. PR738PopoverandTooltip: RemovedpositionDependencies. PR738Spoiler: RenamedinitialStatetodefaultExpanded. PR746- Default theme updates for light variant colors, border radius, and font weights. See the migration guide for details.
New Components
- Added
Pillcomponent. PR746 - Added
Marqueecomponent. PR 753 by @budescode - Added
Splitter: Provides a resizable split-pane layout. PR750 by @datenzauberai
Added
Collapse: Updated the internal prop fromintoexpanded. The DMC API continues to useopened. Addedorientation="horizontal"andkeepMounted. PR738Card: Addedorientation="horizontal".Checkbox.Group: AddedmaxSelectedValues.- Input components: Added
loadingandloadingPosition. MultiSelectandTagsInput: AddedrenderPillandwithPillsReorder.- Clearable inputs: Added
clearSectionMode. PasswordInput: AddedvisibilityToggleFocusable.ColorInput: AddedfullWidthHighlight: Added per-term colors,wholeWord,caseInsensitive, andaccentInsensitive.Pagination: AddedstartValue, support for input size values, responsive layout, and function support forformatLabel.SliderandRangeSlider: Added vertical orientation and support for hidden marks.Slideralso addsthumbLabel,thumbProps, andstartPointValue.RangeSlideraddsthumbLabel,thumbValueText, andhiddenInputProps.SimpleGrid: AddedminColWidth,autoFlow, andautoRows.DatePicker: AddedfullWidthto the calendar.- Date pickers: Added function support for
valueFormatandvalueFormatter, pluswithNativeLevelSupportandyearsSelectRange. DateTimePicker: Addedtype="range".MonthPickerInputandYearPickerInput: Addedpresets.TimePicker: Addedtype="duration"and closes the dropdown when a preset is selected.ScrollArea: AddedstartScrollPositionandverticalScrollbarPosition.Stepper,Tree,Accordion,NavLink, andTabs.Panel: AddedkeepMounted.Stepper: AddedlabelPositionAccordion: AddeddisableCollapse.Indicator: AddedmaxValue,showZero, and support foroffset={{x, y}}.NumberInput: AddedselectAllOnFocus.RingProgress: AddedsectionGap,startAngle, andtransitionDuration.List: Addedstartandreversed.JsonInput: AddedindentSpaces.Rating: AddedallowClear.Grid: AddedrowGap,columnGap, andGridCol.align.Checkbox: AddedreadOnlyandwithErrorStyles.Spoiler: AddedshowAriaLabelandhideAriaLabel.ColorPicker: AddednameandhiddenInputProps.MantineProvider: AddeduseV8CssVariablesResolverand enabled function values forcssVariablesResolverandgetRootElement.SegmentedControl: Added support for generic and primitive value types.SelectandMultiSelect: Added support for primitive values.MultiSelect: Added support forComboboxGenericData.Tree: Added support forwithLines.TextandBlockquote: AddedtextWrap.Textarea: AddedbottomSectionandbottomSectionProps.CodeHighlight: AddedwithLineNumbers,radius,withBorder, andwithFirstLineIndentation.Combobox: AddedfloatingHeight.Notifications: AddedautoClose,withAutoCloseProgress,allowDragDismiss,allowScrollDismiss,pauseOnHover, andlayout.Tooltip: Addedinteractive.Popover: AddedhideDetached,preventPositionChangeWhenVisible, andclickOutsideCapture.Hovercard:events,interactive,roleandreturnFocusTimeline: Addedoppositeandalternate.DonutChartandPieChart: AddedwithLegend,legendProps, andlabelsType="name".Funnel: AddedwithLegendandlegendProps.Heatmap: AddedwithLegend,legendLabels, andmonthLabelsPosition.- Inputs: Added success state support.
- Chart components: Added
accessibilityLayer,withBrush,brushProps,referenceAreas, andreferenceDotsto shared chart props. AreaChart,BarChart,CompositeChart, andLineChart: AddedbrushDragEnd.
Updated
- Updated to Mantine 9.7.4 and Recharts 3.1.2. PR756
- Updated
clickDataandhoverDatafor Recharts v3. - Updated webpack to handle
jsx-runtimefor React 19, following Dash PR #3880. Added a runtime error message when React 19 is not used. PR738 - Updated GitHub workflows to use React 19. PR738
- Updated
DEFAULT_THEMEfor Mantine 9. PR746 ScatterChart: Removed invalid props.- Simplified state handling in several controlled components. PR752 by AnnMarieW
PRs for Mantine 9 Updates by @AnnMarieW
- #738 Initial update including breaking changes.
- #746 Adding props and new features (mostly from Mantine 9.0.0)
- #748 Adding props and new features (mostly from Mantine 9.1 through 9.7)
Full Changelog: 2.8.1...3.0.0