Releases: iCHEF/gypcrete
Releases · iCHEF/gypcrete
v4.4.0
What's Changed
- Backport/4.3.0 by @chenesan in #275
- Remove deprected PopupButton type check by @chenesan in #276
- Add muted prop on
rowComp()
by @chenesan in #278 - Pass message as messageTitle when type is string in Popup by @kyoyadmoon in #279
- Turn icon format from font to inline svg by @chenesan in #280
- [Chore] auto generate icon index.js by @chenesan in #281
- Add takeout Icon by @benny0642 in #283
- Add takeout icon v2 by @benny0642 in #284
- Add "more" icon by @zhusee2 in #287
- Bugfix: svg 的顏色有誤 by @benny0642 in #285
- [Chore] Upgrade eslint config ichef to 8.0.0 by @chenesan in #290
- Update auto-assign action reviewer by @chenesan in #291
- New Icon: inline-dropdown by @benny0642 in #292
- [Chore] Add WebStorm generated .idea directory to gitignore by @leannechen in #295
- [Chore] Add new reviewer to .auto_assign by @a26620236 in #294
- Revise by @zhusee2 in #293
- [Feature] Add title right area on Section / List by @chenesan in #297
- New icons: plus-one and minus-one by @a26620236 in #296
- Add padding left for section title right area by @chenesan in #298
- Revise rev.2 by @zhusee2 in #300
- Add new icon: Gear by @leannechen in #301
- Update Gear icon to a smaller version by @leannechen in #302
- Fix popover placement when there is no enough space on top or bottom of content by @chenesan in #303
- 修改 SwitchRow disabled style by @benny0642 in #305
- export parseSelectOptions from @ichef/form for draft "Dropdown" component by @tz5514 in #306
- [Popup] Make Popup message able to display line break with newline characters by @leannechen in #307
- [Bugfix] Change errorMsg prop type to array by @benny0642 in #308
- Remove isRequired of anchor props 'remainingSpace' by @leannechen in #309
- Bugfix: Change EditableTextLabel to listen touchEnd event by @benny0642 in #310
- Add 'topArea' to by @zhusee2 in #311
- add people icon by @chenesan in #313
- [Bugfix] Switch is overflow hidden in SwitchRow by @benny0642 in #315
- Add ref to ColumnView by @a26620236 in #314
- add new icon by @a26620236 in #316
- [Bugfix] remove empty label when build value label in by @chenesan in #317
- add import icon by @brianwu291 in #318
- add renderRowValueLabel for SelectRow by @chenesan in #319
- [gypcrete] disable dropdown icon when
SelectRow
is ineditable by @kyoyadmoon in #320 - Add copy link icon by @a26620236 in #321
- fix: wont pass renderRowValueLabel by @chenesan in #322
- Add icons by @zhusee2 in #323
- Add
skip
in closable,refreshOnWindowResize
anddistanceFromAnchor
inanchored
by @chenesan in #324 - add aside clickable on disabled in RowComp by @chenesan in #325
- Add postfix for
<TextInput>
by @chenesan in #327 - 移除不必要的 css 屬性 by @a26620236 in #329
- Release/4.4.0 by @a26620236 in #330
New Contributors
- @a26620236 made their first contribution in #294
- @brianwu291 made their first contribution in #318
Full Changelog: v4.3.0...v4.4.0
v4.3.0
v4.2.1
v4.2.0
v4.1.0
v4.1.0
4.0.0
What's in this release
- SelectRow takes empty string as unset #233
- Upgrade dev dependencies #232
- Change exported module types #227
- Upgrade packages to address security alerts #226
- Minor style fixes #225
- Refactor
<ColumnView>
and<Modal>
#224 - [Fix] Force publish all packages when releasing canary #223
- Resolve security alerts #221
- Update tests for
<ImageEditor>
to reflectgetImageCanvas
API change #222 - Update
<ImageEditor>
to give canvas in the same size of editor by default #220 - Adjust release scripts #218
- Update component styles #217
- Upgrade Lerna and update release steps #216
- Add the inline-info icon #215
- Refactor
<SelectList>
&<SelectRow>
#213 - Upgrade to Babel 7.4 and CoreJS 3 #214
Changelogs
Breaking
- [Core] [Form] [ImageEditor] Peer dependency changes:
- Change from
@babel/runtime-corejs2
to@babel/runtime-corejs3
.
- Change from
- [Core] [Form] [ImageEditor] now exports CommonJS modules via "main" and ES modules via "module" field in
package.json
. - [Core]
<ColumnView>
:- The
bottomPadding
prop is removed. Please usebodyPadding
prop and pass an object instead.
- The
- [Core]
<Modal>
:<Modal>
is refactored to render a<ColumnView>
as its inner layout.<Modal>
no longer takessize
andbodyClassName
props.- The
bodyPadding
prop now takes an object and is passed to<ColumnView>
.
- [Form]
<SelectList>
:- Rename prop
values
tovalue
, and it receive a single value directly when is notmultiple
, and receive an array whenmultiple
is true. - Rename prop
defaultValues
todefaultValue
, and it receive a single value directly when is notmultiple
, and receive an array whenmultiple
is true. - Rename prop
allOptionLabel
tocheckAllLabel
.
- Rename prop
- [Form]
<SelectRow>
:- Rename prop
values
tovalue
, and it receive a single value directly when is notmultiple
, and receive an array whenmultiple
is true. - Rename prop
defaultValues
todefaultValue
, and it receive a single value directly when is notmultiple
, and receive an array whenmultiple
is true. - Rename prop
asideAll
toasideAllLabel
. - Rename prop
asideNone
toasideNoneLabel
.
- Rename prop
- [ImageEditor] The instance method
getImageCanvas()
of<ImageEditor>
now returns a<canvas>
in the same dimension as the editor itself by default.
Added
- [Core] [Form] [ImageEditor] setup
warning@4.0.3
. - [Core] Add the
inline-info
icon to the selections of<Icon>
. - [Core] Add
flexBody
prop for<ColumnView>
(and also<Modal>
) to render its body as a Flexbox.
Changed
- [Core] Update
<Section>
title style and increase bottom margin. - [Core] Remove the only test cases that uses
sinon
; removesinon
from dev dependencies. - [Form] Update
<SelectRow>
and<SwitchRow>
to adpat vertically-reversed appearance as<TextInputRow>
in v3.0. - [Form] Add
desc
prop to<SelectOption>
- [form]
<SelectRow>
now considers empty string''
as unset. - [Storybook] Update examples for refactord
<ColumnView>
and<Modal>
.
Upgrades
- [Build] Upgrade to Babel v7.4.4 +
core-js
v3 to provide better polyfilling. - [Build] Upgrade to Lerna v3.16.4; changes publish steps.
- [Build] Upgrade to
node-sass@4.12.0
for Node v10+ support. - [Build] Upgrade to
stylelint@^10.0
,autoprefixer@^9.6
andpostcss-loader@^3
for better CSS support. - [Build] Upgrade other dev dependencies to address security alerts.
3.0.0
Changes in this release
- Refactor
closable()
mixin to use React's own events mechanism #202 - Enhance
<TextInputRow>
for custom rendering and textarea autosizing #203 - Remove storybook mangle #204
- Refactor
<TextInput>
to match latest design #205 - Fix yarn start not work due to adding minimizer in dev env #206
- Add
<Avatar>
to display an image along with the text #208 - Enhance
<ImageEditor>
for get canvas and controllable scale #209 - Allow passing children to #trivial #211
Changelog
Breaking
- [Core] Add
verticalOrder
prop to<Text>
so you can swap the position ofbasic
andaside
. Also applied torowComp()
mixin. - [Core] Rewrite
<TextInput>
to match latest design, offering single-line<input>
, multi-line<textarea>
and supports custom rendering via render prop. - [Form]
<TextInputRow>
now renders the new<TextInput>
and forwards almost every prop to it, without a ref to its inner input. - [Core] Add
<Avatar>
to display an image.
Changed
- [ImageEditor] Add new instance method
getImageCanvas()
to get current image canvas element. - [ImageEditor] Add new props
scale
&onScaleChange
to make scale value of editor can be controlled. - [Core] Refactored
closable()
mixin to detect inside/outside clicks via React SyntheticEvent mechanism instead of listening native events from DOM. - [Storybook] Fix mangled component name in storybook build. (#203)
- [Storybook] Update examples for core
<TextInput>
and form<TextInputRow>
. (#203) - [Core] Change
rowComp()
to allow the appearance of<Avatar>
alongside the text. (#208) - [Core] Change
<Checkbox>
to display<Avatar>
. (#208) - [Form] Change
<SelectRow>
and<Checkbox>
to display<Avatar>
. (#208) - [Storybook] Add examples for
<Avatar>
and the list components with<Avatar>
s. (#208)
2.1.0
Changes in this release
- Add centered prop into Modal to make it on top of screen #196
- Shorten width for multiple layer modal #197
- Adjust modal and column view padding #198
- Refactor #199
Changelog
Changed
- [Core] Change
<SearchInput>
behavior:- Can be controlled now, via props
value
,onChange
andonReset
. - No longer trigger
onSearch
when input blur by default. You can enable this behavior by setting propsearchOnInputBlur
betrue
- New prop
searchOnInputChange
, when it istrue
,onSearch
will be triggered every time after input changed. The default value isfalse
. - New prop
blockDuplicateValueSearch
, when it istrue
,onSearch
will not be triggerd if input value is same with last time searching. - New prop
blockEmptyValueSearch
, when it istrue
,onSearch
will not be triggerd if input value is empty. - Rename prop
input
to beinputProps
.
- Can be controlled now, via props
- [Core] update
<SearchInput>
styles. - [Core] Add centered prop into Modal to make it on top of screen by default (#196)
- [Core] Shorten width for multiple modal. (#197)
- [Core] Adjust padding-bottom of modal and column view. (#198)
2.0.0
Changes in this release
- #192 Reduce useless render calls in 'closable()' mixin *since beta 1
- #190 Refactor 'anchored()' mixin
- #189 Remove usage of React.findDOMNode()
- #188 Adapt React Portal
- #186 Upgrade to ESLint 5
- #185 Upgrade to Babel 7 and Jest 23.6.0
- #183 Upgrade to Enzyme 3
- #180, #182 Remove flow type
Prereleases
2.0.0-beta.0
2.0.0-beta.1
Changelog
Breaking
- [Core] [Form] [ImageEditor] Peer dependency changes:
- [Core]
anchored()
HOC mixin no longer usesReactDOM.findDOMNode()
to find the actual node for you. You should now manually set ref to both anchor element and wrappred element instead. Please read #189 for more info.
Changed
- [Core] Remove flow type annotation. (#180)
- [Core] Adapt React Portal in
renderToLayer()
HOC mixin. (#188) - [Core] Refactor
anchored()
mixin to extrac its positioning logic, and adapt memoize approach to not rely on lifecycle methods. (#190) - [Storybook] Upgrade to
@storybook/react@^4.0.0
to support Babel 7. (#187) - [Build] Upgrade to
enzyme@3.7.0
; fix tests for that. (#183) - [Build] Upgrade to Babel v7; switch to project-scope Babel config. (#185)
- [Build] Upgrade to
jest@23.6.0
to support Babel 7. (#185) - [Build] Upgrade to
eslint@5.8.0
,eslint-config-ichef@2.0.1
andeslint-config-airbnb@17.1.0
. (#186) - [Build] Upgrade to
react@16.6.1
andprop-types@15.6.2
. (#187)
1.10.0
Changes in this release
Changelog
Added
- [Core] Add new
<SplitView>
and<SplitViewColumn>
. (#178) - [Storybook] Add examples for
<SplitView>
and its usage with<ColumView>
. (#178)
Changed
- [Core]
closable()
mixin is now triggered ontouchend
events on touch devices. (#176) - [Core] Update
<ColumnView>
layout styles; allow overriding bottom padding. (#178) - [Storybook] Update examples for
<Popover>
to add a row of hyperlink<Button>
. (#176) - [Storybook] Split stories into different package-based sections. (#177)