[Snyk] Upgrade semantic-ui from 2.2.6 to 2.5.0 #2
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
This PR was automatically created by Snyk using the credentials of a real user.

Snyk has created this PR to upgrade semantic-ui from 2.2.6 to 2.5.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 16 versions ahead of your current version.
The recommended version was released on 2 years ago.
Issues fixed by the recommended upgrade:
SNYK-JS-LODASH-450202
SNYK-JS-LODASH-608086
SNYK-JS-LODASH-6139239
SNYK-JS-LODASH-73638
SNYK-JS-AJV-584908
SNYK-JS-LODASH-1040724
SNYK-JS-LODASH-450202
SNYK-JS-LODASH-608086
SNYK-JS-MINIMATCH-1019388
SNYK-JS-LODASH-6139239
npm:minimatch:20160620
SNYK-JS-LODASH-73638
SNYK-JS-HAWK-2808852
SNYK-JS-MINIMATCH-1019388
npm:minimatch:20160620
SNYK-JS-LODASH-1040724
SNYK-JS-SEMVER-3247795
SNYK-JS-TRIMNEWLINES-1298042
SNYK-JS-LODASH-73639
npm:lodash:20180130
SNYK-JS-LODASH-1018905
SNYK-JS-BROWSERSLIST-1090194
SNYK-JS-MINIMATCH-3050818
SNYK-JS-LODASH-73639
npm:lodash:20180130
SNYK-JS-LODASH-1018905
SNYK-JS-MARKED-2342073
SNYK-JS-NODENOTIFIER-1035794
SNYK-JS-MARKED-2342082
SNYK-JS-MARKED-584281
SNYK-JS-POSTCSS-1255640
SNYK-JS-POSTCSS-1255640
SNYK-JS-POSTCSS-5926692
SNYK-JS-REQUEST-3361831
npm:semantic-ui:20170130
SNYK-JS-TOUGHCOOKIE-5672873
SNYK-JS-UGLIFYJS-1727251
npm:hoek:20180212
npm:braces:20180219
SNYK-JS-HAWK-6969142
SNYK-JS-MINIMATCH-3050818
SNYK-JS-POSTCSS-5926692
SNYK-JS-UGLIFYJS-1727251
Release notes
Package name: semantic-ui
Version 2.5.0 - Oct 6, 2022
Note
Critical Fix
Breaking Changes
Build
api.addAssets#6790 Thanks @ gimcoExamples
Bug Fixes
right menuinside aui menu(See examples/sticky.html) for use-casebound bottom(fixed to bottom of context) if the sticky element is larger than the contextmin-heightnot to be set correctly.Note
Build
3.5.0Thanks @ sciyoshi #6512gulp-utiltoreplace-extThanks @ stevelacy #6322Bug Fixes
clearabledropdown now works with dropdown that arenton:click, likehoverormanualtriggers. #6594fullscreen modalhaving incorrect left offset with flex modals #6587destroyvery relaxed vertically divided gridhaving wrong margins on dividersNew Components
ui placeholderthat can be used to show where content will soon appear.New UI Type
ui placeholder segmentused to reserve space for UI when content is missing or empty.Major Enhancements
clearabledropdowns. Whenclearable: trueis specified an (X) will appear to clear dropdown selection #2072useFlexwhich defaults toauto. Modals and dimmers will automatically revert to using non-flex layouts when there may be layout issues with using flexbox. Modals will fall back to JS position whendetachable: falseis used or with IE11/Edge (Absolutely positioned elements inside flex containers in IE behave differently).Critical Bugs
scrolling modalwould not allow for scrolling with touch devices. #6449basic labelwere appearing incorrectly Thanks @ lasley / @ ColinFrick #6582 #6440left menuinsideui menuwould display horizontally asflex#6359Bugs
variationat runtime, to support run-time swapping betweentop alignedandmiddle alignedusing.dimmer('setting', 'variation', 'top aligned')onChangewhen used withaction: hidewould be missing the third param$item#6555ukalias forunited kingdomThanks @ PhilipGarnero #6531disk outline iconalias #6556contentwould not take up 100% width when used alongsideimgoriconlabeled icon menu#6557@ mobileTopAlignedMargintheming variable was not implementedblurringafter undimming, to prevent issues withposition: fixed#6520Minor Changes
inline dropdownclose icondefault right margin default spacing slightly modified.Bug Fixes
cache: falsewill now affect default settings forapiSettingswhen using a remote endpoint. Previously you would also have to pass inapiSettings: { cache: false}as welltransition inandtransition outused in animations. Previous names can still be used, however it is recommended to migrate to new names for compatibility with transition.linkedin inis nowlinkedin alternatezoom inis nowzoom-inzoom outis nowzoom-outsign inis nowsign-insign outis nowsign-outlog outis nowlogoutin cartis nowin-cartEnhancements
invertedandinverted basicvariations forprimaryandsecondarybuttons Thanks @ hammy2899 #6242Theming
hoverdownactiveandfocusvariables for@ invertedPrimaryColorand@ invertedSecondaryColorBugs
apiSettingswith a url that returns valid response but with no results when clicking directly on thedropdown icon. Thanks @ vpeti #5231 #5809:last-childbasic labeldoes not use@ basicBackgroundvariables Thanks @ levithomsonwechat iconnot displaying due to typo Thanks @ alex-karo #6429Critical Bugs
2.3.0that could cause multiselect dropdowns initialized by converting<select>to not add initial selected options. #6123fullTextSearch: 'exact'returning duplicate results @ thanks @ prudho #6223 #6221centeredandborderedicons appearing incorrectly with FA5 Thanks @ w96k #61922.3.0Thanks hammy2899 #6181 #6175 #6176 #6174 #6175link iconwere appearing incorrectly due to changes in icons #6180Enhancements
Bugs
onChangemissingtextfrom callback when dropdown is set toaction: 'select'Thanks @ martinduparc #4183 #4510@ importSolidIcons,importRegularIconsand@ importBrandIconsvariables Thanks hammy2899fitted iconto fix compatibility with other components #6125onScreencallback to not occur properly for elements that are taller than screen.disabled itemshowing hover style forsecondary menuThanks @ tcmal #6268@ normalfor normal font weight for all non-default themes included in repo. #6227ui images#6224whitespace: nowrap;applying to content insideslide revealandmove revealMajor Enhancements
Icons - Font Awesome 5 is now included in Semantic UI Thanks @ hammy2899 #6085
Search - Category search can now work with local search by adding a
categoryproperty to any result and specifyingtype: 'category'Popup - Popup can now position elements correctly even when they have a different offset context than their activating element. Like in this example.
Popup - Popup will now align the center of the arrow (not the edge of the popup) when it would be reasonable (up to 2x arrow's offset from edge). See this explanation
To preserve functionality
movePopupdefault has remained astrue(moving the popup to the same offset context), however now settingmovePopup: falseshould now always position correctly. Be sure to usemovePopup: trueto avoid issues withui popupinsidemenu,inputor other places where it may inherit rules from its activating element or its context.Transition - Adds new
glowtransition for highlighting an element on the page, andzoomanimation for scaling elements without opacity tween.Modal - Modal has been rewritten to use
flexbox. No need to callrefresh()to recalculate vertical centering.Modal - Modals now have a setting
centeredwhich can be used to disable vertical centering. This can be useful for modals with content that changes dynamically to prevent content from jumping in position.Minor Enhancements
normalandboldfont weights for custom font stacks. Thanks @ jaridmargolin #6167exactsetting matching dropdown forfullTextSearchpreventing fuzzy searchtitlerow if titles are long instead of forcing a title widthcontentelement.closablesetting after init Thanks @ mdehoog #3396onChangingcallback for accordion that occurs before animation in both directions Thanks @ GammeGames #5892Tiny Enhancements
arrowBackgroundnow inherits frombackground#6059 Thanks @ devsliheaderFontWeightBugs
autofocussetting now checks to see if currently focused element is in modal, avoiding issues where focus could be set inonVisibleoronShowbigandhugesizes being swapped in menu Thanks @ Jeremy091 #5902 #5899tbodyThanks @ MLukman #4458contentspecified in settings beforetitleattribute #4614 Thanks @ aaronbhansenon: 'change'would still show validation prompts onblurwhen usinginline: true#4423 Thanks @ avalanche1inverted dimmerwithcontenthaving wrong text color Thanks @ rijk #4631ui imageswould show nested images withtransition hiddenas block (Fixes sequential img animation demo in docs)Doc Updates
Doc Bugs
Critical Bugs
get valuesThanks @ tincdev #5713 #6043allowMultiple: trueand a second modal that is larger than the screen height. #2423Enhancements
ribbon labelcan now work withreveal#5681ignoreCase(defaults to false) that will prevent values from being added that match existing values (case insensitive). This is particularly useful when using allowAdditions for tagging to not allow case insensitive matches.@ customScrollbarHeightand specifies a default horizontal scrollbar height Thanks @ jayphelps #5749Bugs
toggle checkboxbox shadow was missing Thanks @ Banandrew #5096contextsetting due to an incorrect offset calculation. Thanks @ dannyBies #5974 #5366containanddoesntContainrules were swapped. Thanks @ xiongyu-git #5530bottomPassedandtopPassedwould not fire under some conditionsui inputin a dropdown menu could cause the input to be too wide in some cases Thanks @ Banandrew #5085inverted menurules would cause popup inside a menu to have incorrect link styling inlink listThanks @ Banandrew #5585 #5603Build Tools
gulp-clonewas only set to use >1.0causing issues with gulp builds due to upstream error #6067Hotfix (2)
gulp-promptplugin to allow for updatedinquirerversionMajor Enhancements (1)
valuesspecified in javascript when initializing.This should simplify cases where dropdown contents are contingent on other fields, for example listing sub categories. You can see some examples here and in the usage section of dropdown docsCritical Bugs (3)
dropdowninsideui menuto always appear on left edge of dropdown introduced2.2.11#5542popupin2.2.11that caused popups to appear out of place in some cases due to incorrect calculation ofoffsetParent#5549 #5597 #5590GulpUglifyError: unable to minify JavaScript Caused by: DefaultsError: `preserveComments` is not a supported optionEnhancements (2)
<select>DOM node is replaced with a different select, and not just if new<option>are added