import * as React from 'react' ; import * as classNames from 'classnames' ; import { NavLink } from 'react-router-dom' ; import { BaseProps } from '../../src/components/common/BaseProps' ; import Timeline , { TimelineItem } from '../../src/components/Timeline' ; import { Content } from '../../src/components/Page' ; interface ChangeLogProps extends BaseProps { } export default class ChangeLog extends React . PureComponent < ChangeLogProps , { } > { static defaultProps = { prefixCls : 'bm-ChangeLog' , } ; render ( ) { const { className , prefixCls } = this . props ; const styleClass = classNames ( prefixCls , className ) ; return ( < Content className = { styleClass } > < div className = "padding-20" > < h2 > 更新日志 < /h2> < p > bee - mobile 严格遵循 < a href = "https://semver.org/lang/zh-CN/" > Semantic Versioning 2.0 .0 < /a> 语义化版本规范 。 < /p> < p > 发布周期 < /p> < ul > < li > 版本更新 ： 每周末会进行日常 bug修复 。 （ 如果有重大 bug ， 则任何时候都可发布 ） < /li> < li > 主版本号 ： 每月发布一个带有新特性的向下兼容的版本 。 < /li> < /ul> < Timeline > < TimelineItem title = { < h3 > 0.4 .4 < span className = "title-label" > 2018 - 09 - 23 < /span></h3 > } > < h4 > Bug Fixes < /h4> < ul > < li > 修复 < NavLink to = "/docs/dropdown" > Dropdown < /NavLink>无法添加自定义样式 < /li> < /ul> < /TimelineItem> < TimelineItem title = { < h3 > 0.4 .3 < span className = "title-label" > 2018 - 08 - 25 < /span></h3 > } > < h4 > Features < /h4> < ul > < li > 优化 < NavLink to = "/docs/inputtext" > Text Field < /NavLink>前后标签的样式 < /li> < /ul> < h4 > Bug Fixes < /h4> < ul > < li > 修复 < NavLink to = "/docs/tooltip" > Tooltip < /NavLink>无法点击的问题 < /li> < /ul> < /TimelineItem> < TimelineItem title = { < h3 > 0.4 .2 < span className = "title-label" > 2018 - 08 - 11 < /span></h3 > } > < h4 > Features < /h4> < ul > < li > 无障碍式优化组件样式 < /li> < /ul> < /TimelineItem> < TimelineItem title = { < h3 > 0.4 .1 < span className = "title-label" > 2018 - 07 - 28 < /span></h3 > } > < h4 > Features < /h4> < ul > < li > 优化 < NavLink to = "/docs/breadcrumb" > Breadcrumb < /NavLink> 的样式 < /li> < /ul> < h4 > Enhancement < /h4> < ul > < li > 更新 < NavLink to = "/docs/datetimePicker" > DatetimePicker < /NavLink> 的Api < /li> < /ul> < /TimelineItem> < TimelineItem title = { < h3 > 0.4 .0 < span className = "title-label" > 2018 - 07 - 13 < /span></h3 > } > < h4 > Features < /h4> < ul > < li > 调整 < NavLink to = "/docs/actionSheet" > ActionSheet < /NavLink>的样式 < /li> < li > 调整 < NavLink to = "/docs/badge" > Badge < /NavLink>使用notify的样式 < /li> < /ul> < h4 > Bug Fixes < /h4> < ul > < li > 修复 < NavLink to = "/docs/accordion" > Accordion < /NavLink>展开时指示箭头不旋转 < /li> < li > 修复 < NavLink to = "/docs/cellSwipe" > CellSwipe < /NavLink>的属性to类型错误 < /li> < li > 修复 < NavLink to = "/docs/pagination" > Pagination < /NavLink>分页点击跳转错误 < /li> < /ul> < h4 > Tool < /h4> < ul > < li > 优化 < code className = "code-inline" > create - bee - mobile < /code>脚手架打包配置 < img className = "padding-left-10" src = "https://img.shields.io/npm/v/create-bee-mobile.svg?style=flat-square" alt = "create-bee-mobile" / > < /li> < li > 移除 < code className = "code-inline" > eslint < /code>代码检查，添加<code className="code-inline">tslint</code > 代码检查 < /li> < /ul> < /TimelineItem> < TimelineItem title = { < h3 > 0.3 .1 < span className = "title-label" > 2018 - 06 - 25 < /span></h3 > } > < h4 > Features < /h4> < ul > < li > 新增 < NavLink to = "/docs/dropdown" > Dropdown < /NavLink> 下拉菜单 < /li> < /ul> < h4 > Bug Fixes < /h4> < ul > < li > 修复 < NavLink to = "/docs/backTop" > BackTop < /NavLink>的滚动元素是window时监听不到滚动事件 < /li> < li > 修复 < NavLink to = "/docs/grid" > Grid < /NavLink>的Col组件设置lg、md等无效 < /li> < /ul> < /TimelineItem> < TimelineItem title = { < h3 > 0.2 .1 < span className = "title-label" > 2018 - 06 - 09 < /span></h3 > } > < h4 > Features < /h4> < ul > < li > 新增 < NavLink to = "/docs/alert" > Alert < /NavLink>警告提示组件 < /li> < /ul> < h4 > Bug Fixes < /h4> < ul > < li > 修改 < NavLink to = "/docs/picker" > Picker < /NavLink>弹出时，底层滚动问题 < /li> < /ul> < /TimelineItem> < TimelineItem title = { < h3 > 0.1 .6 < span className = "title-label" > 2018 - 05 - 26 < /span></h3 > } > < h4 > Features < /h4> < ul > < li > < NavLink to = "/docs/accordion" > Accordion < /NavLink>新增name属性，用于设置自定义索引 < /li> < li > < NavLink to = "/docs/spin" > Spin < /NavLink>新增color属性，用于设置颜色 < /li> < /ul> < h4 > Bug Fixes < /h4> < ul > < li > 修复 < NavLink to = "/docs/autocomplete" > Autocomplete < /NavLink>有值时获取焦点无法弹出下拉框 < /li> < /ul> < /TimelineItem> < TimelineItem title = { < h3 > 0.1 .5 < span className = "title-label" > 2018 - 05 - 12 < /span></h3 > } > < h4 > Features < /h4> < ul > < li > 优化Button 、 Accordion样式 < /li> < /ul> < /TimelineItem> < TimelineItem title = { < h3 > 0.1 .4 < span className = "title-label" > 2018 - 04 - 30 < /span></h3 > } > < h4 > Bug Fixes < /h4> < ul > < li > 修复 < NavLink to = "/docs/swiper" > Swiper < /NavLink>无法拖动 < /li> < li > < NavLink to = "/docs/infiniteScroll" > InfiniteScroll < /NavLink> 属性onScroll修改为onContentScroll ， 修复添加onScroll导致无限滚动无效 。 < /li> < li > 修复因使用rem ( 根元素font - size不一致 ) 时 ， 导致字体大小错乱的问题 < /li> < li > 修复找不到 < NavLink to = "/docs/indexList" > IndexList 、 IndexSection < /NavLink>组件 < /li> < /ul> < h4 > Features < /h4> < ul > < li > 新增 < NavLink to = "/docs/cellSwipe" > CellSwipe < /NavLink>组件 < /li> < li > < NavLink to = "/docs/spin" > Spin < /NavLink>新增height、width属性，用于控制Spin的大小 < /li> < li > < NavLink to = "/docs/spin" > Spin < /NavLink>默认颜色调整为#424242 < /li> < li > < NavLink to = "/docs/buttonNavigation" > ButtonNavigation < /NavLink>可设置为负数或大于子元素个数，表示都不选中 < /li> < /ul> < h4 > Documents < /h4> < ul > < li > 修正文档中主题的scss引用路径问题 < /li> < /ul> < /TimelineItem> < TimelineItem title = { < h3 > 0.1 .3 < span className = "title-label" > 2018 - 04 - 21 < /span></h3 > } > < h4 > Bug Fixes < /h4> < ul > < li > 修复 < NavLink to = "/docs/inputNumber" > InputNumber < /NavLink>给value赋值时无效 < /li> < li > 修复当隐藏 < NavLink to = "/docs/swiper" > Swiper < /NavLink>，然后显示时，Swiper失效 < /li> < li > 修复 < NavLink to = "/docs/button" > Button < /NavLink>里放置a、NavLink时，无法点击 < /li> < /ul> < h4 > Features < /h4> < ul > < li > < NavLink to = "/docs/rate" > Rate < /NavLink>默认颜色调整为#ffa726 < /li> < li > 新增 < NavLink to = "/docs/segment" > Segment < /NavLink>分段器 < /li> < li > < NavLink to = "/docs/swiper" > Swiper < /NavLink> 新增observe 、 observeParents属性 ， 用于启动动态检查器 ， 当改变swiper的样式 （ 例如隐藏 / 显示 ） 或者修改swiper的子元素时 ， 自动初始化swiper 。 < /li> < li > 优化Checkbox 、 Radio 、 Badge 、 List 、 ButtonNavigation的样式 < /li> < /ul> < /TimelineItem> < TimelineItem title = { < h3 > 0.1 .2 < span className = "title-label" > 2018 - 04 - 16 < /span></h3 > } > < h4 > Bug Fixes < /h4> < ul > < li > 修复 < NavLink to = "/docs/swiper" > Swiper < /NavLink>当effect为"fade"时，出现空白闪烁 < /li> < li > 修复在 < NavLink to = "/docs/tabs" > Tabs < /NavLink>中使用Swiper时，Swiper会失控 < /li> < li > 修复 < NavLink to = "/docs/searchBar" > SearchBar < /NavLink>样式冲突 < /li> < /ul> < h4 > Features < /h4> < ul > < li > < NavLink to = "/docs/tabs" > Tabs < /NavLink>新增animated属性，用于控制是否开启动画 < /li> < li > 优化样式 < /li> < /ul> < /TimelineItem> < TimelineItem title = { < h3 > 0.1 .1 < span className = "title-label" > 2018 - 04 - 03 < /span></h3 > } > < h4 > Bug Fixes < /h4> < ul > < li > 修复找不到 < NavLink to = "/docs/indicator" > Indicator < /NavLink>、 < NavLink to = "/docs/messageBox" > MessageBox < /NavLink>、 < NavLink to = "/docs/notification" > Notification < /NavLink>、 < NavLink to = "/docs/toast" > Toast < /NavLink>模块。 < /li> < /ul> < h4 > Tools < /h4> < ul > < li > < img className = "emoji" alt = "tada" height = "20" width = "20" src = "https://assets-cdn.github.com/images/icons/emoji/unicode/1f389.png" / > 发布 < NavLink to = "/docs/create-bee-mobile" > create - bee - mobile < /NavLink> 脚手架 ， 可快速搭建基于Webpack构建的React项目 。 < /li> < /ul> < /TimelineItem> < TimelineItem title = { < h3 > 0.1 .0 < span className = "title-label" > 2018 - 03 - 10 < /span></h3 > } > < ul > < li > 发布第一个公开版本 < img className = "emoji" alt = "tada" height = "20" width = "20" src = "https://assets-cdn.github.com/images/icons/emoji/unicode/1f389.png" / > ， 包含 icon 、 button 、 checkbox 、 radio 、 switch 、 slider 、 input - number 、 datepicker 、 select 、 tabs 、 breadcrumb 、 collapse 、 pagination 、 modal 、 message 、 popover 、 progress 等组件 。 < /li> < li > 发布 < a href = "https://bee-mobiles.github.io" > Bee Mobile 首页 < /a> 和入门文档。 < /li> < /ul> < /TimelineItem> < /Timeline> < /div> < /Content>); } }