Semantic UI 2.0.7 发布,主要更新内容如下:
Important Note
This release should fix bugs some may have encountered with npm install semantic-ui hanging after set-up. See this thread for more details.
Reported Bugs
API - Fixed some cases where onComplete, onSuccess and onFailure would receive XHR as first parameter and not response. #2713
API - Fixed issue where onFailure would pass response as stringified JSON and not a JS object #2713
Build Tools - Fixed some cases of npm install with CI or tests. Install will not stop to ask questions if project has an existing semantic.json file (more quiet options to come) #1816
Dropdown - Fixed border radius on circular labeled icon button #2700
Dropdown - Fixed issue where dropdown nested inside label would not open. #2711
Popup - Fixed issue where popup would not open on tablets with both touchscreen and mouse on mouseenter. #2715
Merged PR
Build Tools - Fixed autoprefixer not correctly setting last 2 versions #2717 Thanks @frontdevde
Gulp Import - Fixes error Cannot find module 'gulp-help' which may occur when importing gulp tasks #2653 #2668 Thanks @fholzer
Docs
Recipes - Add links to Sketch files for SUI. Add example repo on how to import gulp tasks.
Minor Enhancements
API - All API callbacks now recieve xhr from API request as the third calback parameter
Additional Fixes
Checkbox - Fix checkbox "check" appearing italicized when included inside italicized text
Popup - Fixed terribly typo where popup onShow was mistakenly being called instead of onHide when hiding popup
Popup - Popup on touchstart now occurs immediately without waiting for delay.show
Semantic UI--完全语义化的前端界面开发框架,跟 Bootstrap 和 Foundation 比起来,还是有些不同的,在功能特性上、布局设计上、用户体验上均存在很多差异。
软件详情:https://github.com/Semantic-Org/Semantic-UI/releases/tag/2.0.7
来自:开源中国社区

