Conversation
2ddc5b2 to
d7955a4
Compare
denieler
left a comment
There was a problem hiding this comment.
I wish it will be a single change we need to do 🤞
| import React from 'react' | ||
| import cx from 'classnames' | ||
| import { capitalize } from '@material-ui/core/utils/helpers' | ||
| import capitalize from '@material-ui/core/utils/capitalize' |
There was a problem hiding this comment.
did they remove export of this helper from utils?
There was a problem hiding this comment.
Thanks, seems they export is as named export in utils
https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/utils/index.js#L1
But seems they forgot to update TS file also :(
https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/utils/index.d.ts
| /> | ||
| <div | ||
| class="Checkbox-uncheckedIcon" | ||
| font-size="default" |
There was a problem hiding this comment.
hmm, font-size? I've never seen something like this
There was a problem hiding this comment.
yeah, interesting how they use it
There was a problem hiding this comment.
It's part of MUI upgrade, do you think I should re-check impact on Picasso?
There was a problem hiding this comment.
no, don't think so, just interesting 😃
| }, | ||
| container: {}, | ||
| paper: { | ||
| maxHeight: 'calc(100% - 6rem)', |
There was a problem hiding this comment.
this change is the scariest for me 😃
There was a problem hiding this comment.
Why? It was like that before and they decreased it to 'calc(100% - 64px)', so I defined it as 96px as it was.
mui/material-ui#17867
There was a problem hiding this comment.
ah, ok 😄 it was just missing for me from the style and "bam!" it's here 😁
| | string | ||
| | ((value: number, index: number) => React.ReactNode) | ||
| index?: number | ||
| valueLabelDisplay: ValueLabelDisplay |
There was a problem hiding this comment.
am I right that all those changes only for internal parts of picasso Slider?
There was a problem hiding this comment.
Yes, MUi changed what is sent to Slider Value Label component
| Omit< | ||
| InputHTMLAttributes<HTMLInputElement>, | ||
| 'value' | 'defaultValue' | 'size' | ||
| 'value' | 'defaultValue' | 'size' | 'color' |
There was a problem hiding this comment.
What's the reason for this?
| /> | ||
| <div | ||
| class="Checkbox-uncheckedIcon" | ||
| font-size="default" |
There was a problem hiding this comment.
yeah, interesting how they use it
| <div | ||
| class="MuiDialog-container PicassoModal-container MuiDialog-scrollPaper" | ||
| role="document" | ||
| role="none presentation" |
There was a problem hiding this comment.
I like to don't care about such things 👍 thank you MUI 😄
| const TooltipExample = () => { | ||
| return ( | ||
| <Container> | ||
| <Container padded='small'> |
| - **off** will never display | ||
| */ | ||
| tooltip?: 'on' | 'auto' | 'off' | ||
| tooltip?: ValueLabelDisplay |
There was a problem hiding this comment.
wouldn't it be a breaking change?
There was a problem hiding this comment.
No, I just moved it above :D
| } | ||
| }, | ||
| selected: {}, | ||
| selected: { |
There was a problem hiding this comment.
nice refactoring 👍 thanks! ❤️
| }, | ||
| container: {}, | ||
| paper: { | ||
| maxHeight: 'calc(100% - 6rem)', |
There was a problem hiding this comment.
this change is the scariest for me 😃
|
btw, don't forget to update |
Thanks will do. |
e09a75d to
ae60718
Compare
ae60718 to
9760951
Compare
9760951 to
40f75e8
Compare
|
🎉 Last commit is successfully deployed 🎉 Demo is available on: Your davinci-bot 🚀 |



FX-740
Description
Upgrade to 4.9.2
TODO