v1.0.0
1.0.0 (2020-07-02)
Bug Fixes
- auto-complete: fix the height of custom options (b179fb6)
- specify public access explicitly, trigger release (625413a)
- auto-complete: keep focus of input after select event (7fe7f3d)
- auto-complete: update default options (45ec6e9)
- avatar: Fix HTML Attributes (dda6853)
- avatar: fix union types for different elements (f0ea95d)
- avatar: render specified width when size is number (e1aad98)
- backdrop: fix click events from content to close modal unexpectedly (9aab50b)
- badge: fix the foregroud color is covered in dark mode (6bd7a0e)
- baseline: fix default font-size for element small (54bbd62)
- baseline: fix section styles (80d169f)
- baseline: remove bullet of summary (eb41b01)
- button: fix error where native type is overridden (d4d717e)
- button: fix line-height error when children contains other components (b7f767e)
- button: fix loading is not display under auto width (2430d21)
- button-dropdown: fix button text vertical alignment on firefox (2f0593f)
- card: reset only recent element styles (a3bcfa3)
- controls: fix option content not center vertically (1f87222)
- display: fix width value is not valid in firefox (1502ee1)
- display: hide shadow on dark mode (945dd61)
- docs: fix default svgs missing (d6d8384)
- dropdown: fix z-axis height error (8558309)
- dropdown: modify z-index of dropdown to ensure it works normal in modal (3e022b6)
- dropdown: update rect when trigger event before (b0bd61c)
- ellipsis: set the height of ellipsis manually (228bf62)
- fieldset: remove unused props (26c944e)
- grid: fix Grid missing native attributes (fc77953)
- grid: fix side effects of global styles (923cdf7)
- grid: remove unreasonable attribute display (5744a48)
- image: fix max-width in mobile screen (44fdf2b)
- image: limit the max width of the image on browser mode (d45b2f9)
- image: pass width props to img element (a202cc3)
- input: fix color of fill text (76c3e40)
- input: fix default width of Input cannot shrink under flex (c646440)
- input: fix icon event is cached incorrectly (c02e754)
- input: fix ref type of input forwarding (7c92575)
- input: fix value update from controlled component (2d6d1bc)
- input: hide clear icon when value is undefined (2930287)
- input: simulate a change event when the value of input is reset (e9b0077)
- jest: reset last committed config of jest (2e51e02)
- link: fix missing ref on forward component (e17c8db)
- link: fix type of extra props (8b9a52c)
- link: improve vertical alignment of link text (f748cc0)
- menu: decrease the Z level of the menu (abca5e9)
- modal: disable scroll when modal display (3a16b61)
- modal: fix close handler is triggered repeatedly (b9fe67d)
- modal: fix height constraint of modal (36f6580)
- modal: fix onOpen not triggered when modal opening (18786ae)
- modal: fix styles to follow design guide (cc8fdcd)
- modal: reset only recent element styles (ed8d368)
- modal: set body hidden false on close modal (f22d67e)
- module: fix the default export module file (4af6b8f)
- note: prevent main color change in special types (0f3ebb4)
- page: fix page width too large at md breakpoint (1bb7b92)
- slider: fix the bug causing offset is out of bounds (11d76b3)
- fix placeholder does not show ellipsis (d2b8e58)
- playground: fix arrow icon does not work correctly on webkit (d73f5ef)
- popover: fix type prompt (0461b85)
- radio: fix style imbalance caused by decimal width (4f9b9ae)
- radio: fix the initial-value does not work correctly (6b91036)
- select: limit the maximum height of the dropdown-menu (4c914bd)
- slider: fix excessive offset when sync custom value (82277c4)
- snippet: rename fill to filled (6caff6a)
- styles: remove background of webkit autofill (03aadc5)
- tabs: unregister when tab child unmount (127c9bb)
- tag: fix height clutter caused by box-sizing of parent element (1d0e685)
- text: fix redundant default color (7acf6ac)
- toast: fix multiple destory events triggerd at the same time (7882bfc)
- toast: fix toasts destroying each other in different instances (c34544f)
- toast: prevent main color change in special types (7b10adf)
- toast: stop update component after toast parent unmount (d6fdd3a)
- tooltip: fix autowrap errors for elements wrapped by tooltip (f063f7c)
- tooltip: update tooltip rect on each render (f328cda)
- types: fix ignore native types when export types manually (535feb2)
- union-type: fix union type overridden by default-props type (d1b1d41)
- utils: fix module paths (d236a56)
- fix alignment issues caused by line-height on safari (e76b1b2)
- fix backdrop layer prevent default behavior (60827e8)
- fix footer-component undefined (c100e87)
- fix heading for spacer docs (5f9d42f)
- fix min-width in mobile screen (df9762c)
- fixed typo (c5dbd32)
- remove the background caused by the line-height of img (b00f892)
- use-portal: don't remove shared element slot when component destroyed (be62359)
- improve text render on moz (e08e6ca)
- override types (6f125d7)
- rename defaultChecked to initialChecked (1acafdd)
- progress: remove unused log (4a47b0c)
- tabs: fix svg width in tabs label (790ee6f)
- text: render element p only if no elemnt is found (0293f83)
- theme: export types of theme (1248e6c)
- toast: add max-width to toast (3d62f41)
- fix dropdown position when the page height changes (e4c2253)
- remove node when component unmount (bab279f)
- remove nonstandard font spec (b347906)
- response dropdown position when page resize (03578c2)
- type of useInput (cd68a08)
Features
- add .nvmrc, use latest node (#7) (f639fa4)
- new package name (f71fbaf)
- auto-complete: add control for free solo (1a6b638)
- auto-complete: disable dropdown follow parent width (a0e7b80)
- badge: supoort to anchor with other components (3fa7eb1)
- baseline: optimize fontSize of block code (fd4a14f)
- breadcrumbs: add component (67ee18e)
- breadcrumbs: add size (296e130)
- button: add light type support (542c982)
- button: forward the ref of the original element (9c3b85e)
- button: support to display icons in button (9fe7f1e)
- button-group: add component (fcd42f1)
- button-group: add the border-color of light types (0e0a437)
- card: add footer component (78a475f)
- card: extract content wrapper (74b00f7)
- checkbox: add support of different sizes (840757b)
- collections: support filter children contanin array props (1522d4b)
- colors: add several colors to palette (180651b)
- css-baseline: optimize the performance of pre component in the layout (dbcde10)
- dropdown: update layout when parent DOM changes (fcb244d)
- fieldset: extract content wrapper (1840fc2)
- grid: add props for layout (50077f2)
- grid: hide item when unit size is 0 (8597b0d)
- icons: link icons through CSS variables (97d098a)
- image: auto scale image when width is too small (313dd1f)
- image: forward ref for image browser (e61f1de)
- image: pass through all props of anchor element (fc0cdec)
- input: add password (3675d25)
- link: hide icon of link component by default (bb1e7c4)
- modal: custom width and className (d8bb1ab)
- page: add component (45e1b0a)
- page: add page component to index example (71e7d1b)
- pagination: add component (f10a559)
- radio: add support of different sizes (16710d9)
- radio: support for number type (94cce07)
- select: disable dropdown follow parent width (9e9a6b8)
- select: handle multiple selections (9467c2d)
- use-input: compatible with components of non-standed events (64f15df)
- support for functional initializer mode (fbc2f30)
- styles: add breakpoints to default theme (42b9886)
- tabs: provide a prop for the display of divider (6e7f8c8)
- text: add blockquote (f21b085)
- text: add size to specify the text size (cbfb8b1)
- user: provide a prop for alt text (cde23dd)
- utils: add hooks for dom observer (fb6be97)
- utils: export use-clipboard (6cfc87e)
- utils: export use-current-state (16c879a)
- utils: export utils hooks (cdbff2d)
- utils: support lambda mode to update current-state (3a19099)
- utils-shared: add hooks for media query (4631fd5)
- export use-click-away (2e198f0)
- auto-complete: add component (a52e400)
- auto-complete: support hide empty search results (7452fe1)
- avatar: use group to display multiple avatars (5109ad0)
- badge: add component (fdeb290)
- card: append types to card (29876a3)
- code: add min-width to code block (4e76051)
- collapse: add component (1c40cdb)
- divider: add component (323f722)
- file-tree: add component (42e47f3)
- image: add a prop to control max duration of image animation (9fdd751)
- image: add browser style (a1900f6)
- image: add scale prop to image container (2d2d9d3)
- input: add clearable and clear event (27c1ec5)
- input: add custom width to fit more layouts (8da344f)
- input: allow user to customize label content (3f2d6b6)
- link: display as a separate block (ea80119)
- link: display colors for links in dark mode (d34d742)
- link: forward ref for next/link compatibility (b1af001)
- loading: add component (3ee3948)
- popover: add component (c736d84)
- progress: add component (08f50e5)
- radio: add component (3c46949)
- select: add component (fe491e7)
- select: allow the user to control current value (17e0c84)
- shared: add common expand component (e7c01d1)
- slider: add component (acd7114)
- slider: show animation at click event (5920129)
- snippet: add component (1120d9d)
- spacer: add inline mode (f49beb8)
- table: add component (e6b81ba)
- tabs: add component (cb9a931)
- tag: append types to tag component (a4604ef)
- textarea: add component (1f52f14)
- themes: add violet color (bfd030e)
- themes: deep merge themes by default (44ac746)
- toast: support react nodes as toast content (7c5e833)
- toggle: add components (f5ae55c)
- tooltip: add component (183e40f)
- tooltip: add more props (95cfead)
- tooltip: append visible prop to control visible state manually (1758f73)
- user: add component (be63d62)
- utils: add use-clipboard (101a4c8)
- utils-shared: separate internal tools and shared utilities (d433d1b)
- add body scroll hooks (2bccf04)
- add click any where hooks (7915c74)
- add optoins for body scroll (b51ea26)
- init (a37c630)
- initial (1a258b2)
- migrate to standard loading component (904e8e7)
- replace get-shape with shape hooks (8064c51)
- update hooks (f7364af)
- use unified away click hooks (ba0975e)
Performance Improvements
- toast: improve toast component performance (e3ba8ae)