You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@SchrodingersGat v7 changes the way styling works fundamentally and makes the building pipeline a bit more complicated, the upgrade is not to be underestimated. This is why I pinned it.
Ok, understood. Is it worth the effort in your opinion? We do need to get charting integrated, which is the main driver here. Also do not want to be left behind in terms of datatable features.
Yes, I recently started using mantine v7 in a new project. Basically the complete styling system changed. They now suggest to use css modules (the createStyles/useStyles hook is no longer available). Personally I don't really like the way of how they work because there is no typing for variables like the theme colors anymore, because they're now using css variables.
The closest we can get is using vanilla-extract. That way we can still define our style with the help of ts types.
Additionally in V7 some props of their components also changed. E.g. the Stack's spacing props was renamed to gap.
But I definitely think we should migrate to v7 at some time and not stay with v6 because that doesn't get any new features or updates anymore.
At some point, we will have to upgrade but for now, which of the numerous solutions to retain similar styling functionality is the right one is unclear to me. This and plugin integration are probably the biggest locking ToDos for switching to PUI fully.
Since we don't use useStyles() in many places, dropping that support doesn't seem like a large terrible task to resolve.
Component props changing is a bit more of a headache though. I'll keep my eyes on this issues. I haven't used V7 yet either, so I'm not certain the lift required to complete the upgrade.
I think this can be closed now, since #7028 is merged now. Or do we want to keep that open for things that broke during that update? But I think that should be a new issue.
Activity
matmair commentedon Mar 21, 2024
@SchrodingersGat v7 changes the way styling works fundamentally and makes the building pipeline a bit more complicated, the upgrade is not to be underestimated. This is why I pinned it.
SchrodingersGat commentedon Mar 21, 2024
Ok, understood. Is it worth the effort in your opinion? We do need to get charting integrated, which is the main driver here. Also do not want to be left behind in terms of datatable features.
wolflu05 commentedon Mar 22, 2024
Yes, I recently started using mantine v7 in a new project. Basically the complete styling system changed. They now suggest to use css modules (the createStyles/useStyles hook is no longer available). Personally I don't really like the way of how they work because there is no typing for variables like the theme colors anymore, because they're now using css variables.
The closest we can get is using vanilla-extract. That way we can still define our style with the help of ts types.
Additionally in V7 some props of their components also changed. E.g. the
Stack'sspacingprops was renamed togap.But I definitely think we should migrate to v7 at some time and not stay with v6 because that doesn't get any new features or updates anymore.
LavissaWoW commentedon Mar 22, 2024
Might I just chuck in, for consideration, Apache Echarts: https://echarts.apache.org/en/index.html
matmair commentedon Mar 23, 2024
At some point, we will have to upgrade but for now, which of the numerous solutions to retain similar styling functionality is the right one is unclear to me. This and plugin integration are probably the biggest locking ToDos for switching to PUI fully.
XanderLuciano commentedon Mar 28, 2024
Since we don't use
useStyles()in many places, dropping that support doesn't seem like a large terrible task to resolve.Component props changing is a bit more of a headache though. I'll keep my eyes on this issues. I haven't used V7 yet either, so I'm not certain the lift required to complete the upgrade.
wolflu05 commentedon May 23, 2024
I think this can be closed now, since #7028 is merged now. Or do we want to keep that open for things that broke during that update? But I think that should be a new issue.
SchrodingersGat commentedon May 23, 2024
Happy to close, thanks for the reminder @wolflu05