红联Linux门户
Linux帮助

Semantic-UI 2.2.12发布,语义化的前端框架

发布时间:2017-08-08 09:03:35来源:红联作者:baihuo
Semantic-UI 2.2.12 和 2.2.13 已发布,Semantic UI ---- 完全语义化的前端界面开发框架,跟 Bootstrap 和 Foundation 比起来,还是有些不同的,在功能特性上、布局设计上、用户体验上均存在很多差异。

2.2.12 的主要更新如下:

主要增强:

Dropdown - 下拉菜单现在可以在初始化时在 javascript 中指定值。这可简化下拉菜单内容与其他字段有关的情况,例如列出子类别。可在这里下拉菜单文档的部分使用教程中看到一些示例。

关键的 bug 修复:

Dropdown - Fixed regression that caused sub menu dropdown inside ui menu to always appear on left edge of dropdown introduced 2.2.11

Popup - Fixed a regression with popup in 2.2.11 that caused popups to appear out of place in some cases due to incorrect calculation of offsetParent

Build Tools - Fixes issue with deprecated uglify setting that could cause build tools to fail with the following error:

GulpUglifyError: unable to minify JavaScript
Caused by: DefaultsError: `preserveComments` is not a supported option

2.2.13 主要是对 2.2.12 的热修复:

Install - 修复某些交互式安装脚本的问题。fork 的 gulp-prompt 插件可用于更新的 inquirer 版本

Build Tools - 修复由于输入错误导致修复构建工具失败的问题

软件详情:https://github.com/Semantic-Org/Semantic-UI/releases

来自:开源中国社区
文章评论

共有 0 条评论