2.4.0
includes 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 placeholder
that can be used to show where content will soon appear.
New UI Type
- Segment - Added new
ui placeholder segment
used to reserve space for UI when content is missing or empty.
Major Enhancements
- Dropdown - Added
clearable
dropdowns. Whenclearable: true
is specified an (X) will appear to clear dropdown selection #2072 - Modal/Dimmer - Modals and dimmers now include a new setting
useFlex
which 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: false
is used or with IE11/Edge (Absolutely positioned elements inside flex containers in IE behave differently).
Critical Bugs
- Modal - Fixed issue where
scrolling modal
would not allow for scrolling with touch devices. #6449 - Label - Fixed issue where
basic label
were appearing incorrectly Thanks @lasley / @ColinFrick #6582 #6440 - Menu/Dropdown - Fixed
left menu
insideui menu
would display horizontally asflex
#6359
Bugs
- Dimmer - Dimmer now sets
variation
at runtime, to support run-time swapping betweentop aligned
andmiddle aligned
using.dimmer('setting', 'variation', 'top aligned')
- Dropdown - Fixed issue where
onChange
when used withaction: hide
would be missing the third param$item
#6555 - Flag - Add
uk
alias forunited kingdom
Thanks @PhilipGarnero #6531 - Icon - Fixes missing
disk outline icon
alias #6556 - List - Fixed issue where list
content
would not take up 100% width when used alongsideimg
oricon
- Menu/Dropdown - Fixes dropdown item margin not obeyed inside
labeled icon menu
#6557 - Modal - Fixes
@mobileTopAlignedMargin
theming variable was not implemented - Modal - Modal now will remove
blurring
after undimming, to prevent issues withposition: fixed
#6520
Minor Changes
- Dropdown -
inline dropdown
close icon
default right margin default spacing slightly modified.