Skip to content

Latest commit

 

History

History
1726 lines (1244 loc) · 44.5 KB

CHANGELOG.md

File metadata and controls

1726 lines (1244 loc) · 44.5 KB

4.13.1 / 2022-08-17

  • feat ScrollList check scrollViewRef before call scrollViewRef.tryEmitScrollEvent

4.13.0 / 2021-12-03

  • feat EmployeeField new prop apiOptions

4.12.0 / 2021-05-08

  • feat Avatar EmployeeField support avatar click callback

4.11.0 / 2021-04-15

  • fix CalendarField support allowClear

4.10.7 / 2021-03-08

  • fix DatetimeField not pass prop minuteStep to Datetime

4.10.4 / 2021-01-07

  • fix NumberField fix cursor position bug when multiple render triggered

4.10.3 / 2020-9-7

  • fix Toast fix a bug

4.8.10 / 2019-6-27

  • fix Picker revert to 4.8.8

4.8.9 / 2019-6-27

  • fix Picker SearchPanel didUpdate fetchData should use cloneDeep

4.8.8 / 2019-6-25

  • fix Table fix style bug when cell data is null

4.8.7 / 2019-6-21

  • fix Tab fix an runtime err when Tab.Item is null

4.8.6 / 2019-6-17

  • fix Calendar fail to block history back after 4.8.0

4.8.5 / 2019-06-16

  • fix PickerField does not pass onSearch to Picker

4.8.4 / 2019-06-16

  • fix Picker filterOption does not pass searchKey
  • fix Datetime render error if minDate is set and value is undefined

4.8.3 /2019-06-13

  • new add index.styl in style/theme, add style.js in src/xxx/ for loaded on demand

4.8.0 / 2019-06-12

  • new Calendar support props.visible
  • new Picker filterOption support function type
  • fixed Calendar fix a style bug when showHalfDay is true

4.7.1 / 2019-06-06

  • fix Picker shouldShowInCategory fail to pass category param if grouping is false

4.7.0 / 2019-06-06

  • new Picker support categories

4.6.9 / 2019-05-13

  • change SwitchField change label font size to 14px for v layout
  • fix Filter change 'import react from ...' to 'import React from ...' in FilterPanel.js

4.6.8 / 2019-04-30

  • fix mixin.styl fix fix-safe-area method in some adr phone
  • fix SearchPanel fix a spell error

4.6.7 / 2019-04-29

  • fix Picker fix SearchPanel will not disappear when confirm
  • change Picker change getPageSize method
  • change NumberPickerField change label font size to 14px for v layout

4.6.6 / 2019-04-28

  • new CascadeSelectField & Slot supporting defaultChecked option

4.6.5 / 2019-04-25

  • new EmployeeField change employee label format to nick(id) / name(id)

4.6.4 / 2019-04-24

  • fix EmployeeField adapt to dd new data structure

4.6.3 / 2019-04-23

  • fix Grid fix a bug in click event

4.6.2 / 2019-04-19

  • fix TextField fix a bug in renderView prop

4.6.1 / 2019-04-18

  • fix ButtonGroup fix a bug

4.6.0 / 2019-04-16

  • new ButtonGroup add new prop fixedBottom & background suit for iphone x
  • new Field add new prop onClick
  • changed xxField change callback method onSelect or onChange bind to Field component in xxSelectField,datetimeField,pickerField,RadioField
  • new TabBar add new prop fixedBottom
  • changed Filter ImageViewer Popup suit for iphone x

4.5.2 / 2019-04-15

  • changed Button remove banner button border in button group

4.5.1 / 2019-04-09

  • new CascadeSelectField add new prop activeTab
  • new TextField add new prop renderView(as same as uxcore) for read only mode

4.4.21 / 2019-03-22

  • fix: Field fix styles
  • fix: NumberField fix the input is inconsistent with the display when fixedNum is existing

4.4.20 / 2019-03-19

  • fix: Textarea input composition breaking

4.4.19 / 2019-03-18

  • fix: Table fix header visible state when data is empty

4.4.18 / 2019-03-14

  • feat: Table check & fix for column width; changed the params order for prop renderSubComp

4.4.17 / 2019-03-07

  • fix: ScrollList fix list item arrow position

4.4.16 / 2019-03-04

  • fix: RateField fix value of layout always keep 'h'

4.4.15 / 2019-03-04

  • fix: Card fix styles
  • change: Filter add doc

4.4.14 / 2019-03-04

  • feat: ScrollList Item support onClick

4.4.12 / 2019-02-28

  • change: Badge style improvement

4.4.11 / 2019-02-28

  • change: ScrollList item style update

4.4.10 / 2019-02-25

  • change: change the default styles when the value is empty in all **Field

4.4.9 / 2019-02-22

  • new: Filter add 3 methods:setValue,getValue,clearValue
  • fix:Table fix hasSubTable function bug

4.4.8 / 2019-02-22

  • change: Button secondary button border change to 1px
  • new: Table add new prop showPager
  • fix: Filter mask offset change; customView optimize; fix picker styles

4.4.7 / 2019-02-21

  • fix: Skeleton Item cannot be rendered using lower React version

4.4.5 / 2019-02-21

  • fix: NumberInfo Item cannot be rendered using lower React version

4.4.4 / 2019-02-21

  • fix: Steps style bug when showIcon is false

4.4.3 / 2019-02-20

  • fix: Filter fix picker didn't work when out of super popup
  • fix: Filter fix arrow color style

4.4.1 / 2019-01-26

  • change: Table support custom sub table header
  • fix: Button fix banner button style

4.4.0 / 2019-01-25

  • change: Table support sub table

4.3.13 / 2019-01-23

  • fix: TextareaField not passing minRows and maxRows to Textarea

4.3.12 / 2019-01-15

  • fix: RefreshControl TypeError: null is not an object (evaluating 'el.getBoundingClientRect') when ScrollList url is wrong

4.3.11 / 2019-01-14

  • fix: Filter fix two bugs
  • change: Filter change order from select to switch, and some style optimize

4.3.10 / 2019-01-11

  • change: change method to fix field padding

4.3.9 / 2019-01-10

  • fix: fix field padding
  • change: change calendar tooltip duration to 1s

4.3.8 / 2019-01-02

  • fix: Datetime throw bug when minDate & maxDate are set between 2 years.

4.3.0 / 2018-12-29

  • new: new Components Skeleton, FormGroup, Filter, Slider, SliderField
  • feat: Card provide more layout.
  • feat: Badge new prop status and breath
  • feat: Field vertical layout style improvemnt
  • change: Picker extract browser history back hijack logic from PickerField to Picker
  • feat: ScrollList new item for person card
  • feat: Steps style improvement

4.2.2 / 2018-11-27

  • fix: RefreshControl fail to drag in demo
  • fix: missing dependency css-animation

4.2.1 / 2018-11-27

  • fix: missing dependency rc-animate

4.2.0 / 2018-11-23

  • feat: Badge new prop dotType, status, breath
  • new: new components Slider & SliderField
  • change: rename Slide as Carousel
  • fix: ImageViewer current fail to work
  • fix: Toast add prop textWrap

4.1.17 / 2018-11-01

  • feat: Dialog.confirm/alert support multiple instance
  • remove: remove Dialog.custom(useless)

4.1.16 / 2018-10-31

  • fix: Dialog content fail to scroll
  • fix: Popup cannot stop body scrolling

4.1.13 / 2018-10-23

  • feat: Datetime disabledDate support all column type
  • fix: Field v-label-left should has min-width #291

4.1.12 / 2018-10-22

  • feat: TextareaField calculate textarea height depending on both value & textarea #289
  • feat: Datetime new prop disabledTime

4.1.10 / 2018-10-22

  • feat: NumberField filter unexpected char #238
  • feat: DatetimeField new prop defaultOpenValue

4.1.9 / 2018-10-18

  • fix: NumberField input cursor position jumping when value is formatted. #288

4.1.6 / 2018-10-11

  • feat: EmployeeField replace dd.biz.contact.choose with dd.biz.contact.complexPicker
  • feat: Slot new props onDataChange to help user get latest value if data change.
  • fix: Datetime value is not correct sometimes in onConfirm when minDate & maxDate is set

4.1.5 / 2018-10-10

  • feat: PhotoField support onImagePreview when type is file

4.1.4 / 2018-09-28

  • feat: CascadeSelectField improve style

4.1.3 / 2018-09-21

  • feat: Picker support fetchMethod

4.1.1 / 2018-09-20

  • fix: Picker wrong search placeholder & notFoundContent
  • fix: CalendarField makeViewValue bug in iOS
  • fix: TextareaField rows calculation bug

4.1.0 / 2018-09-19

  • feat: PhotoField support file type

4.0.11 / 2018-09-17

  • fix: Avatar cannot reassign readonly property bug in [email protected]
  • fix: Dialog bug when Dialog.hide is called before Dialog.confirm
  • doc: update github issue template

4.0.10 / 2018-09-12

  • feat: Popup add new prop maskStyle
  • fix: ScrollList gDSFP does not update prevProps
  • fix: RefreshControl can be dragged even in refreshing
  • feat: Picker add new props onSeach & filterOption

4.0.9 / 2018-09-11

  • fix: Toast Toast.show bug if called multiple
  • fix: Calenadr Toast bug in cascade calendar

4.0.8 / 2018-09-03

  • fix: Toast fail to work in React 15.x

4.0.5 / 2018-08-29

  • fix: Dialog Dialog.alert fail to work in React 15.x

4.0.4 / 2018-08-29

  • fix Dialog show method does not pass show parameter.

4.0.3 / 2018-08-28

  • fix EmployeeField corpId is not passed when call window.dd.biz.contact.choose
  • feat EmployeeField support new prop onPick

4.0.2 / 2018-08-28

  • fix Tab TabContent cannot scroll #266

4.0.0 / 2018-08-27

  • 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+

3.11.0 / 2018-08-22

  • feat extract Picker from PickerField

3.10.7 / 2018-08-02

  • feat Slot scrolling performance improvement #237

3.10.6 / 2018-07-24

  • fix: PickerField should not show placeholder in readOnly mode

3.10.3 / 2018-07-06

  • fix: Datetime cancelText locale bug

3.10.2 / 2018-07-06

  • fix: PhotoField list upload icon fail to work if total files' length become 0

3.10.0 / 2018-07-05

  • feat: performance improvement in cWRP

3.9.16 / 2018-07-05

  • feat: DatetimeField reduce unnecessary calculation in cWRP
  • fix: Slide bug when Slide items'number change

3.9.15 / 2018-07-04

  • feat: CalendarField improve default formatter

3.9.14 / 2018-07-03

  • feat: Avatar support custom name filter
  • feat: Utils make popup content scrollable when body's scrolling is prevented.

3.9.13 / 2018-06-28

  • fix: PickerField Popup cannot be closed by go back action if window is reload when popup is shown.

3.9.12 / 2018-06-27

  • fix: DatetimeField incorrect value format caused by method addDayOfWeek bug
  • feat: SelectField PickerField show value if text is not found

3.9.11 / 2018-06-26

  • fix: PhotoField incorrect label height

3.9.10 / 2018-06-25

  • fix: missing dependencies

3.9.6 / 2018-06-20

  • feat: PickerField iphoneX compatible

3.9.5 / 2018-06-19

  • fix: CascadeSelectField make parseState without re-assigning params
  • fix: Calendar improve scroll positioning when pulling down to fetch prev months

3.9.1 / 2018-06-13

  • feat: Calendar maintain scrollTop not only in iOS

3.9.0 / 2018-06-13

  • feat: Tab support locale
  • feat: PickerField support prop resultFormatter and
  • feat: PickerField add type param for formatter method
  • fix: Collapse hairline border-width
  • fix: Tab all items' panel layout style bug

3.8.53 / 2018-06-12

  • feat: normalize z-index of Popup, Dialog, Toast and Layer

3.8.52 / 2018-06-11

  • fix: Layer up default z-index to 1010, equal to Popup

3.8.51 / 2018-06-11

  • fix: CascadeSelect did not remove dom node when unmount

3.8.47 / 2018-06-08

  • fix: Field labelRight cannot be shown if label is empty

3.8.46 / 2018-06-07

  • feat: PickerField support prop icon

3.8.45 / 2018-06-07

  • fix: Toast zIndex lower than Popup

3.8.44 / 2018-06-06

  • fix: Popup mask position bug if page is scrolled
  • fix: RadioField render bug if no item is checked

3.8.42 / 2018-06-06

  • feat: new component TagField

3.8.41 / 2018-06-05

  • fix: PickerField arrow icon is missing

3.8.40 / 2018-06-05

  • fix: Popup window will scroll to the top if Popup show
  • feat: SelectField support prop icon

3.8.39 / 2018-05-28

  • fix: ScrollList vaildate element in renderPrevSiblings

3.8.38 / 2018-05-24

  • fix: CascadeSelectField low performance parseProps

3.8.37 / 2018-05-17

  • fix: RefreshControl enable GPU acceleration in area-control to fix render bug in iOS

3.8.36 / 2018-05-17

  • fix: Calendar show slideUp calendar when native keyboard still exists will cause wrong panel height
  • feat: Dialog change locale value from zh_CN to zh-cn
  • fix: RefreshControl refresh loading will show on mount
  • fix: ScrollView missing method tryEmitScrollEvent

3.8.35 / 2018-05-16

  • fix: ActionSheet cannot be closed programmatically.

3.8.34 / 2018-05-15

  • docs: Tab activeKey should not be number
  • fix: CascadeSelectField right arrow is not shown

3.8.33 / 2018-05-11

  • docs: PickerField remove useless props
  • fix: EmployeeField compatible for old native loader

3.8.31 / 2018-05-07

  • feat: Field show error message in tip box.
  • fix: CitySelectField wrong text

3.8.30 / 2018-05-04

  • fix: CascadeSelect wrong cancel text
  • feat: Toast different default hide duration when type is different.

3.8.29 / 2018-05-03

  • 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 when noMoreDataTip is changed to true.
  • fix: ScrollList only render EmptyContentImage if noDataImage is not empty.

3.8.28 / 2018-04-28

  • performance: RefreshControl improve pull to refresh performance if in a scrollable container

3.8.25 / 2018-04-27

  • fix: SearchBar locale bug when locale is zh_CN

3.8.24 / 2018-04-27

  • fix: ScrollList noDataImage fail to work
  • fix: CheckboxField Select layer checkbox icon color does not follow theme color

3.8.23 / 2018-04-25

  • fix: ScrollView trigger tryEmitScrollEvent unexpectedly

3.8.22 / 2018-04-24

  • feat: DateTime change minDate & maxDate to 1900-01-01 & 2051-01-01

3.8.21 / 2018-04-23

  • feat: PickerField Search Result panel style change
  • feat: PickerField remove cancelText, searchText, add locale.
  • feat: Utils add getLocale method to uniform locale(zh-cn/zh_CN)
  • feat: Avatar filter unexpected characters

3.8.19 / 2018-04-19

  • fix: Refreshcontrol duplicate drag binding

3.8.18 / 2018-04-19

  • fix: Calendar slideUp popup fail to close when page is changed in single page app

3.8.16 / 2018-04-19

  • fix: Calendar selected weekend day style

3.8.15 / 2018-04-17

  • fix: EmployeeField empty tip will be rendered

3.8.14 / 2018-04-17

  • fix: TabBar fixed position render bug in iOS
  • fix: CascadeSelectField support locale

3.8.13 / 2018-04-16

  • feat: Calendar style adjustment

3.8.12 / 2018-04-12

  • feat: Slot, Calendar, CascadeSelectField header font-size adjustment.

3.8.11 / 2018-04-12

  • feat: Refreshcontrol add needsclick to the content area.

3.8.10 / 2018-04-09

  • fix: List isDelete fail to work
  • feat: Refreshcontrol performance improvement

3.8.9 / 2018-04-08

  • fix: TabBar style bug if center icon is not set

3.8.7 / 2018-04-08

  • feat: Toast change loading icon
  • fix: PickerField Panel fail to scroll

3.8.6 / 2018-04-03

  • feat: Employee add needsclick className to the active element

3.8.5 / 2018-04-03

  • fix: ImageViewer fail to stop body scrolling when it's shown
  • fix: CascadeSelectField options cannot be shown if columns is set []
  • feat: Calendar improve scroll experience in iOS

3.8.4 / 2018-04-02

  • feat: Slot disable iscroll's bounce to improve performance

3.8.3 / 2018-04-02

  • fix: PhotoField empty img will be seen in the View Larger Image mode

3.8.2 / 2018-03-30

  • feat: Button onClick will not be called if button's loading is true

3.8.1 / 2018-03-30

  • fix: ICON icon size bug

3.8.0/ 2018-03-29

  • style: orange brand color change & add new theme blue, green
  • style: new color generation formula
  • fix: TabBar ItemMore fail to pass right params to onChange

3.7.10 / 2018-03-28

  • fix: Datetime missing month suffix if disabledDate is enabled

3.7.9 / 2018-03-28

  • fix: Dialog, Popup fail to stop body scrolling when it's shown

3.7.8 / 2018-03-27

  • fix: CalendarField normalize onOk's value format.
  • fix: CalendarField android dingtalk bug if value is null

3.7.7 / 2018-03-26

  • fix: NumberField formatOnBlur bug

3.7.6 / 2018-03-25

  • fix: CalendarField replace object.assign with spread
  • fix: DateTime wrong value if column is Y
  • fix: DateTime confirm without any scrolling return wrong value if the value is disabled
  • fix: DateTime wrong initial options if minDate or maxDate is set

3.7.5 / 2018-03-23

  • fix: NavBar arrow style
  • fix: CheckboxField NavBar incorrect salt-icon import.

3.7.4 / 2018-03-22

  • feat: NumberField support inputType

3.7.3 / 2018-03-22

  • feat: NumberField support formatOnBlur

3.7.2 / 2018-03-19

  • fix: Popup did not remove dom node when unmount
  • fix: drawer/foldablePane React 15.x compatible
  • fix: PhotoField did not remove imageViewer when unmount
  • doc: ImageViewer remove api
  • change: SelectField receive layout prop
  • change: FhotoField total count in uploading and failed files.

3.7.1 / 2018-03-13

  • fix: ScrollList onFetch can be fired only in none-loading state.

3.7.0 / 2018-03-07

  • feat: RadioField support popup mode
  • fix: CascadeSelectField value is wrong if columns data is changed.

3.6.4 / 2018-02-26

  • feat: PhotoField support new prop onImagePreview

3.6.3 / 2018-02-24

  • fix: DatetimeField placeholder & value will show in the meantime.

3.6.2 / 2018-02-23

  • fix: TextField label & placeholder are misaligned.

3.6.0 / 2018-02-22

  • feat: PickerField style optimization.
  • feat: PickerField support grouping & grouping indicator
  • feat: CitySelectField refactor with CascadeSelectField & PickerField

3.5.23 / 2018-02-22

  • feat: Datetime logic optimization when handling disabledDate

3.5.22 / 2018-02-22

  • feat: Action/Popover/Popup/Drawer/CascadeSelect style optimization
  • fix: EmployeeField transToValue method not found.
  • feat: EmployeeField readOnly when not in dingtalk

3.5.21 / 2018-02-06

  • fix: PhotoField add default accept to prevent user upload wrong files to a certain extent.

3.5.20 / 2018-02-06

  • fix: Toast fail to call props.onDidHide

3.5.19 / 2018-02-01

  • fix: Datetime value processing bug when date is 31

3.5.18 / 2018-01-31

  • changed: Dialog's z-index is changed to be equal to Toast/Popup's

3.5.17 / 2018-01-31

  • fix: Gallery will slide to the item whose index is props.active if re-render

3.5.16 / 2018-01-30

  • feat TextField use multiline in readOnly mode

3.5.15 / 2018-01-30

  • feat: unmount Toast when hiden
  • feat: SearchBar will cancel another doSeacrh if keycode is enter
  • fix: Datetime slot will go to the first value if disabledDate is set
  • fix: Datetime Feb should only have 29 days at most.

3.5.14 / 2018-01-26

  • fix: Field label cannot show 6 chinese words in a line in iPhone
  • style: change vertical field-box layout

3.5.13 / 2018-01-25

  • feat: DateTimeField only support horizontal layout
  • fix: DateTimeField Icon

3.5.12 / 2018-01-24

  • feat: Some Field (Select, NumberPicker, Rate, CitySelect, Switch) which do not fit vertical layout only support horizontal layout

  • style adjust field vertical layout

3.5.10 / 2018-01-24

  • feat change readOnly text color to dark-2

3.5.9 / 2018-01-23

  • feat TextareaField hide scrollBar

3.5.8 / 2018-01-23

  • feat PhotoField support placeholder
  • feat EmployeeField hide icon in readOnly mode
  • feat EmployeeField & PhotoField only support horizontal layout

3.5.5

  • fix group wrong style
  • feat generate atom css class like t-color-brand-primary

3.5.4

  • fix: none-uniform readonly color
  • fix: none-uniform placeholder color

3.5.3

  • fix: employee field placeholder style

3.5.2

  • fix: Context Mixin error

3.5.1

  • fix: TabBar border top style

3.5.0

  • fix: Field Style improvement

3.4.6 / 2018-01-16

  • fix: Datetime output timestamp should be set 0h:0m:0s

3.4.5 / 2018-01-10

  • fix: incorrect DateTime getOptions output

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