feat
ScrollList
check scrollViewRef before call scrollViewRef.tryEmitScrollEvent
feat
EmployeeField
new propapiOptions
feat
Avatar
EmployeeField
support avatar click callback
fix
CalendarField
support allowClear
fix
DatetimeField
not pass propminuteStep
toDatetime
fix
NumberField
fix cursor position bug when multiple render triggered
fix
Toast
fix a bug
fix
Picker
revert to 4.8.8
fix
Picker
SearchPanel didUpdate fetchData should use cloneDeep
fix
Table
fix style bug when cell data is null
fix
Tab
fix an runtime err when Tab.Item is null
fix
Calendar
fail to block history back after 4.8.0
fix
PickerField
does not pass onSearch to Picker
fix
Picker
filterOption does not pass searchKeyfix
Datetime
render error if minDate is set and value is undefined
new
add index.styl in style/theme, add style.js in src/xxx/ for loaded on demand
new
Calendar
support props.visiblenew
Picker
filterOption support function typefixed
Calendar
fix a style bug whenshowHalfDay
is true
fix
Picker
shouldShowInCategory fail to pass category param if grouping is false
new
Picker
support categories
change
SwitchField
change label font size to 14px for v layoutfix
Filter
change 'import react from ...' to 'import React from ...' in FilterPanel.js
fix
mixin.styl
fix fix-safe-area method in some adr phonefix
SearchPanel
fix a spell error
fix
Picker
fix SearchPanel will not disappear when confirmchange
Picker
change getPageSize methodchange
NumberPickerField
change label font size to 14px for v layout
new
CascadeSelectField & Slot
supporting defaultChecked option
new
EmployeeField
change employee label format to nick(id) / name(id)
fix
EmployeeField
adapt to dd new data structure
fix
Grid
fix a bug in click event
fix
TextField
fix a bug in renderView prop
fix
ButtonGroup
fix a bug
new
ButtonGroup
add new prop fixedBottom & background suit for iphone xnew
Field
add new prop onClickchanged
xxField
change callback method onSelect or onChange bind to Field component in xxSelectField,datetimeField,pickerField,RadioFieldnew
TabBar
add new prop fixedBottomchanged
Filter
ImageViewer
Popup
suit for iphone x
changed
Button
remove banner button border in button group
new
CascadeSelectField
add new prop activeTabnew
TextField
add new prop renderView(as same as uxcore) for read only mode
fix
:Field
fix stylesfix
:NumberField
fix the input is inconsistent with the display when fixedNum is existing
fix
:Textarea
input composition breaking
fix
:Table
fix header visible state when data is empty
feat
:Table
check & fix for column width; changed the params order for proprenderSubComp
fix
:ScrollList
fix list item arrow position
fix
:RateField
fix value of layout always keep 'h'
fix
:Card
fix styleschange
:Filter
add doc
feat
:ScrollList
Item support onClick
change
:Badge
style improvement
change
:ScrollList
item style update
change
: change the default styles when the value is empty in all **Field
new
:Filter
add 3 methods:setValue,getValue,clearValuefix
:Table
fix hasSubTable function bug
change
:Button
secondary button border change to 1pxnew
:Table
add new prop showPagerfix
:Filter
mask offset change; customView optimize; fix picker styles
fix
:Skeleton
Item cannot be rendered using lower React version
fix
:NumberInfo
Item cannot be rendered using lower React version
fix
:Steps
style bug when showIcon is false
fix
:Filter
fix picker didn't work when out of super popupfix
:Filter
fix arrow color style
change
:Table
support custom sub table headerfix
:Button
fix banner button style
change
: Table support sub table
fix
:TextareaField
not passing minRows and maxRows toTextarea
fix
:RefreshControl
TypeError: null is not an object (evaluating 'el.getBoundingClientRect') when ScrollList url is wrong
fix
:Filter
fix two bugschange
:Filter
change order from select to switch, and some style optimize
change
: change method to fix field padding
fix
: fix field paddingchange
: change calendar tooltip duration to 1s
fix
:Datetime
throw bug when minDate & maxDate are set between 2 years.
new
: new ComponentsSkeleton
,FormGroup
,Filter
,Slider
,SliderField
feat
:Card
provide more layout.feat
:Badge
new propstatus
andbreath
feat
:Field
vertical layout style improvemntchange
:Picker
extract browser history back hijack logic from PickerField to Pickerfeat
:ScrollList
new item for person cardfeat
:Steps
style improvement
fix
:RefreshControl
fail to drag in demofix
: missing dependencycss-animation
fix
: missing dependencyrc-animate
feat
: Badge new propdotType
,status
,breath
new
: new componentsSlider
&SliderField
change
: renameSlide
asCarousel
fix
: ImageViewer current fail to workfix
: Toast add prop textWrap
feat
: Dialog.confirm/alert support multiple instanceremove
: remove Dialog.custom(useless)
fix
: Dialog content fail to scrollfix
: Popup cannot stop body scrolling
feat
:Datetime
disabledDate
support all column typefix
:Field
v-label-left should has min-width #291
feat
:TextareaField
calculate textarea height depending on both value & textarea #289feat
:Datetime
new propdisabledTime
feat
:NumberField
filter unexpected char #238feat
:DatetimeField
new propdefaultOpenValue
fix
:NumberField
input cursor position jumping when value is formatted. #288
feat
:EmployeeField
replacedd.biz.contact.choose
withdd.biz.contact.complexPicker
feat
:Slot
new propsonDataChange
to help user get latest value if data change.fix
:Datetime
value is not correct sometimes inonConfirm
whenminDate
&maxDate
is set
feat
:PhotoField
support onImagePreview when type is file
feat
:CascadeSelectField
improve style
feat
:Picker
supportfetchMethod
fix
:Picker
wrong search placeholder & notFoundContentfix
:CalendarField
makeViewValue bug in iOSfix
:TextareaField
rows calculation bug
feat
:PhotoField
support file type
fix
:Avatar
cannot reassign readonly property bug in [email protected]fix
:Dialog
bug whenDialog.hide
is called beforeDialog.confirm
doc
: update github issue template
feat
:Popup
add new propmaskStyle
fix
:ScrollList
gDSFP does not update prevPropsfix
:RefreshControl
can be dragged even in refreshingfeat
:Picker
add new propsonSeach
&filterOption
fix
:Toast
Toast.show bug if called multiplefix
:Calenadr
Toast bug in cascade calendar
fix
:Toast
fail to work in React 15.x
fix
:Dialog
Dialog.alert
fail to work in React 15.x
fix
Dialog
show
method does not pass show parameter.
fix
EmployeeField
corpId is not passed when callwindow.dd.biz.contact.choose
feat
EmployeeField
support new proponPick
fix
Tab
TabContent cannot scroll #266
BREAKING CHANGED
replace lifeCycle method to fit React 16, React compatible version up to 0.14.9, update your project React version to 0.14.9+
feat
extractPicker
fromPickerField
feat
Slot
scrolling performance improvement #237
fix
:PickerField
should not show placeholder in readOnly mode
fix
:Datetime
cancelText locale bug
fix
:PhotoField
list upload icon fail to work if total files' length become 0
feat
: performance improvement incWRP
feat
:DatetimeField
reduce unnecessary calculation incWRP
fix
:Slide
bug when Slide items'number change
feat
:CalendarField
improve default formatter
feat
:Avatar
support custom name filterfeat
:Utils
make popup content scrollable when body's scrolling is prevented.
fix
:PickerField
Popup cannot be closed by go back action if window is reload when popup is shown.
fix
:DatetimeField
incorrect value format caused by methodaddDayOfWeek
bugfeat
:SelectField
PickerField
show value if text is not found
fix
:PhotoField
incorrect label height
fix
: missing dependencies
feat
:PickerField
iphoneX compatible
fix
:CascadeSelectField
makeparseState
without re-assigning paramsfix
:Calendar
improve scroll positioning when pulling down to fetch prev months
feat
:Calendar
maintain scrollTop not only in iOS
feat
:Tab
support localefeat
:PickerField
support propresultFormatter
andfeat
:PickerField
addtype
param for formatter methodfix
:Collapse
hairline border-widthfix
:Tab
all items' panel layout style bug
feat
: normalize z-index ofPopup
,Dialog
,Toast
andLayer
fix
:Layer
up default z-index to1010
, equal toPopup
fix
:CascadeSelect
did not remove dom node when unmount
fix
:Field
labelRight cannot be shown if label is empty
feat
:PickerField
support propicon
fix
:Toast
zIndex lower than Popup
fix
:Popup
mask position bug if page is scrolledfix
:RadioField
render bug if no item is checked
feat
: new componentTagField
fix
:PickerField
arrow icon is missing
fix
:Popup
window will scroll to the top if Popup showfeat
:SelectField
support propicon
fix
:ScrollList
vaildate element inrenderPrevSiblings
fix
:CascadeSelectField
low performance parseProps
fix
:RefreshControl
enable GPU acceleration in area-control to fix render bug in iOS
fix
:Calendar
show slideUp calendar when native keyboard still exists will cause wrong panel heightfeat
:Dialog
change locale value from zh_CN to zh-cnfix
:RefreshControl
refresh loading will show on mountfix
:ScrollView
missing methodtryEmitScrollEvent
fix
:ActionSheet
cannot be closed programmatically.
docs
:Tab
activeKey should not be numberfix
:CascadeSelectField
right arrow is not shown
docs
:PickerField
remove useless propsfix
:EmployeeField
compatible for old native loader
feat
:Field
show error message in tip box.fix
:CitySelectField
wrong text
fix
:CascadeSelect
wrong cancel textfeat
:Toast
different default hide duration when type is different.
style
:PhotoField
EmployeeField
render action & placeholder into label right container.feat
:Field
hide field-box in vertical layout if there's no need to show.feat
:EmployeeField
support Alinw app container (using enableNW)fix
:ScrollList
flickering whennoMoreDataTip
is changed to true.fix
:ScrollList
only render EmptyContentImage if noDataImage is not empty.
performance
:RefreshControl
improve pull to refresh performance if in a scrollable container
fix
:SearchBar
locale bug when locale is zh_CN
fix
:ScrollList
noDataImage
fail to workfix
:CheckboxField
Select layer checkbox icon color does not follow theme color
fix
:ScrollView
trigger tryEmitScrollEvent unexpectedly
feat
:DateTime
change minDate & maxDate to1900-01-01
&2051-01-01
feat
:PickerField
Search Result panel style changefeat
:PickerField
removecancelText
,searchText
, addlocale
.feat
:Utils
addgetLocale
method to uniform locale(zh-cn/zh_CN)feat
:Avatar
filter unexpected characters
fix
:Refreshcontrol
duplicate drag binding
fix
:Calendar
slideUp popup fail to close when page is changed in single page app
fix
:Calendar
selected weekend day style
fix
:EmployeeField
empty tip will be rendered
fix
:TabBar
fixed position render bug in iOSfix
:CascadeSelectField
supportlocale
feat
:Calendar
style adjustment
feat
:Slot
,Calendar
,CascadeSelectField
header font-size adjustment.
feat
:Refreshcontrol
addneedsclick
to the content area.
fix
:List
isDelete fail to workfeat
:Refreshcontrol
performance improvement
fix
: TabBar style bug if center icon is not set
feat
:Toast
change loading iconfix
:PickerField
Panel fail to scroll
feat
:Employee
addneedsclick
className to the active element
fix
:ImageViewer
fail to stop body scrolling when it's shownfix
:CascadeSelectField
options cannot be shown if columns is set[]
feat
:Calendar
improve scroll experience in iOS
feat
:Slot
disable iscroll's bounce to improve performance
fix
:PhotoField
empty img will be seen in theView Larger Image
mode
feat
:Button
onClick will not be called if button's loading is true
fix
:ICON
icon size bug
style
: orange brand color change & add new theme blue, greenstyle
: new color generation formulafix
:TabBar
ItemMore fail to pass right params to onChange
fix
:Datetime
missing month suffix if disabledDate is enabled
fix
:Dialog
,Popup
fail to stop body scrolling when it's shown
fix
:CalendarField
normalize onOk's value format.fix
:CalendarField
android dingtalk bug if value is null
fix
:NumberField
formatOnBlur bug
fix
:CalendarField
replaceobject.assign
withspread
fix
:DateTime
wrong value if column isY
fix
:DateTime
confirm without any scrolling return wrong value if the value is disabledfix
:DateTime
wrong initial options if minDate or maxDate is set
fix
:NavBar
arrow stylefix
:CheckboxField
NavBar
incorrect salt-icon import.
feat
:NumberField
supportinputType
feat
:NumberField
supportformatOnBlur
fix
: Popup did not remove dom node when unmountfix
: drawer/foldablePane React 15.x compatiblefix
: PhotoField did not remove imageViewer when unmountdoc
: ImageViewer remove apichange
: SelectField receive layout propchange
:FhotoField
total count in uploading and failed files.
fix
: ScrollList onFetch can be fired only in none-loading state.
feat
: RadioField supportpopup
modefix
: CascadeSelectField value is wrong if columns data is changed.
feat
: PhotoField support new proponImagePreview
fix
: DatetimeField placeholder & value will show in the meantime.
fix
: TextField label & placeholder are misaligned.
feat
: PickerField style optimization.feat
: PickerField support grouping & grouping indicatorfeat
: CitySelectField refactor with CascadeSelectField & PickerField
feat
: Datetime logic optimization when handling disabledDate
feat
: Action/Popover/Popup/Drawer/CascadeSelect style optimizationfix
: EmployeeFieldtransToValue
method not found.feat
: EmployeeField readOnly when not in dingtalk
fix
: PhotoField add default accept to prevent user upload wrong files to a certain extent.
fix
: Toast fail to callprops.onDidHide
fix
: Datetime value processing bug when date is 31
changed
: Dialog's z-index is changed to be equal to Toast/Popup's
fix
: Gallery will slide to the item whose index isprops.active
if re-render
feat
TextField use multiline in readOnly mode
feat
: unmount Toast when hidenfeat
: SearchBar will cancel anotherdoSeacrh
if keycode is enterfix
: Datetime slot will go to the first value if disabledDate is setfix
: Datetime Feb should only have 29 days at most.
fix
: Field label cannot show 6 chinese words in a line in iPhonestyle
: change vertical field-box layout
feat
: DateTimeField only support horizontal layoutfix
: DateTimeField Icon
-
feat
: Some Field (Select, NumberPicker, Rate, CitySelect, Switch) which do not fit vertical layout only support horizontal layout -
style
adjust field vertical layout
feat
change readOnly text color todark-2
feat
TextareaField hide scrollBar
feat
PhotoField support placeholderfeat
EmployeeField hide icon in readOnly modefeat
EmployeeField & PhotoField only support horizontal layout
fix
group wrong stylefeat
generate atom css class liket-color-brand-primary
fix
: none-uniform readonly colorfix
: none-uniform placeholder color
fix
: employee field placeholder style
fix
: Context Mixin error
fix
: TabBar border top style
fix
: Field Style improvement
fix
: Datetime output timestamp should be set0h:0m:0s
fix
: incorrect DateTime getOptions output
fix
: DateTimeField display value bug
fix
: PhotoFieldItem filename
fix
: DateTime duplicate value calculationfeat
: React 15.x compatible
fix
: missing Datetime method
feat
: Datetime support propdisabledDate
feat
React 15.x compatible for ActionSheet, Button, Avatar, Badge, Boxs, Calendar, Groupfix
: SelectField value is not handled correctly incomponentWillReceiveProps
change
: all commonjs module are transformed to es6 modulefix
: RadioField check icon style
fix
: vendor prefix typo in Badge
fix
: SearchBar can doSearch when value is empty string.
fix
: Slot lastChoose fail to be updated after props.value change.
fix
: Slot.formatDataValue fail to return formatted value
feat
: TabBar iphoneX compatiblefeat
: Tab force browser repaint when component mount
feat
: Crumb support new propseparator
fix
: scrolling to the window's end when toast is shown.
fix
: scrolling to the window's end when popup is shown.
fix
: SelectField Icon missingfeat
: SearchBar supportexitAfterEnter
doc
: remove tingle keyword from docs
fix
: cancel button style bug if locale is en_US
feat
: remove input change trim
fix
: CheckboxField icon style
fix
: queueCapacity logic error
fix
: remove searchBar low performance animation.
fix
: searchBar active animation in iphone
fix
: typo in PhotoField
fix
: CitySelectField readOnly fails to workfix
:SrollList
only load one page after refreshrefactor
: rename InfiniteScroll's getRef to getDOMNode
fix
: umd build webpack wrong externalschange
: git igonre build folder &dev/index.jsx
fix
: searchbar placeholder style bug when search is active.fix
: PhotoField readOnly fails to work
fix
: CascadeSelect bug caused by duplicated defaultProps declaration.
doc
: remove useless linkrefactor
: eslint source code (20%)
fix
:Slot
onConfirm pass wrong value
fix
:CascadeSelect
options can not be scrolled
fix
:Tab
showAll panel item align bugfix
:CascadeSelect
tab type change bug (#27)fix
:CascadeSelect
incorrect placeholder colorfix
:CascadeSelect
normal mode cannot select the first Option ifprops.value
is not set
feat
: TabBar: isUrl can pass base64 dataUrl.fix
: Tab underline bar style
fix
refactor Toast.hide logic, fix the weird leaving animation.
fix
the first option can not be selected if user confirm without rolling the slot and value is null/undefined
fix
NoticeBar wrong icon when type is warning.feat
export H5 PhotoField usingPhotoField.H5
feat
统一了所有组件对于icon
的依赖。- [email protected]
breaking
: propiconName
被icon
代替,icon 的类型是一个 React Element,可以是 Icon 组件的实例或者通过 salt-svg-loader 引入的 Icon。
style
增加了新的主题net-blue
- [email protected]
fix
: 移除 placeholder 的 text-align: right
- [email protected]
- 升级 icon 到 3.0.0,及其它依赖整理、升级
feat
支持 readOnly
- [email protected]
- 升级依赖的 rate 的版本
- [email protected]
- update icon to ^3.0.0
- [email protected]
break
: columns 格式废弃 DHM,改用更直观的 YMDWHMfeat
: columns 格式增加了 YMDHM
- [email protected]
break
: 由于 datetime 升级,也相应作了调整
- [email protected]
- 升级 datetime 依赖版本
- [email protected]
fix
: 移除特殊 item 容器上的 background-color
- [email protected]
feat
: updateicon
to^3.0.0
- 多个表单组件升级,涉及内容是:field 升级到
^3.0.0
,并对其它 dependencies 进行升级、整理 - [email protected]
- salt-svg-loader 有调整,移除掉 svg 中的 class 属性
- [email protected]
fix
TabBarItem 不传 badge 就不渲染,导致 item 为空白
- [email protected]
- 整理、升级依赖
- [email protected]
- 升级依赖、整理项目
- [email protected]
- 升级依赖、整理项目
- 依赖
box
改为boxs
- [email protected]
- 整理依赖、整理项目
- [email protected]
feat
: 升级avatar
至^2.0.0
feat
: 整理项目,删除无用的 svg
- [email protected]
feat
: 整理项目,删除无用的 svg
- [email protected]
- 修改依赖策略
- [email protected]
- 新增组件
- [email protected]
- 提取 datetime,单独发包,在该组件中引用
- [email protected]
feat
修改 label 显示方式feat
支持新的 prop errMsgfeat
增加新的静态方法 Field.getFieldPropsfix
tip 只有一行时间距不对fix
无论是否传 icon 都会有 icon 的占位
- [email protected]
feat
升级 field 至 ^3.0.0fix
修改 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.0feat
已支持 year, month, day(面板形式), dayWithSlot(拨盘形式), dayWithHalf, dayWithTimefix
value 未定义时报错
- [email protected]
feat
年月及年月区间不再支持,增加说明fix
入值 value 未支持 { value: xxx } 格式,导致无法渲染正确的 day
- [email protected]
fix
文件名PhotoFieldUploadItem 写成了PhotoFIeldUploadItemfix
上次发布未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 usefix
Object.assign is too new to use
- [email protected]
fix
Object.assign is too new to use
- [email protected]
fix
非闰年2月出现29-31feat
代码es6化
- [email protected]
feat
将 Mask 渲染到 body
- [email protected]
feat
children can be null or undefinedfeat
support React Component Usage like
- [email protected]
feat
使用新的 Popup 用法
- [email protected]
feat
change default transition ease
- [email protected]
fix
border-color of header-dot of actived Item
- [email protected]
feat
: 使用新的 salt-svg-loader 处理icon,涉及改动点如下:- remove svg4everybody
- style inline 化,不依赖外部样式
- 最外层容器由 span 更换为 div
- [email protected]
fix
style bug
- [email protected]
fix
: 样式写法,数字后面未加px
- [email protected]
fix
style bug
- [email protected]
fix
stylefix
demo errorfeat
es6
- [email protected]
- 样式优化
- rate-field
- 移除不必要的 group 的使用
- 移除无效的 showLabel
- 组件竟然没有按照安全受限的原则来实现,所以重构了一下
- [email protected]
- 修复 placeholder 和 前缀的占位错位。
- [email protected]
- 加入动效
- [email protected]
- 透传 searchText
- [email protected]
feat
增加国际化参数 localebreaking change
value:- 增加了object类型支持,使用timeType字段表示上/下午
- 取消了字符串类型
breaking change
columns 不再支持展示列自由组合,改为只支持三种情况,以DatetimeField.YMD 等常量形式给出breaking change
onSelect 参数改为对象,value 字段表示时间戳,timeType 字段表示上/下午
- 脚手架、打包方式完全重构,Readme 重写
- 去除 blue.css 和 ui.js
- notice-bar
- 新增
- note
- 移除
- 请使用notice-bar替代
- type可选值移除message,用info替换,另外还支持'success','error','warning'
- 移除closable、closeText,换用optionsType
- 同3.0.3
- icon-source
- 移除
- calendar
- 升级到新版交互,变动较大,请参考 calendar 的 HISTORY
- 暂不支持 monthCalendar 和 yearCalerdar
- calendar-field
- 依赖新版的 calendar,暂不支持 monthCalendar 和 yearCalerdar
- cascade-select-field
- 增加了新的模式 complex
- 其它组件小版本升级
- 发布内容与3.0.1完全相同。因为tnpm上已经存在了以前发布过的3.0.1,为了保持CDN和TNPM一致,所以再发一个版本。
- [email protected]
- 样式更新至最新规范
- 支持 H5 上传
- onChange 增加第二个参数,简化使用流程
- [email protected]
- 增加前缀、后缀、计数器、清除按钮
- 样式优化
- [email protected]
- 增加计数器
- 样式优化
- 其它优化点
- 本批次组件,均涉及新版视觉规范跟进,需要配合同版本的css一起使用。
- [email protected]
- 基于 rc-tabs 重构
- eslint & new scaffold
break
scroll/showScrollbreak
pendantbreak
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
的时候可以对 hammerjs 的 pan 和 swipe 两种手势进行参数配置 - 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
- add new type
- [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 作为底层重构
- 新增 props
- 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, usecolors
instead- name formation logic is changed
- support new size
- scroll-list
- 添加scrollRefresh来支持只下拉刷新不触底加载
- infinite-scroll
- add getRef
- pagination
- 修复上一页下一页禁用时仍然可以点击
- tab-bar
- 增加中间大tab 的高度样式自定义
- calendar-field
- 如果传入的 startDate 或 endDate 不存在,则不显示对应的值
- datetime-field
- fix: 在小月的情况下选择大月 31 号取值错误的问题
- fix: 点击取消回填值不对
- steps
- 样式更新
- refreshcontrol
- new component
- infinite-scroll
- new component
- picker-field
- add fetchDataOnOpen prop,default value is
true
- add fetchDataOnOpen prop,default value is
- badge
- new component
- card
- new component
- number-picker
- new component
- number-picker-field
- new component
- scroll-list
- 添加内置数据源
- popup
- 新增组件
- action-sheet
- 新增组件
- picker-field
- bugfix
- scroll-list
- fix: 修正className。打salt大包后,它会覆盖scroll-view的样式
- picker-field
- 新增组件
- calendar-field
- 传递 readOnly 到field
- field
- 支持extra:放一些额外的元素,比如徽标等
- field
- readOnly状态下不显示tip
- slide
- 发布正式版
- gallery
- 发布正式版
- calendar
- 在iOS上某些场景下,会导致点击“取消”不消失,在样式上进行了兼容
- table
- 滚动条层级太高 和其他组件一同使用会有影响
- 同时使用两个表格数据不一样时,高度不能自适应(原来用的id来选择元素,换成refs来选择)
- checkbox-field
- fix: slot模式下,修正readOnly状态的颜色
- datetime-field
- 对tingle组件的依赖策略由
~
改为^
- 对tingle组件的依赖策略由
- cascade-select-field
- 对tingle组件的依赖策略由
~
改为^
- 对tingle组件的依赖策略由
- layer
- 添加
renderToBody
配置项,可以选择是否把节点插入到body,默认为true。原来的逻辑是原位插入
- 添加
- mask
- 优化:当Mask visible的时候,禁用页面滚动
- table
- 内容超出之后滚动不流畅,fix
- align为center时显示位置未居中,fix
- slot
- 对tingle组件的依赖策略由
~
改为^
- 对tingle组件的依赖策略由
- cascade-select-field 更新文档
- mask
- 当Mask visible的时候,禁用页面滚动;否则复原
- z-index调整为1000
- dialog,z-index调整为1020
- 合并1.2.13
- hotfix: 加入 dedupe plugin,修复打包过大的问题
- 新增menu
- 新增progress
- scroll-list
- 有一系列
break change
- 删除属性
- 删除 iscroll 的
options
属性 - 删除
pushLoadTip
- 删除
cache
属性
- 删除 iscroll 的
- 删除 API
- 删除
clearCache
方法
- 删除
- 添加的属性
- 增加
refreshing
属性 - 增加
loading
属性 - 添加
noMore
属性
- 增加
- 运行机制变动
- 使用
scroll-view
封装实现,去除了iscroll
的依赖 - 底部加载的交互方式从手动上拉加载更换为触底自动加载
onLoad
回调分解为两个方法:onRefresh
和onLoad
。分别对应下拉刷新和触底加载的回调。
- 使用
- 注意事项
- 新版本的 dom 结构和 class 名称有变化,做了自定义样式的同学需要验证一下新版本的展示是否正确
- onLoad的使用方式有变化,分解为了
onRefresh
和onLoad
- 删除属性
- 有一系列
- table
- feat: 边框rem(1px)在部分设备下不显示
- feat: 当未固定时,滑动时左侧边框不显示
- tab-bar
- feat: 升级icon,并修改demo,不再引入icon-source
- feat: 升级generator
- feat: 格式化代码、删除冗余代码
- fix: 修复中间特殊button的color
- feat: 修改css样式替换icon
- 升级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
- 由上面的修改所带来的问题的修复
- 更新calendar样式
- 发正式版样式
- table 新增
- timeline 新增
- calendar-field
- feat: 点击mask关闭
- feat: 面板显示隐藏的逻辑,封装在组件内部
- 新增calendar-field
- calendar升级到^2.0.0,含样式上和修复及其它优化
- with [email protected]
- [email protected]
- fix: 移动端无法选中选项
- fix: 样式修复
- 移除demo的Native,用户可到钉钉官网查找相关jsapi,更新更及时
- 误发,忘记build了
- crumb
- 新增组件
- checkbox-field
- 右侧 icon 没对齐修复
- 滑动穿透修复
- photo-field
- placeholder样式修复
- textarea-field
- placeholder 文案颜色与规范不一致修复
- checkbox-field
- 移动端多选组件交互更改,提供了一种slot的方式
- text-field
- 禁用态也可显示placeholder
- tab-bar
- 修复icon不支持相对路径的问题
- search-bar
- zindex修复
- tab-bar
- zindex修复
- list
- 移除dependencies中的gulp-svg-symbols,它仅用于开发
- fix 1.1.14遗留的bug
- fix 1.1.13遗留的bug
- 复制index.html到dist/demo/index.html,并更新页面上静态文件地址,发布到线上,用户可以访问这个demo
- list
- 数据更新后isDelete不可用,fix
- scroll-list
- 把数据请求的功能分离出来
- datetime-field
- console.waring拼写错误,fix
- slide
- 90毫秒的点击捕获时间太短,改成500
- photo-field
- Ali.alert,bugfix
- [email protected]
- 增加react依赖,支持node端渲染
- [email protected]
- feat: add required tag
- [email protected]
- 增加react依赖,支持node端渲染
- [email protected]
- 增加react依赖,支持node端渲染
- [email protected]
- feat: add field-required
- [email protected]
- 增加react依赖,支持node端渲染
- [email protected]
- feat: add required tag
- [email protected]
- [email protected]
- fix issue #4
- [email protected]
- feat: change loading
- [email protected]
- bugfix
- cascade-select-field
- 新增组件
- [email protected]
- 修复国际化 bug
- [email protected]
- 增加 toast 图标
- [email protected]
- remove border-bottom in the brick mode
- [email protected]
- 调整选中态图片地址的传入方式为使用属性 activeIcon
- 支持自定义 TabBar 和 TabBarItem 样式
- [email protected]
- 修复clear keyword未触发 onChange 的 bug
- [email protected]
- fix: touch scroll
- [email protected]
- 支持国际化
- [email protected]
- 代码优化
- [email protected]
- bugfix
- [email protected]
- Bugfix/reset position
- [email protected]
- fix: reset overflow after unmount
- [email protected]
- display none
- [email protected]
- fix default background image
- fix rchild
- [email protected]
- fix title propType to
node
- style: formatting
- [email protected]
- gulpfile add plugin
add-module-exports
- [email protected]
- fix rchild is undefined
- [email protected]
- onClick 传入 event 参数
- 版本号标准化
- [email protected]
- 改为默认不显示 mask
- [email protected]
- 修复文字很长时,右侧没留空白
- [email protected]
- use nextProps param to do fetch action
- [email protected]
- label判断修改
- [email protected]
- label判断修改
- [email protected]
- 文档订正
- [email protected]
- 文档订正
- [email protected]
- 新增组件
- [email protected]
- 新增组件
- [email protected]
- 重构
- 样式修改
- [email protected]
- mask 支持隐藏
- [email protected]
- 修复 mask 隐藏
- [email protected]
- 修复滑动到末页的时候会将所有数据清空
- 修复在 scroll 里的元素在 Android 里无法点击
- [email protected]
- 添加 label
- [email protected]
- 添加 label
- [email protected]
- 新增组件
- 新增 calendar demo
- [email protected]
- demo 修改
- [email protected]
- 样式修改
- [email protected]
- 支持服务端调用(增加 react 依赖)
- 增加表头显示功能
- [email protected]
- 支持服务端调用(增加 react 依赖)
- [email protected]
- 增加 tab 滚动定位
- [email protected]
- 添加 onEnter 和 onExit
- [email protected]
- 新增
- [email protected]
- 添加切换销毁属性
destroyInactiveTabPane
- [email protected]
- 修复 constructor 里使用了
this.prpps
- [email protected]
- 修复只有一个元素时无法触发
onSlideClick
事件的错误
- 修复只有一个元素时无法触发
- [email protected]
- list item 的 onclick 回调添加 data 参数
- 头像 的 onclick 回调添加 data 参数
- 添加滑动删除的回调
- [email protected]
- 添加必填标识(星号)
- [email protected]
- list Item 添加 onClick 回调
- data中的内容不传就不显示(解决有人不想显示头像的问题)
- 添加头像 onClick 回调
- 打包修复
- gallery
- 添加
onGalleryClick
特性
- 添加
- 重新构建 salt-ui
- list
- 解决group边线问题
- 解决setState后list数据不变的问题
- icon
- 文档补充
- 添加 onClick 事件
- tab bug fix to 1.0.14:
- tab 切换方式用 show/hide 会有问, 改用只渲染当前 body
- 导航部分右边添加自定义icon区域
- select-field bug fix to 1.0.6
- 点击图标不会出现选项
- dialog 1.0.17 修复了在内外安卓容器无法居中的问题
- copy salt.js and salt.css
- 和 tnpm 包版本号保持一致
- add global SaltUI
- 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