Gypcrete Versions Save

iCHEF web components library, built with React.

v4.4.0

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/iCHEF/gypcrete/compare/v4.3.0...v4.4.0

v4.3.0

3 years ago

Changelogs

Added

  • [Core] Allow passing remaining props to wrapper DOM element. (#267, #269)
  • [Core] Add props for default popup UI layout and update tests. (#271)

Changed

  • [Core] Reduce icon font to only WOFF and WOFF2 formats. (#266)
  • [Core] Add sort icon. (#268)
  • [Core] Add announce icon. (#272)
  • [Core] Add large prop to <Popup>. (#273)

v4.2.1

4 years ago

Change logs

Changed

  • [Core] Fix that we have to click twice to close gyp-closable after click in wrapped component. (#262)
  • [Build] Fix deploy script to push back converted tags; bump minor for canary builds. (#261)

v4.2.0

4 years ago

Changelogs

Changed

  • [Core] Update <ListRow> & <List> styles for supporting nested list better. (#257)
  • [Core] Fix rowProps used to be replaced in mixin formRow.(#258)

v4.1.0

4 years ago

v4.0.0

4 years ago

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 reflect getImageCanvas 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.
  • [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 use bodyPadding prop and pass an object instead.
  • [Core] <Modal>:
    • <Modal> is refactored to render a <ColumnView> as its inner layout.
    • <Modal> no longer takes size and bodyClassName props.
    • The bodyPadding prop now takes an object and is passed to <ColumnView>.
  • [Form] <SelectList>:
    • Rename prop values to value, and it receive a single value directly when is not multiple, and receive an array when multiple is true.
    • Rename prop defaultValues to defaultValue, and it receive a single value directly when is not multiple, and receive an array when multiple is true.
    • Rename prop allOptionLabel to checkAllLabel.
  • [Form] <SelectRow>:
    • Rename prop values to value, and it receive a single value directly when is not multiple, and receive an array when multiple is true.
    • Rename prop defaultValues to defaultValue, and it receive a single value directly when is not multiple, and receive an array when multiple is true.
    • Rename prop asideAll to asideAllLabel.
    • Rename prop asideNone to asideNoneLabel.
  • [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 [email protected].
  • [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; remove sinon 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 [email protected] for Node v10+ support.
  • [Build] Upgrade to stylelint@^10.0, autoprefixer@^9.6 and postcss-loader@^3 for better CSS support.
  • [Build] Upgrade other dev dependencies to address security alerts.

v3.0.0

4 years ago

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 <TextInputRow> #trivial #211

Changelog

Breaking

  • [Core] Add verticalOrder prop to <Text> so you can swap the position of basic and aside. Also applied to rowComp() 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

5 years ago

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 <SearchInput> #199

Changelog

Changed

  • [Core] Change <SearchInput> behavior:
    • Can be controlled now, via props value, onChange and onReset.
    • No longer trigger onSearch when input blur by default. You can enable this behavior by setting prop searchOnInputBlur be true
    • New prop searchOnInputChange, when it is true, onSearch will be triggered every time after input changed. The default value is false.
    • New prop blockDuplicateValueSearch, when it is true, onSearch will not be triggerd if input value is same with last time searching.
    • New prop blockEmptyValueSearch, when it is true, onSearch will not be triggerd if input value is empty.
    • Rename prop input to be inputProps.
  • [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)

v2.0.0

5 years ago

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:
    • Switch from babel-runtime to @babel/runtime-corejs2. (#185)
    • Upgrade to react@^16.6.0 and react-dom@^16.6.0. (#187)
  • [Core] anchored() HOC mixin no longer uses ReactDOM.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 [email protected]; fix tests for that. (#183)
  • [Build] Upgrade to Babel v7; switch to project-scope Babel config. (#185)
  • [Build] Upgrade to [email protected] to support Babel 7. (#185)
  • [Build] Upgrade to [email protected], [email protected] and [email protected]. (#186)
  • [Build] Upgrade to [email protected] and [email protected]. (#187)

v1.10.0

5 years ago

Changes in this release

  • Organize storybook #177
  • Add <SplitView> #178

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 on touchend 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)