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

BREAKING(package): update SUI to 2.3 #2657

Merged
merged 16 commits into from
May 31, 2018
Merged

BREAKING(package): update SUI to 2.3 #2657

merged 16 commits into from
May 31, 2018

Conversation

layershifter
Copy link
Member

@layershifter layershifter commented Mar 18, 2018

BREAKING

This PR requieres usage of Semantic UI CSS >= 2.3.x


Fixes #2550. This PR should:

@codecov-io
Copy link

codecov-io commented Mar 18, 2018

Codecov Report

Merging #2657 into master will decrease coverage by 0.07%.
The diff coverage is 94.28%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2657      +/-   ##
==========================================
- Coverage   99.74%   99.66%   -0.08%     
==========================================
  Files         160      161       +1     
  Lines        2696     2714      +18     
==========================================
+ Hits         2689     2705      +16     
- Misses          7        9       +2
Impacted Files Coverage Δ
src/addons/Portal/Portal.js 100% <100%> (ø) ⬆️
src/modules/Dimmer/Dimmer.js 100% <100%> (ø) ⬆️
src/modules/Progress/Progress.js 100% <100%> (ø) ⬆️
src/modules/Modal/Modal.js 100% <100%> (ø) ⬆️
src/modules/Dimmer/DimmerInner.js 90.47% <90.47%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b298d59...9ae4b76. Read the comment docs.

@levithomason
Copy link
Member

levithomason commented Mar 18, 2018

We should update the install docs to note SUI >=2.3 is required.

@ghost
Copy link

ghost commented Mar 20, 2018

There is a message for Modals in 2.3.1: https://github.com/Semantic-Org/Semantic-UI/blob/master/RELEASE-NOTES.md.

A Special Message about Flex Modals There will be an update shortly to resolve issues related to flex modals when using multiple modals and detachable: false, in order to not hold up this release, we've decided to move forward without a fix.

A general solution will most likely require branching code for IE11 which will disable flex (as IE11 doesnt correctly implement the latest spec for absolute positioned flex containers).

@chuckhagy
Copy link

This PR fixes an app I'm working on... can I get an ETA on when it's expected to be merged in?

* Update SUI css to 2.3.1

* Disable negative top margin calc

* Add the ability to apply inline styles to Portal

* Top Aligned modal example

* Make sure we are not overriding the top margin inline

* type defs updated for Portal

* Type update for Modal

* Refactor to use setProperty instead of string for important

* Remove inline-style lib to handle string differently
@layershifter
Copy link
Member Author

This PR requires some chore work before merge, I want to finish it on this weekend.

@brianespinosa
Copy link
Member

It doesn't look like there is a change made to the README.md file to remove the warning at the very top about incompatibility with SUI =< 2.3. We should probably remove that.

We should update the install docs to note SUI >=2.3 is required.

We should definitely have something prominently displayed still regarding the above note.

…React into next

# Conflicts:
#	docs/app/Views/Theming.js
#	yarn.lock
@layershifter layershifter force-pushed the next branch 2 times, most recently from 79e6ea4 to 7ba8c3f Compare April 30, 2018 09:51
@layershifter
Copy link
Member Author

Changes that were made unded Semantic-Org/Semantic-UI#6226 made icon generator useless.

I'll manually generate icons and add notice about versions.

@layershifter layershifter changed the title chore(package): update SUI to 2.3 BREAKING(package): update SUI to 2.3 Apr 30, 2018
@@ -1,5 +1,3 @@
⚠️NOTE: Currently Semantic UI React is not yet compatible with the latest 2.3 version of Semantic UI styles. See [#2250](https://github.com/Semantic-Org/Semantic-UI-React/issues/2550) for more info.

Copy link
Member Author

Choose a reason for hiding this comment

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

Now we can remove this note 👍

<Message.Item>for SUI 2.2 use 0.79.1 and below</Message.Item>
<Message.Item>for SUI 2.3 use 0.80.0 and higher</Message.Item>
</Message.List>
</Message>
Copy link
Member Author

Choose a reason for hiding this comment

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

Notice about version support

@layershifter
Copy link
Member Author

Marked as ready for review 👍

@brianespinosa brianespinosa mentioned this pull request Apr 30, 2018
@levithomason
Copy link
Member

Hope to add my review by EOD Monday.

@aminland
Copy link

Is there an ETA on when this might be merged?

@layershifter
Copy link
Member Author

I merged this branch with master, waiting for @levithomason

@levithomason
Copy link
Member

I've merged master, fixed conflicts, and fixed the icon search. This is good to go once tests pass.

@levithomason levithomason merged commit 500df9a into master May 31, 2018
@levithomason levithomason deleted the next branch May 31, 2018 23:58
@levithomason
Copy link
Member

Released in [email protected].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants