Semantic UI 1.2.0 发布,此版本现已提供下载(ZIP,tar.gz)。
改进内容如下:
功能增强
Form - Form validation now has parameter
optionalwhich will only validate a field against a set of rules if the user does not leave it blank Thanks DHNCarlosFonts - Add font subset variable for
site.variablesThanks gabormeszolyModal - Default modal shadow now more subtle
Sidebar - Now has behaviors
is open/closedthat are aliases foris visible/hiddenCheckbox - JS Checkbox now handles several variations of html. Labels can be before inputs, after, or not included at all. This should work better with server side form generation.
Progress - Adds
limitValuessetting to adjust values outside of 0-100 automatically to within range, defaults to true
Bugs 修复
Grid - Fixes
ui stackable gridsometimes not aligning correctly at mobile sizes withui page gridProgress - Fixes issues with setting progress to 0% not working as expected
Modal - Fixes issues with multiple modals sometimes not closing dimmers
Modal - When a second modal that is not scrolling is opened after a scrolling modal it no longer causes the first modal to not be scrollable
Modal - "Hammer" clicking multiple times on a hiding dimmer no longer causes animation issues
Sidebar - Fixes issue with multiple sidebars sometimes causing dimmer to close prematurely
Sidebar - Dimmer can now be clicked even before sidebar has finished showing to immediately close sidebar
Item/Card - Default link formatting inside element simplified to avoid adjusting other nested
uilink stylesDropdown - Fixes bug with dropdown converted from
selectthat use<optionvalues with capital letters not being selectableForm - Fixes required checkbox asterisks formatting incorrect
*Docs / Build *
Fixed documenation on dropdown actions, field width specification, form validation types, and some odds & ends
Adds components to semantic.json.example
Theme.config.example now links to final site folder
浏览器关闭的 Issues 是什么意思