Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependencies: Updates semantic-ui-react to latest #321

Merged
merged 1 commit into from
Jan 11, 2021

Conversation

jrcastro2
Copy link
Contributor

Updates SUI to the latest.

Breaking changes:

  • Responsive element is removed.

Followed the migration advice -> Semantic-Org/Semantic-UI-React#4008

@@ -0,0 +1,11 @@
import { createMedia } from '@artsy/fresnel';

export const AppMedia = createMedia({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Was this suggested by Semantinc-UI?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, there is a "migration" guide -> Semantic-Org/Semantic-UI-React#4008

@@ -70,7 +70,7 @@ export default class RelationModal extends Component {
size="large"
closeIcon
trigger={
<>
<div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this div needed for spacing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it was changed because otherwise we get this error now
image

@ntarocco
Copy link
Contributor

ntarocco commented Jan 6, 2021

@jrcastro2 we might have to do the same in cds-ils?

@jrcastro2
Copy link
Contributor Author

@jrcastro2 we might have to do the same in cds-ils?

Yes, there are a couple of responsive elements in cds-ils.

@kpsherva
Copy link
Contributor

kpsherva commented Jan 7, 2021

LGTM! did you check if the modals are working correctly ?

@jrcastro2
Copy link
Contributor Author

LGTM! did you check if the modals are working correctly ?

Yes, they work correctly, we usually use the state of the component to store the open value of the modal so these breaking changes do not affect us.

@kpsherva kpsherva merged commit c5b4971 into inveniosoftware:master Jan 11, 2021
@kpsherva kpsherva added this to the 2021/W01 milestone Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants