Releases: iCHEF/gypcrete
Releases · iCHEF/gypcrete
1.4.0
Changes in this release
- #111 Publish canary builds with exact package version
- #112 Add values display for
<SelectRow>
- #113 Style fixes
- #114 Fix
closable()
blocking children events - #115 Style tweaks
Changelog
Added
- [Form] Add transition to text in
<TextInputRow>
when being focused. - [Core] Add
tinted
prop for<IconButton>
for a half-transparent icon.
Changed
- [Form]
<SelectList>
now passes sorted values viaonChange()
- [Form]
<SelectRow>
now caches values internally, and use that to control<SelectList>
- [Form] Customize display labels for
<SelectRow>
withasideAll
,asideNone
andasideSeparator
. - [Form] Extract
parseSelectOptions()
helper to read from children of<SelectOption>
s. - [Core]
<ListRow>
stops forwarding status props to children via context. This is changed againstv1.2.0
.
Fixed
- [Form] Fix input inside
<TextInputRow>
should take up whole space. - [Form] Fix input inside
<TextInputRow>
should not have background. - [Core] Fix click events are ignored if fire from components inside
closable()
HOC mixin configured to close on inside click.
1.3.3
1.3.2
1.3.1
1.3.0
Version 1.3.0 brings changes to repository structure, while adds 3 new components.
Gypcrete now publishes 2 packages to NPM:
@ichef/gypcrete
: the existing package, receiving a new<Popover>
in 1.3.0@ichef/gypcrete-form
: a new package containing row-based form components, starting with a<SwitchRow>
and a<TextInputRow>
Changes in this release
Added
- Migrate and refactor
<Popover>
, exporting an anchored one by default. - Add new
closable()
HOC mixin to determine when to “close” on Esc key or on any key/touch on document.
Changed
- Gypcrete is now a multi-package mono-repo built on Lerna.
It's currently split into:- core (publishes to
@ichef/gypcrete
) - storybook (publishes to gh-pages of this repository)
But this should not affect the existing package, as the codes are untouched with this change. Please refers to README for details.
- core (publishes to
- Upgrade storybook libraries to v3.2.12, also fix the API changes of
storybook-addon-info
. (#93)(#95) - Deprecate
escapable()
mixin in favor of newclosable()
. - The
padding
option foranchored()
is renamed toedgePadding
for better understanding.
Breaking
<Tooltip>
now default-exports an anchored version.<AnchoredTooltip>
is removed from bundle.
1.2.0
This release contains style updates and some behavior tweaks:
Breaking changes
<EditableBasicRow>
now passes all unknown props to its underlying input.
Style changes
- Fix
<body>
to usesystem-ui
font family. <List>
title is now bold.<ListRow>
now has 4px padding vertically and the same 16px horizontally.- Minimal height for a row component is removed, while the minimal row height is maintained at 48px by:
- 32px minimal height for visual element
- 4px + 4px vertical padding of
<rowComp(Component)>
- 4px + 4px vertical padding of
<ListRow>
Component changes
<EditableTextLabel>
filters outstatus
from its inner<TextLabel>
when it's in edit mode.<Text>
adds abold
prop to render its basic text in bolder font.<ListRow>
now has its owndesc
anderrorMsg
. It also takes status props, but mostly pass to children via context for now.- Refactors
prefixState
intogetStateClassnames
so the state logic can be shared. - Deprecates the
row-padding
utility icon.
1.1.0
This release introduces API changes to <EditableTextLabel>
Changes
- API changes to
<EditableTextLabel>
:inEdit
prop now defaults toundefined
, which means the component is uncontrolled.- When
inEdit
is set eithertrue
orfalse
, the component is controlled prop is removed in favor of newonEditRequest
onDblClick
callback. Users can decide when to update the edit state.
- Behavior changes to
<EditableTextLabel>
:- 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.
- Custom element passed via
1.0.0
Added
- Add
<HeaderRow>
which is split intoleft
,center
andright
tiers. (#69) - Add
<List>
section that supports a title and a description block. (#69) - Add simple
<ListRow>
with a Flexbox body for row components. - Add z-index
z()
sass helper. (Migrate from iC-framework) - Add
escapable()
mixin, listeningEsc
key to triggeronEscape
prop. - Add page overlay component,
<Overlay>
. - Add
<Popup>
component. (#70) - Add
<ColumnView>
which holds aheader
above and afooter
below its main body area. (#71) - Add 3 new icons for menu page purpose. (#73)
Changed
- Improved tests coverage. (especially mixins & utils)
- Font weight of
<body>
is now set as 400 by default. (#72) <Button>
active/hover colors are slightly darken.<Button>
now takes aprimary
prop to make it bolder.<EditableTextLabel>
only getsautofocus
when it's alsoinEdit
.
0.13.1 - Open source 🎊
Added
- Set publish registry with
publishConfig
option.
Fixed
- [deploy] Fix git auth while pushing new tag.
- [deploy] Commit files with
--all
option.
0.13.0 - Unpublished
Added
- Add Apache License 2.0 for open-source.
- Add
Installation
andUsage
contents in README. - A new
<EditableBasicRow>
containing input logics is split from<EditableText>
. (#63) Also supports choosing frominput
ortextarea
for its inner tag. (#64) - Add shields on README. (#66)
Changed
- Add
Installation
andUsage
contents in README. <EditableText>
is simplified to only hold status-related logic. (#63)<TextInput>
now passes all unknown props to<EditableText>
for convenience. (#63)<EditableTextLabel>
is now the only component which manages the input value change withonEditEnd
callback, as well asEnter
/Esc
key presses and input blurs. (#63)- Flow type annotations for
<Editable-*>
components and<TextInput>
. (#63) - Turn CI service to TravisCI. (#66)
- Update
deloy.sh
andghpages.sh
scripts to fit TravisCI. - Upgrade
node-sass
to v4.5.3 to fix error on Node 8. - Replace
jest-junit
reporter by Coveralls, send coverage data to Coveralls after CI build.