Gypcrete Versions Save

iCHEF web components library, built with React.

v1.9.0

5 years ago

Changes in this release

  • Improve 'closable()' mixin triggering #176
  • Fix prop tables in Storybook #173
  • Update colors for <ListRow> #172
  • Let SelectList accept the title and desc props #171
  • Add the showCheckAll prop to disable checkAll option in <SelectList> #170
  • Remove <List> vertical spacing inside certain components #169
  • Update column styles #167
  • [Fix] Fix anchored component alignment when anchor is larger than itself #168
  • Extract <Section> layout from <List> #166

Changelog

Added

  • [Core] Add new <Section> as a general content wrapper with optional title and description text. (#166)
  • [Form] Add the showCheckAll prop to disable checkAll option in <SelectList>. (#170)
  • [Form] Let <SelectList> accept the title and desc props. (#171)

Changed

  • [Core] Update <List> to wrap its own body with <Section>. (#166)
  • [Core] Update <ListRow> to remove vertical margin from nested <List>. (#166)
  • [Core] Remove vertical margin from <List> by context when placed inside <ListRow> or <Popover>. (#169)
  • [Storybook] Add examples for <Section>. (#166)
  • [Core] Removed padding in <ColumnView> body. (#167)
  • [Core] <HeaderRow> can now disable an area by setting false to it. Styles updated. (#167)
  • [Core] Update colors for <ListRow>. Add v3 color plates. (#172)
  • [Storybook] Upgrade @storybook/react and its addons to 3.4.11. (#173)

Fixed

  • [Core] Fix anchored() mixin horizontal alignment when anchor is larger than component applying the mixin. (#168)
  • [Storybook] Fix prop tables for each component. (#173)

v1.8.1

5 years ago

Changes in this release

  • Check <SelectOption> with symbol instead #157
  • Fix Popover inside <SelectRow> to not auto-close under multiple mode #158
  • Various UI updates #159
  • Preserve white spaces #160
  • Remove input auto-blur in editable components #161
  • Update deploy script #164

Changelog

Added

  • [Form] Add new SelectOption.typeSymbol for element type comparison. (#157)
  • [Form] Add getElementTypeSymbol helper for getting type symbol from React Element. (#157)

Changed

  • [Core] Update styles to match design for: <List>. (#159)
  • [Core] <Button>s are now bold by default. (#159)
  • [Core] The following components now preserve white spaces: (#160)
    • <Text> (which is in most row-components)
    • <List> (in title and desc)
    • <ListRow> (in desc)
    • <Tag>
    • <Tooltip>
  • [Core] Input inside <EditableBasicRow> does not blur on component status change anymore. (#161)
  • [Build] Update deploy steps. (#164)

Fixed

  • [Form] Fix Popover inside <SelectRow> should not auto-close under multiple selection mode. (#158)
  • [Core] Fix <ListRow> footer should not render empty <p> tags. (#159)

v1.8.0

6 years ago

Changes in this release

  • Fix <Popover> #147
  • Image Editor #148, #149, #150, #151
  • Update dependencies #153
  • Add multi-line mode for <TextInputRow> #155

Changelog

Added

  • [ImageEditor] Add new package @ichef/gypcrete-imageeditor. (#148, #149, #150, #151) This new component supports:
    • Creating a cropping rectangle from an image in given dimension
    • Adjust image scaling with a slider
    • Customizable scaling range
    • Display a placeholder when image isn't specified
    • Display a loading animation when loading is set
  • [Storybook] Add examples for <ImageEditor>. (#150)
  • [Form] New multiLine mode for <TextInputRow>. It renders a <textarea> instead,and auto-grows as user types. (#155)
  • [Storybook] Add examples for multi-line usage of <TextInputRow>. (#155)

Changed

  • Refactor to reuse shared webpack configs between packages. (#148)
  • Allow React 16.x as peer dependency. (#153)

Fixed

  • [Core] Fix some content might exceed <Popover> container. (#147)
  • [Form] Fix <Popover> inside <SelectRow> should not be closed until user clicks on the checkbox. (#147)

1.7.2

6 years ago

Changelog

Fixed

  • [Core] Add a function to close the <Modal> when users click <Overlay> and the onClose prop exists. (#140)

Changed

  • [Core] Update styles for <ListRow> to match design in nested lists. (#141)
  • [Core] Update <Button> to support rendering into custom HTML tags. (#144)
  • [Storybook] Add the showcase of two overlaying <Modal>. (#140)
  • [Storybook] Add examples for nested <List>. (#141)

1.7.1

6 years ago

Changes in this release

  • Fix <Modal> not rendering its content. #139
  • Remove the Closable HOC from <Modal> to prevent unexpected closing behaviors occur when more than one modals are open. #139
  • Refine the showcase of <Modal>. #139

Changelog

Fixed

  • [Core] Fix <Modal> not rendering its content (#139)
  • [Core] Remove the Closable HOC from <Modal> to prevent unexpected closing behaviors occur when more than one modals are open. (#139)

Changed

  • [Storybook] Refine the showcase of <Modal> component. (#139)

v1.7.0

6 years ago

Changes in this release

  • Migrate <Modal> from ic-framework-react and ic-framework. #137
  • <HeaderRow> now accepts children and renders. #136
  • <SelectOption> now accepts and passes unknown props to its inner <Checkbox>. #136
  • Add the PR template used in iCHEF-Cloud2.0 (https://github.com/iCHEF/iCHEF-Cloud2.0/pull/1735)

Changelog

Added

  • [Core] Migrate <Modal> from ic-framework-react and ic-framework. (#137)

Changed

  • [Core] <HeaderRow> now accepts children and renders. (#136)
  • [Form] <SelectOption> now accepts and passes unknown props to its inner <Checkbox>. (#136)

v1.6.0

6 years ago

Changes in this release

  • Update <Popup> #127
  • Stack base layers with stacking context #128
  • Tidy up the showcases of <Tooltip> component #129
  • Fix base layer should be as wide as viewport to not supress its content #130 Merged
  • Update <Button> #131
  • Fix <Button> tests #132
  • Upgrade dependencies #133

Changelog

Minor Breaking

  • [Core] <Popup> is no longer wrapped with closable() mixin, will not respond to ESC key now. (#127)
  • [Core] Default color for <Button> is now black. (#131)
  • [Core] Remove primary prop from <Button> in favor of cross-component bold prop on rowComp(). (#131)

Added

  • [Core] Add new <PopupButton> which renders a pre-configured <Button> that should be used inside a <Popup>. (#127)
  • [Core] Add buttonsDirection prop to <Popup> to align its buttons either vertically (as default) or horizontally. (#127)

Changed

  • [Core] Update styles for <Popup> to better match design. (#127)
  • [Core] Refactor <Popup> to simplify codes. (#127)
  • [Storybook] Update examples for <Popup>. (#127)
  • [Core] Remove z-index from components with renderToLayer() HOC mixin. They will now be stack based on the stacking context on the base layers. (#128)
  • [Storybook] Fix the showcase of <Tooltip> component. (#129)
  • [Core] Change aside label of <Text> to inherit parent color but with 70% opacity. (#131)
  • [Storybook] Update examples for <Button> (#131)
  • Fix CI not aware of failing tests with --bail workaround. (#132)
  • Upgrade dependency packages. (#133)

v1.5.2

6 years ago

Changes in this release:

Changed

  • [Form] The popover inside a single-value <SelectRow> should now close automatically after click on any option. (#125)
  • [Form] Update examples for <SelectRow>. (#125)

Fixed

  • [Core] Fix <Popover> should only scroll its container. (#125)

v1.5.1

6 years ago

Changes in this release:

  • [Core] Fix <Checkbox> not displaying correct icons. (#124)
  • [Form] Update <SelectRow> to use new dropdown icon. (#124)

v1.5.0

6 years ago

Changes in this release

  • #117 Fix <IconButton> injected class overridden by custom class
  • #119 Enhance extendibility for a few components
  • #120 Layout fixes for <Popover> and appearance tweak for <SelectRow>
  • #121 Update icons
  • #122 Fix <SelectRow> issues

Changelog

Added

  • [Core] Added 7 new icons: (#121)
    • dropdown
    • remove-element
    • inline-question
    • first-page
    • prev-page
    • next-page
    • last-page

Changed

  • [Core] closable() HOC mixin now takes runtime options via props. (#118)
  • [Form] formRow() HOC mixin now takes withRef option to maintain a ref to its wrapped component. (#118)
  • [Form] <TextInputRow> and <SwitchRow> now accepts children prop, will render inside <ListRow>. (#118)
  • [Form] <TextInputRow> now exposes ref to inner <input> via getInputNode() method. (#118)
  • [Core] Updated 3 icons: (#121)
    • radio-empty
    • radio-half
    • radio-selected

Fixed

  • [Core] Fix classNames injected by <IconButton> will be overridden with custom className. (#117)
  • [Core] Fix <Popover> should have max-height while making its content scrollable. (#120)
  • [Form] Fix unset <SelectRow> showing 'All' when it has no option. (#120)
  • [Form] Fix unset <SelectRow> label should be tinted. (#120)
  • [Form] Fix a non-multiple <SelectRow> with only one <Option> showing All when the only option is checked. (#122)