Skip to content

Latest commit

 

History

History
931 lines (781 loc) · 23.9 KB

CHANGELOG.md

File metadata and controls

931 lines (781 loc) · 23.9 KB

3.4.4 / 2018-01-08

  • fix: DateTimeField display value bug

3.4.3 / 2018-01-08

  • fix: PhotoFieldItem filename

3.4.2 / 2018-01-08

  • fix: DateTime duplicate value calculation
  • feat: React 15.x compatible

3.4.1. / 2018-01-05

  • fix: missing Datetime method

3.4.0 / 2018-01-05

  • feat: Datetime support prop disabledDate

3.3.6 / 2018-01-03

  • feat React 15.x compatible for ActionSheet, Button, Avatar, Badge, Boxs, Calendar, Group
  • fix: SelectField value is not handled correctly in componentWillReceiveProps

3.3.5 / 2017-12-28

  • change: all commonjs module are transformed to es6 module
  • fix: RadioField check icon style

3.3.4 / 2017-12-27

  • fix: vendor prefix typo in Badge

3.3.3 / 2017-12-27

  • fix: SearchBar can doSearch when value is empty string.

3.3.2 / 2017-12-20

  • fix: Slot lastChoose fail to be updated after props.value change.

3.3.1 / 2017-12-20

  • fix: Slot.formatDataValue fail to return formatted value

3.3.0 / 2017-12-18

  • feat: TabBar iphoneX compatible
  • feat: Tab force browser repaint when component mount

3.2.0 / 2017-12-18

  • feat: Crumb support new prop separator

3.1.33 / 2017-12-15

  • fix: scrolling to the window's end when toast is shown.

3.1.32 / 2017-12-14

  • fix: scrolling to the window's end when popup is shown.

3.1.30 / 2017-12-08

  • fix: SelectField Icon missing
  • feat: SearchBar support exitAfterEnter

3.1.29 / 2017-12-04

  • doc: remove tingle keyword from docs

3.1.28 / 2017-12-01

  • fix: cancel button style bug if locale is en_US

3.1.26 / 2017-12-01

  • feat: remove input change trim

3.1.25 / 2017-11-29

  • fix: CheckboxField icon style

3.1.24 / 2017-11-29

  • fix: queueCapacity logic error

3.1.23 / 2017-11-29

  • fix: remove searchBar low performance animation.

3.1.22 / 2017-11-29

  • fix: searchBar active animation in iphone

3.1.21 / 2017-11-28

  • fix: typo in PhotoField

3.1.20 / 2017-11-28

  • fix: CitySelectField readOnly fails to work
  • fix: SrollList only load one page after refresh
  • refactor: rename InfiniteScroll's getRef to getDOMNode

3.1.19 / 2017-11-28

  • fix: umd build webpack wrong externals
  • change: git igonre build folder & dev/index.jsx

3.1.18 / 2017-11-24

  • fix: searchbar placeholder style bug when search is active.
  • fix: PhotoField readOnly fails to work

3.1.17 / 2017-11-23

  • fix: CascadeSelect bug caused by duplicated defaultProps declaration.

3.1.16 / 2017-11-22

  • doc: remove useless link
  • refactor: eslint source code (20%)

3.1.15 / 2017-11-15

  • fix: Slot onConfirm pass wrong value

3.1.14 / 2017-11-15

  • fix: CascadeSelect options can not be scrolled

3.1.13 / 2017-11-14

  • fix: Tab showAll panel item align bug
  • fix: CascadeSelect tab type change bug (#27)
  • fix: CascadeSelect incorrect placeholder color
  • fix: CascadeSelect normal mode cannot select the first Option if props.value is not set

3.1.11 / 2017-11-09

  • feat: TabBar: isUrl can pass base64 dataUrl.
  • fix: Tab underline bar style

3.1.10 / 2017-11-03

  • fix refactor Toast.hide logic, fix the weird leaving animation.

3.1.9 / 2017-11-02

  • fix the first option can not be selected if user confirm without rolling the slot and value is null/undefined

3.1.8 / 2017-11-01

  • fix NoticeBar wrong icon when type is warning.
  • feat export H5 PhotoField using PhotoField.H5

3.1.5 / 2017-10-09

  • feat 统一了所有组件对于 icon 的依赖。
  • [email protected]
    • breaking: prop iconNameicon 代替,icon 的类型是一个 React Element,可以是 Icon 组件的实例或者通过 salt-svg-loader 引入的 Icon。
  • style 增加了新的主题 net-blue

3.1.4 / 2017-09-20

3.1.3 / 2017-09-20

3.1.2 / 2017-09-20

3.1.1 / 2017-09-20

3.1.0 / 2017-09-19

3.0.12 / 2017-09-08

  • [email protected]
    • 新增组件
  • [email protected]
    • 提取 datetime,单独发包,在该组件中引用
  • [email protected]
    • feat 修改 label 显示方式
    • feat 支持新的 prop errMsg
    • feat 增加新的静态方法 Field.getFieldProps
    • fix tip 只有一行时间距不对
    • fix 无论是否传 icon 都会有 icon 的占位
  • [email protected]
    • feat 升级 field 至 ^3.0.0
    • fix 修改 README 符合现状
  • [email protected]
    • feat 升级 field 至 ^3.0.0
  • [email protected]
    • feat 升级 field 至 ^3.0.0
  • [email protected]
    • feat 新增组件
    • feat 升级 field 至 ^3.0.0
  • [email protected]
    • feat 升级 field 至 ^3.0.0
    • feat 已支持 year, month, day(面板形式), dayWithSlot(拨盘形式), dayWithHalf, dayWithTime
    • fix value 未定义时报错
  • [email protected]
    • feat 年月及年月区间不再支持,增加说明
    • fix 入值 value 未支持 { value: xxx } 格式,导致无法渲染正确的 day
  • [email protected]
    • fix 文件名PhotoFieldUploadItem 写成了PhotoFIeldUploadItem
    • fix 上次发布未build
  • [email protected]
    • feat salt-svg-loader 有调整,外层包了一层div,把 position: relative 包在内部
    • feat 使用新的 salt-svg-loader 处理icon,涉及改动点如下:
      • 1、remove svg4everybody
      • 2、style inline 化,不依赖外部样式
      • 3、最外层容器由 span 更换为 div
  • [email protected]
    • feat add new prop hideIcon
  • [email protected]
    • fix String.prototype.includes is too new to use
    • fix Object.assign is too new to use

3.0.11 / 2017-09-06

3.0.10 / 2017-09-01

  • [email protected]
    • 样式优化
  • rate-field
    • 移除不必要的 group 的使用
    • 移除无效的 showLabel
    • 组件竟然没有按照安全受限的原则来实现,所以重构了一下
  • [email protected]
    • 修复 placeholder 和 前缀的占位错位。
  • [email protected]
    • 加入动效
  • [email protected]
    • 透传 searchText
  • [email protected]
    • feat 增加国际化参数 locale
    • breaking change value:
      • 增加了object类型支持,使用timeType字段表示上/下午
      • 取消了字符串类型
    • breaking change columns 不再支持展示列自由组合,改为只支持三种情况,以DatetimeField.YMD 等常量形式给出
    • breaking change onSelect 参数改为对象,value 字段表示时间戳,timeType 字段表示上/下午

3.0.6 / 2017-08-11

  • 脚手架、打包方式完全重构,Readme 重写
  • 去除 blue.css 和 ui.js

3.0.5 / 2017-8-9

  • notice-bar
    • 新增
  • note
    • 移除
    • 请使用notice-bar替代
    • type可选值移除message,用info替换,另外还支持'success','error','warning'
    • 移除closable、closeText,换用optionsType

3.0.4 / 2017-8-6

  • 同3.0.3

3.0.3 / 2017-8-6

  • icon-source
    • 移除
  • calendar
    • 升级到新版交互,变动较大,请参考 calendar 的 HISTORY
    • 暂不支持 monthCalendar 和 yearCalerdar
  • calendar-field
    • 依赖新版的 calendar,暂不支持 monthCalendar 和 yearCalerdar
  • cascade-select-field
    • 增加了新的模式 complex
  • 其它组件小版本升级

3.0.2 / 2017-7-10

  • 发布内容与3.0.1完全相同。因为tnpm上已经存在了以前发布过的3.0.1,为了保持CDN和TNPM一致,所以再发一个版本。

3.0.1 / 2017-7-10

3.0.0 / 2017-6-29

  • 本批次组件,均涉及新版视觉规范跟进,需要配合同版本的css一起使用。
  • [email protected]
    • 基于 rc-tabs 重构
    • eslint & new scaffold
    • break scroll/showScroll
    • break pendant
    • break onChange:只有真正 change 时才触发, 删除了参数的e属性, 参数的active属性都是string类型
    • active:可以是 integer 或者是 string
    • new prop: showExpandAll: 是否显示展开所有 tab 的图标
    • new prop: defaultActive: 初始化选中面板的 key,如果 active 没有设置, 默认值是 '0'
    • new prop: onTabClick: 和老版的 onChange 逻辑一致
    • new prop: animated: 是否动画
    • new prop: swipeable: 是否可以滑动 tab 内容进行切换
    • new prop: hammerOptions: 开启 swipeable 的时候可以对 hammerjspanswipe 两种手势进行参数配置
    • new prop: tabBarPosition: tab的位置,可以是 top/bottom
    • new prop: pageSize: 可视区显示的 tab 数量,可以看做一页
    • new prop: speed: 多页模式下,TabBar 滑动的速度
    • new prop: tabBarhammerOptions: 同hammerOptions,对 TabBar 的滑动手势进行配置
  • [email protected]
    • break 完全移除 History 和 Result 面板相关的逻辑
    • 增加子组件 WithContainer
  • [email protected]
    • 支持icon以 的形式传入
    • 修改 badge 样式,引入 badge
    • 样式优化
  • scroll-list
    • 新增子组件 ScrollList.Item
  • [email protected]
    • add new type light toast
    • use rc-dialog instead of layer
    • style optimazition
  • [email protected]
    • 新增子组件 TextButton, IconButton, ButtonGroup, type = text is deprecated
    • add inline button, banner button, loading button
    • eslint & new scaffold
    • style is optimized
    • icon & text vertical align
  • totop
    • new component
    • slide
    • new style
  • collapse
    • new component
    • [email protected]
    • 增加Slot单独使用,方便常驻页面中
    • 样式优化
    • formatColumnValue 和 formatDataValue 方法不直接修改入参
    • style is optimized
  • [email protected]
    • new style
  • foldable-pane
    • new component
  • [email protected]
    • 新增 props transparentMode,指定弹窗是否为透明背景(通过增加className实现), transparentMode下不能自定义 buttons
    • 新增 props btnDir,指定弹窗的按钮方向,horizontal(水平排布),vertical(垂直排布),传递 '' 或不传的时候按照默认规则处理(2个按钮水平排布,其余都为垂直排布)
    • 使用 rc-dialog 作为底层重构
  • employee-field
    • 新增,基于钉钉api
  • [email protected]
    • 移除依赖 icon-source
    • 升级依赖 style、icon
  • [email protected] - 3.0.7
    • 可以单独使用 Icon 了
    • 新增 eye、totop、lock、eye-close
    • 对 svg 添加 line-height 0,以修复无法垂直居中的问题
    • 更新 cross-round 和 check-round
    • 更新 plus-round、minus-round、plus-circle、minus-circle
  • [email protected]
    • eslint & new scaffold
  • [email protected]
    • new style
  • table
    • new style
    • 增加配置项 可隐藏分割线 hideSplitLine
    • eslint
  • [email protected]
    • new style
  • [email protected]
    • new style
  • popover
    • new component
    • [email protected] - 0.2.2
    • new style
    • adjust icon style
    • text overflow
    • add min-width
  • [email protected]
    • new style
  • card
    • new style
  • [email protected] - 2.1.0
    • new style
    • add quick jumper
  • avatar
    • support new size normal, large
    • support icon prop
    • defaultColor is deprecated, use colors instead
    • name formation logic is changed

2.2.3 / 2017-6-12

  • scroll-list
    • 添加scrollRefresh来支持只下拉刷新不触底加载
  • infinite-scroll
    • add getRef
  • pagination
    • 修复上一页下一页禁用时仍然可以点击
  • tab-bar
    • 增加中间大tab 的高度样式自定义
  • calendar-field
    • 如果传入的 startDate 或 endDate 不存在,则不显示对应的值

2.2.2 / 2017-6-2

  • datetime-field
    • fix: 在小月的情况下选择大月 31 号取值错误的问题
    • fix: 点击取消回填值不对

2.2.1 / 2017-6-2

  • steps
    • 样式更新

2.1.7 / 2017-5-3

  • refreshcontrol
    • new component
  • infinite-scroll
    • new component

2.1.6 / 2017-4-27

  • picker-field
    • add fetchDataOnOpen prop,default value is true
  • badge
    • new component
  • card
    • new component
  • number-picker
    • new component
  • number-picker-field
    • new component
  • scroll-list
    • 添加内置数据源

2.1.5 / 2017-4-21

  • popup
    • 新增组件
  • action-sheet
    • 新增组件

2.1.4 / 2017-4-21

  • picker-field
    • bugfix
  • scroll-list
    • fix: 修正className。打salt大包后,它会覆盖scroll-view的样式

2.1.3 / 2017-4-21

  • picker-field
    • 新增组件
  • calendar-field
    • 传递 readOnly 到field
  • field
    • 支持extra:放一些额外的元素,比如徽标等

2.1.2 / 2017-4-19

  • field
    • readOnly状态下不显示tip
  • slide
    • 发布正式版
  • gallery
    • 发布正式版

2.1.1 / 2017-4-11

  • calendar
    • 在iOS上某些场景下,会导致点击“取消”不消失,在样式上进行了兼容
  • table
    • 滚动条层级太高 和其他组件一同使用会有影响
    • 同时使用两个表格数据不一样时,高度不能自适应(原来用的id来选择元素,换成refs来选择)
  • checkbox-field
    • fix: slot模式下,修正readOnly状态的颜色
  • datetime-field
    • 对tingle组件的依赖策略由~改为^
  • cascade-select-field
    • 对tingle组件的依赖策略由~改为^

2.1.0 / 2017-4-9

  • layer
    • 添加renderToBody配置项,可以选择是否把节点插入到body,默认为true。原来的逻辑是原位插入
  • mask
    • 优化:当Mask visible的时候,禁用页面滚动
  • table
    • 内容超出之后滚动不流畅,fix
    • align为center时显示位置未居中,fix
  • slot
    • 对tingle组件的依赖策略由~改为^

2.0.2 / 2017-4-7

  • cascade-select-field 更新文档
  • mask
    • 当Mask visible的时候,禁用页面滚动;否则复原
    • z-index调整为1000
  • dialog,z-index调整为1020

2.0.1 / 2017-4-5

  • 合并1.2.13

1.2.13 / 2017-3-31

  • hotfix: 加入 dedupe plugin,修复打包过大的问题

2.0.0 / 2017-3-28

  • 新增menu
  • 新增progress
  • scroll-list
    • 有一系列break change
      • 删除属性
        • 删除 iscroll 的 options 属性
        • 删除 pushLoadTip
        • 删除 cache 属性
      • 删除 API
        • 删除 clearCache 方法
      • 添加的属性
        • 增加 refreshing 属性
        • 增加 loading 属性
        • 添加 noMore 属性
      • 运行机制变动
        • 使用 scroll-view 封装实现,去除了 iscroll 的依赖
        • 底部加载的交互方式从手动上拉加载更换为触底自动加载
        • onLoad 回调分解为两个方法:onRefreshonLoad。分别对应下拉刷新和触底加载的回调。
      • 注意事项
        • 新版本的 dom 结构和 class 名称有变化,做了自定义样式的同学需要验证一下新版本的展示是否正确
        • onLoad的使用方式有变化,分解为了 onRefreshonLoad
  • table
    • feat: 边框rem(1px)在部分设备下不显示
    • feat: 当未固定时,滑动时左侧边框不显示
  • tab-bar
    • feat: 升级icon,并修改demo,不再引入icon-source
    • feat: 升级generator
    • feat: 格式化代码、删除冗余代码
    • fix: 修复中间特殊button的color
    • feat: 修改css样式替换icon

1.2.11 / 2017-3-16

  • 升级icon到2.0.0
  • 依赖icon的组件:
    • 升级icon到2.x
    • 修改demo,不再引入icon-source,不再往页面上插入svg
    • generator升级,升级generator的update任务
    • 格式化代码
    • 并做小版本升级
    • 涉及组件:
      • checkbox-field
      • datetime-field
      • field
      • list
      • nav-bar
      • note
      • photo-field
      • radio-field
      • search-bar
      • select-field
      • toast
      • table
      • tab-bar
  • 新增或增强的组件:
    • table
    • timeline
    • image-viewer
    • tab-bar
  • 由上面的修改所带来的问题的修复

1.2.10

  • 更新calendar样式

1.2.9

  • 发正式版样式

1.2.8

  • table 新增
  • timeline 新增
  • calendar-field
  • feat: 点击mask关闭
  • feat: 面板显示隐藏的逻辑,封装在组件内部

1.2.7

  • 新增calendar-field
  • calendar升级到^2.0.0,含样式上和修复及其它优化

1.2.6

1.2.3

1.2.2

  • 移除demo的Native,用户可到钉钉官网查找相关jsapi,更新更及时

1.2.1

  • 误发,忘记build了

1.2.0

  • crumb
  • 新增组件

1.1.18 / 2016.12.30

  • checkbox-field
  • 右侧 icon 没对齐修复
  • 滑动穿透修复
  • photo-field
  • placeholder样式修复
  • textarea-field
  • placeholder 文案颜色与规范不一致修复

1.1.17 / 2016.12.15

  • checkbox-field
  • 移动端多选组件交互更改,提供了一种slot的方式
  • text-field
  • 禁用态也可显示placeholder
  • tab-bar
  • 修复icon不支持相对路径的问题

1.1.16 / 2016.12.8

  • search-bar
  • zindex修复
  • tab-bar
  • zindex修复
  • list
  • 移除dependencies中的gulp-svg-symbols,它仅用于开发

1.1.15 / 2016.12.1

  • fix 1.1.14遗留的bug

1.1.14 / 2016.12.1

  • fix 1.1.13遗留的bug

1.1.13

  • 复制index.html到dist/demo/index.html,并更新页面上静态文件地址,发布到线上,用户可以访问这个demo

1.1.11

  • list
  • 数据更新后isDelete不可用,fix
  • scroll-list
  • 把数据请求的功能分离出来
  • datetime-field
  • console.waring拼写错误,fix
  • slide
  • 90毫秒的点击捕获时间太短,改成500
  • photo-field
  • Ali.alert,bugfix

1.1.10

1.1.9

1.1.8

  • cascade-select-field
    • 新增组件

1.1.7

1.1.6

  • [email protected]
  • 调整选中态图片地址的传入方式为使用属性 activeIcon
  • 支持自定义 TabBar 和 TabBarItem 样式
  • [email protected]
  • 修复clear keyword未触发 onChange 的 bug

1.1.5

1.1.4

1.1.3

1.1.2

1.1.1

1.1.0

1.0.29

1.0.28

1.0.27

1.0.26

1.0.25

1.0.24

1.0.23

1.0.22

  • [email protected]
  • list item 的 onclick 回调添加 data 参数
  • 头像 的 onclick 回调添加 data 参数
  • 添加滑动删除的回调
  • [email protected]
  • 添加必填标识(星号)

1.0.21

  • [email protected]
  • list Item 添加 onClick 回调
  • data中的内容不传就不显示(解决有人不想显示头像的问题)
  • 添加头像 onClick 回调
  • 打包修复

1.0.20

  • gallery
    • 添加 onGalleryClick 特性

1.0.19

  • 重新构建 salt-ui

1.0.18

  • list
  • 解决group边线问题
  • 解决setState后list数据不变的问题

1.0.17

  • icon
  • 文档补充
  • 添加 onClick 事件

1.0.16

  • tab bug fix to 1.0.14:
  • tab 切换方式用 show/hide 会有问, 改用只渲染当前 body
  • 导航部分右边添加自定义icon区域
  • select-field bug fix to 1.0.6
  • 点击图标不会出现选项

1.0.15

  • dialog 1.0.17 修复了在内外安卓容器无法居中的问题

1.0.13

  • copy salt.js and salt.css

1.0.12

  • 和 tnpm 包版本号保持一致

1.0.5

  • add global SaltUI

1.0.4

  • filed 1.0.12 修复了 className不在最外层的问题
  • select-field 1.0.5 fix issue #2 #3
  • icon 1.0.10 把 svg4everybody 本地化,原有的方式 webpack 打包后有问题
  • dialog 1.0.14 fix issue #3 #4 #5
  • group 1.0.7 fix issue #3