Version 2.4.0 - Sep 17, 2018
2.4.0includes a new componentplaceholder. To use this component in your existing SUI site, be sure to add@placeholder: 'default';to yourtheme.config. You can see an example intheme.config.example
New Components
- Placeholder - Added
ui placeholderthat can be used to show where content will soon appear.
New UI Type
- Segment - Added new
ui placeholder segmentused to reserve space for UI when content is missing or empty.
Major Enhancements
- Dropdown - Added
clearabledropdowns. Whenclearable: trueis specified an (X) will appear to clear dropdown selection #2072 - Modal/Dimmer - Modals and dimmers now include a new setting
useFlexwhich 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
- Modal - Fixed issue where
scrolling modalwould not allow for scrolling with touch devices. #6449 - Label - Fixed issue where
basic labelwere appearing incorrectly Thanks @lasley / @ColinFrick #6582 #6440 - Menu/Dropdown - Fixed
left menuinsideui menuwould display horizontally asflex#6359
Bugs
- Dimmer - Dimmer now sets
variationat runtime, to support run-time swapping betweentop alignedandmiddle alignedusing.dimmer('setting', 'variation', 'top aligned') - Dropdown - Fixed issue where
onChangewhen used withaction: hidewould be missing the third param$item#6555 - Flag - Add
ukalias forunited kingdomThanks @PhilipGarnero #6531 - Icon - Fixes missing
disk outline iconalias #6556 - List - Fixed issue where list
contentwould not take up 100% width when used alongsideimgoricon - Menu/Dropdown - Fixes dropdown item margin not obeyed inside
labeled icon menu#6557 - Modal - Fixes
@mobileTopAlignedMargintheming variable was not implemented - Modal - Modal now will remove
blurringafter undimming, to prevent issues withposition: fixed#6520
Minor Changes
- Dropdown -
inline dropdownclose icondefault right margin default spacing slightly modified.