Hi,
I was trying out the “Dash in 20 Minutes Tutorial” and it was going well until the “Dash Mantine Components” one.
It looks to me like the example works for Mantine 0.12.1, but needs updating for various breaking changes in Mantine 0.14.x.
Is this the correct place to report this type of documentation issue?
DETAILS:
The Dash Mantine Components example throws this exception (with the latest dash-mantine-components):
external_stylesheets = [dmc.theme.DEFAULT_COLORS]
^^^^^^^^^
AttributeError: module 'dash_mantine_components' has no attribute 'theme'
It looks like this happens with the April 14, 2024 and later Mantine releases (0.14.0 thru latest 0.14.3).
If I installed the earlier 0.12.1, or 0.13.0a3 versions then the demo code worked.
pip install dash-mantine-components==0.12.1
WORKING
pip install dash-mantine-components==0.13.0a3
WORKING
pip install dash-mantine-components==0.14.0
NOT working
pip install -U dash-mantine-components
NOT working
I’m a newbie to dash / mantine, so I haven’t dug into the what changes are needed, but from the dmc getting started docs I’m guessing dmc.MantineProvider() is needed. along with other changes.
I see a mantine “migration guide” is here.
Regards,
Eric