From b801897429948e5f8c5d6c7af748a5358adc21e0 Mon Sep 17 00:00:00 2001 From: Teng-hao Chang Date: Tue, 15 Aug 2017 11:51:45 +0800 Subject: [PATCH] Improve CHANGELOG for changes --- CHANGELOG.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 425a6300..2c12f86a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,10 +10,14 @@ N/A ## [1.1.0] ### Changed -- Fix `` not supporting custom icon. -- `` now does not fire `onEditRequest` callback, leaving users to decide when to control its editing state. -- `` now simulates double-touch and then triggers `onDblClick` callback. -- When the `inEdit` prop isn't set on ``, it becomes an uncontrolled component and will auto enter edit mode on double clicks. +- API changes to ``: + * `inEdit` prop now defaults to `undefined`, which means the component is **uncontrolled**. + * When `inEdit` is set either `true` or `false`, the component is **controlled** + * ~`onEditRequest`~ prop is removed in favor of new `onDblClick` callback. Users can decide when to update the edit state. +- Behavior changes to ``: + * Custom element passed via `icon` now renders correctly under edit mode + * Double touch on mobile devices also triggers `onDblClick` callback. + * If component is **uncontrolled**, it auto enters edit mode on double clicks/touches and leaves on edit ends. ## [1.0.0] ### Added