Semantic UI 2.1.5 发布,前端界面开发框架
Semantic UI—完全语义化的前端界面开发框架,跟 Bootstrap 和 Foundation 比起来,还是有些不同的,在功能特性上、布局设计上、用户体验上均存在很多差异。
Semantic UI 特点:
-
文档和演示非常完善
-
易于学习和使用
-
配备网格布局
-
支持 Sass 和 LESS 动态样式语言
-
有一些非常实用的附加配置,例如inverted类。
-
对于社区贡献来说是比较开放的。
-
有一个非常好的按钮实现,情态动词,和进度条。
-
在许多功能上使用图标字体。
Semantic UI 对浏览器的支持:
-
Last 2 Versions FF, Chrome, IE (aka 10+)
-
Safari 6
-
IE 9+ (Browser prefix only)
-
Android 4
-
Blackberry 10
文档更新
-
Examples - All code examples now have a "copy to clipboard" button Thanks @xiwc and @zenorocha for clipboard.js
小改进
-
Form - Adds
equal width formandequal width fieldsfor simpler grouped fields -
Modal -
onHidecallback can now cancel event by returning false #3168 Thanks @mdehoog -
Dropdown - Added
onLabelRemovecallback that allows value removal to be cancelled by callback Thanks @goloveychuk -
Table - Added
selectableon table cell, allowing for full table-cell links -
Popup Added three new variables for
arrowbackground color based on position, top, center or bottom. This makes it easier to use gradient backgrounds with popups and still match arrow colors. -
Popup - Added behaviors
get popupandchange contentto more easily determine popup from activating element and change text
主要 Bug 修复
-
Checkbox/Dropdown/Search - Fixed issue where using
.trigger('change')would not fire nativechangeevent. Only triggering event handlers attached with jQuery #3108 -
Transition - Fixed bug where static transitions (those that dont animate in/out of view) would not fire
onCompleteevent -
Sticky - Fixes bug where sticky would stick at incorrect times when using a different scroll container than
bodyand scrollTop is not 0 on page load.
Bugs 修复
-
Divider/Step/Modal/AD - Fixes 1px jump at
@mobileBreakpointcaused by incorrect edge conditions in media query #3180 THanks @mdehoog -
Dimmer - Dimmer can now works correctly with
opacity: 0#3167 Thanks @mdehoog -
Dropdown - Fixed condition where focusing on dropdown would show a blank menu when "no results" was reached and the dropdown was refocused
-
Dropdown - Search dropdowns will now correctly filter by current search term on re-focus
-
Dropdown - Fixed issue where tabindex was being removed incorrectly with
selection dropdownin some cases. #3002 -
Dropdown - Added
remoteValuesas a possiblefieldsetting. Allowing users to return API results using arbitrary JSON object groupings. #3080 -
Dropdown - Added ability to pass in
keysas a setting, to avoid issues with languages where comma delimiter may be a different keycode #3016 -
Dropdown -
search dropdownwill now initialize withautocomplete="off"to avoid triggering native autocomplete menu -
Form Validation - Fixes error on
blurorchangewhen using a blank validation object #3131 Thanks @listepo -
Form Validation - Fixes some issues with form integer validation #3053 Thanks @maturano
-
Form Validation -
decimalrule now only matches decimals, to match any number usenumberrule. #3060 -
Form - Removed
dividerspacing as part ofui form, this caused inheritance issues when using special divider types #3092 -
Grid - Fixes attached segment 1px offset inside grid column #3226
-
Grid - Fixes some inconsistencies with
widescreen onlyclass #3161 Thanks @mdehoog -
Header - Sub headers now force
display: block#3020 -
Popup - Fixes positioning issue when
movePopup: false#3213 Thanks @parisholley -
Popup - Popup now works with
svgelements #3043 -
*Progress - Calling
resetwill now resetvalueto 0, so increment starts again at 0 -
Search - Fixes
onSearchQuerynot firing when results are cached Thanks @mnquintana -
Search - Fixes
urlparameter not working correctly due to typo in source Thanks @fabienb4 -
Segment - Fixes border on
horizontal segmentwhen they are:first-childinsidesegmentsgroupDocs Bugs -
Thanks to everyone who has submitted PRs for typos, grammatical changes. These are too numerous to count, but really help improve the quality of our docs.
-
Progress - Progress example code no longer shows accidental inline css
-
Sticky - Fixed issue where pressing home/end button would cause sticky to break due to internal logic not allowing immediate jump from bottom attached to top attached, experienced most likely when pressing "home" or "end" key #3011
下载:https://github.com/Semantic-Org/Semantic-UI/archive/2.1.5.zip