Gypcrete Versions Save

iCHEF web components library, built with React.

v1.4.0

6 years ago

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 via onChange()
  • [Form] <SelectRow> now caches values internally, and use that to control <SelectList>
  • [Form] Customize display labels for <SelectRow> with asideAll, asideNone and asideSeparator.
  • [Form] Extract parseSelectOptions() helper to read from children of <SelectOption>s.
  • [Core] <ListRow> stops forwarding status props to children via context. This is changed against v1.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.

v1.3.3

6 years ago

Fixes @ichef/gypcrete-form package not publishing anything.

v1.3.2

6 years ago

Changes in this release

Fixed

  • Fixed CSS bundle requesting font files from broken path. (#108)

v1.3.1

6 years ago

Changes in this release

Changed

  • Upgrade webpack to v3 (#101)
  • [Core] Fix aside label for <Text> should turn white inside a highlighted <ListRow>. (#104)
  • [Core] Adds hover background for <ListRow>. (#104)
  • [Core] Fix vertical padding for <HeaderRow>. (#104)

v1.3.0

6 years ago

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.
  • Upgrade storybook libraries to v3.2.12, also fix the API changes of storybook-addon-info. (#93)(#95)
  • Deprecate escapable() mixin in favor of new closable().
  • The padding option for anchored() is renamed to edgePadding for better understanding.

Breaking

  • <Tooltip> now default-exports an anchored version. <AnchoredTooltip> is removed from bundle.

1.2.0

6 years ago

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 use system-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 out status from its inner <TextLabel> when it's in edit mode.
  • <Text> adds a bold prop to render its basic text in bolder font.
  • <ListRow> now has its own desc and errorMsg. It also takes status props, but mostly pass to children via context for now.
  • Refactors prefixState into getStateClassnames so the state logic can be shared.
  • Deprecates the row-padding utility icon.

1.1.0

6 years ago

This release introduces API changes to <EditableTextLabel>

Changes

  • API changes to <EditableTextLabel>:
    • inEdit prop now defaults to undefined, which means the component is uncontrolled.
    • When inEdit is set either true or false, the component is controlled
    • ~onEditRequest~ prop is removed in favor of new 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.

1.0.0

6 years ago

Added

  • Add <HeaderRow> which is split into left, center and right 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, listening Esc key to trigger onEscape prop.
  • Add page overlay component, <Overlay>.
  • Add <Popup> component. (#70)
  • Add <ColumnView> which holds a header above and a footer 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 a primary prop to make it bolder.
  • <EditableTextLabel> only gets autofocus when it's also inEdit.

0.13.1

6 years ago

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

6 years ago

Added

  • Add Apache License 2.0 for open-source.
  • Add Installation and Usage contents in README.
  • A new <EditableBasicRow> containing input logics is split from <EditableText>. (#63) Also supports choosing from input or textarea for its inner tag. (#64)
  • Add shields on README. (#66)

Changed

  • Add Installation and Usage 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 with onEditEnd callback, as well as Enter/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 and ghpages.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.