Skip to content

Releases: snehilvj/dash-mantine-components

2.7.0

02 May 17:27
7dc73f5

Choose a tag to compare

See details and examples in the DMC 2.7.0 Release Announcement

Added

  • Added two features to NavLink to improve route-based active state without requiring callbacks. #719 by @AnnMarieW

    • active="exact-with-search" matches both pathname and query parameters.
    • active="children" sets parent link to active if any child links are active.
  • Added buttonProps to Button, ActionIcon, UnstyledButton, CopyButton components 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

26 Mar 17:00
a2314cd

Choose a tag to compare

Fixed

  • Add missing import of dmc-code.css to InlineCodeHighlight. #704 by @antonymilne
  • Unknown code highlight language now defaults to plaintext rather than markdown. #704

Changed

  • Updated to Mantine 8.3.17 #705

New Contributors

Full Changelog: 2.6.0...2.6.1

2.6.0

14 Feb 21:56
4018e51

Choose a tag to compare

See details and examples in the DMC 2.6.0 Release Announcement

Added

  • Added ColorSchemeToggle to switch between light and dark themes without a callback. The current scheme is persisted
    in localStorage (mantine-color-scheme-value). Also added the pre_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

Changed

  • Updated to Mantine 8.3.14 #699

Full Changelog: 2.5.1...2.6.0

2.5.1

26 Jan 12:35
f415715

Choose a tag to compare

What's Changed

Full Changelog: 2.5.0...2.5.1

2.5.0

25 Jan 21:48
413de24

Choose a tag to compare

See details and examples in the DMC 2.5.0 Release Announcement

Added

  • Added TableOfContents component #513 by @deadkex

  • Exposed MantineCore and MantineHooks on 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 mode support for nested app shells

  • Added selectFirstOptionOnDropdownOpen and openOnFocusprops to Combobox based components.

Fixed

Changed

  • Updated to Mantine 8.3.13

Full Changelog: 2.4.1...2.5.0

2.4.1

20 Dec 17:42
e69c63a

Choose a tag to compare

Added

  • Added withAlignedLabels prop to support offsetting the selected check icon in Select and MultiSelect #675 by @AnnMarieW.
  • Added anchorProps prop to Anchor by @jksinton

Fixed

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

06 Nov 20:14
48d2501

Choose a tag to compare

2.4.0

See details and examples in the DMC 2.4.0 Release Announcemen

Added

  • Two new copy to clipboard components #662

    • CopyButton a ready-to-use copy button with customizable text, icons, and colors to indicate copy state.
    • CustomCopyButton a fully customizable component using JavaScript function props for advanced use-cases.
  • Added function as prop support for xAxisProps, yAxisProps, gridProps, rightYAxisProps (and zAxisProps for BubbleChart) in AreaChart, BarChart, BubbleChart, CompositeChart, LineChart, and ScatterChart. #661

  • RichTextEditor updates:

    • Added dash_mantine_components.getEditor(id) function to access the Tiptap editor instance in clientside callbacks. #666
    • Added focus prop to control the cursor of the Rich Text Editor #665 by @chgiesse
    • Added editable prop to Rich Text Editor #665
    • Enabled code highlighting with the CodeBlockLowlight extension #663 by

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

21 Sep 18:38
edb05d4

Choose a tag to compare

See details and examples in the DMC 2.3.0 Release Announcement

Added

  • New scrollTo prop for ScrollArea #645

  • New ScrollAreaAutoheight component. #645

  • added DirectionProvider to handle RTL (right-to-left) text direction. #650

  • added debounce prop to Autocomplete #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

  • MiniCalendar component
  • orientation prop for Progress. Now supports both horizontal and vertical orientation
  • clearSearchOnChange prop for MultiSelect - to clear search input when an item is selected
  • reverseTimeControlsList prop for TimePicker - 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 valueFormatter to prevent rendering issues when valueFormatter is undefined. #464

Changed

  • Updated to latest Mantine (8.3.1) #650
  • RichTextEditor now 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

24 Aug 14:50
643c896

Choose a tag to compare

Fixed

  • Fixed MultiSelect and Select so that changes to the data and value are batched so they only trigger a single callback. #637 by @AnnMarieW
  • Fixed a regression where Navlink with children did not open/close on click. #633 by @AnnMarieW

Changed

Full Changelog: 2.2.0...2.2.1

2.2.0

20 Aug 04:12
0aad256

Choose a tag to compare

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 clearSearchOnFocus prop to Select #627 by @AnnMarieW

The following was added in #625 by @AnnMarieW

  • attributes prop – Pass custom attributes to inner elements of components that support the Styles API.
  • strategy prop for Container – Added strategy="grid" option for grid-based layouts with breakout features.
  • target prop for Tooltip – Specify tooltip targets using a selector, HTML element, or ref, as an alternative to children.
  • chevronIconSize prop for Accordion – Control the size of the default chevron icon independently from chevronSize.
  • keepMounted prop for Collapse – Keep collapsed content in the DOM while hidden.
  • autoSelectOnBlur prop for Select and Autocomplete – Automatically select the highlighted option when the input loses focus.

Fixed

  • Fixed CSS for CodeHighlight so it works when dcc.Markdown and/or dash-ag-grid are also used in the same app. #625 by @AnnMarieW

Changed