- Transition:
- remove extra raf call on enter trasition
- dynamic compute classnames support
- Dialog: support
key
perporty inButtonOptions
- Overlay: prevent scrolling on overlays
- Dialog: support not button layout
- Minor fixes, remove a few lines of duplicated code
- PullToRefresh:
- call e.preventDefault in touchmove event when use translate, to prevent some unexpected browser behavior.
- remove transition classname when not needed
- List:
- add
List.Group
,List.Divider
component - add
isGrop
prop to enable List.Group
- add
- Minor fixes
Mostly minor fixes, and doc contribute
-
Toast:
- add
mask
prop, whether to show a transparent mask to prevent touch event of the whole page. - add
onOpen
onClose
hook. Toast.text
:- add
onClose
mask
onClick
param. - now
duration
can be0
, which means you need close it by hand.
- add
- add new method
Toast.hide
to close opened toast
- add
-
Picker:
Picker.openModal
rename toPicker.modal
Picker.open
Picker.modal
now return actions to close or update it.Picker.close
is removed.
-
Panel:
Panel.update
is removed.
-
Loading:
- add new method
Loading.create
, create individual loading indicator closed by returned actions
- add new method
-
Dialog:
- dialog methods now return actions to let you close it outside.
Dialog.setDefault
rename toDialog.config
- Add new component
Panel
. - More specific doc in typing files
- Update
Picker
component.- add
onOpen
andonClose
hooks - update
Picker.Toolbar
component - update picker method options
- add
- Update
Transiton
component:- update animation hooks, now only
onEntered
is provided, other hooks replced by in child's lifecycle.
- update animation hooks, now only