Semantic UI 2.2.3 发布了,Semantic UI——完全语义化的前端界面开发框架,跟 Bootstrap 和 Foundation 比起来,还是有些不同的,在功能特性上、布局设计上、用户体验上均存在很多差异。该版本更新如下:
Enhancements
Form Validation - Bracketed notation can now be omitted for rules, instead passing in bracketed values with the
value
parameter #3313Dropdown - Using
search selection
withselectOnKeydown
will now highlight the partial search matching the currently keyboard selected valueModal - Modal now includes setting to enable/disable keyboard shortcuts
Modal - Modal will now focus first tabable element, not just
input
#4370
Bugs
Comments - Adds missing sizes (mini, tiny etc) Thanks @ilanus #4408
NPM - Fixed
package.json
to allow either jQuery2.x
or3.x
#4254Button/Dropdown - Fixed issue where
ui dropdown button
could have incorrect spacing for dropdown icon Thanks @ilanus #4408Form/Segment - Fix typo causing
pointer-events: none
no to work onloading segment
andloading form
*Thanks @YamiOdymel and @ilanus #4403Icon -
icons
can now receivelink
styling Thanks @tbracken #4399Button - Fixed
vertical buttons
with only 1 button having incorrect border radiusThanks @Denhai #4107Grid - Fixed issue where
(x) aligned column
inside a(x) aligned row
would not properly apply thecolumn
alignmentForm - Fixed issue where
disabled fields
with radio inputs would not correctly dim the label Thanks @louwers #4366Menu - Fixed issue where
dropdown
invertical menu
would not correctly openupward
when no space below Thanks @gdaunton [#4150 #4156Dropdown - Using
search selection with
selectOnKeydown` and text content that includes html, will not apply html content (like images) to the text until dropdown blur, making sure that content can align correctly with the partial search content of the search input (which cannot include HTML)Dropdown - Fixed issue where dropdown
clear
would not remove active state whenuseLabels: true
and multiple dropdown Thanks vinh123456789 #4275#4366Dropdown -
dropdown icon
no longer relies on stopping event propagation. This means using the dropdown icon will now cause other dropdowns to correctly hide.#3998Dropdown - Fixes
action: select
not working correctly since2.2
due to incorrect use of new function signature. #4183Dropdown - Fixed typo causing selectObserver mutation observer not to disconnect Thanks @Paklausk #4311
Icon - Fixed missing
dribbble
icon due to incorrect count of "b" (should be 3).#4185Icon - Fixes
grab icon
andtelevision icon
not appearing correctly #4178Form -
input
styles now apply totype="file"
thanks @coldfire79 #4074Popup/Menu - Fixed issue where popup would not appear correctly when nested in menu in some ways.
Icon - Fixes
talk
icon not working correctly Thanks @anantogosh #4354Grid - Fixed alignment in `centered justified grid** Thanks @bretto36 #4224
Popup - Fixed issue where
observeChanges: false
setting in popup would not prevent mutation observers
官方发行说明:https://github.com/Semantic-Org/Semantic-UI/releases
下载地址: