Skip to content

Releases: moroshko/react-autowhatever

v10.2.0

07 Nov 18:47
Compare
Choose a tag to compare

Add containerProps

v10.1.2

10 Jun 00:15
Compare
Choose a tag to compare
  • Better accessibility (See #40)

v10.1.1

10 Mar 19:05
Compare
Choose a tag to compare
  • Remove aria-haspopup

v10.1.0

09 Jun 18:16
Compare
Choose a tag to compare
  • Now we pass isHighlighted to renderItem

v10.0.0

19 Apr 21:07
Compare
Choose a tag to compare
  • shouldRenderSection prop was removed
  • Use prop-types instead of React.PropTypes

v9.0.0

21 Feb 04:21
Compare
Choose a tag to compare

theme keys changed:

  • inputFocus => inputFocused
  • itemHighlight => itemHighlighted

v8.0.0

21 Feb 01:20
Compare
Choose a tag to compare
  • The following props have changed:
    • focusedSectionIndex => highlightedSectionIndex
    • focusedItemIndex => highlightedItemIndex
  • renderItemsContainer signature changed - all the props that should be set on the items container are nested in containerProps now. The new signature is:
function renderItemsContainer({ children, containerProps })
  • theme updated to better support inline styles:
    • Added inputOpen
    • Added inputFocus
    • Added itemsContainerOpen
    • Added sectionContainerFirst
    • itemFocused => itemHighlight
  • Update React peer dependency to include 16.0.0-alpha.2

v7.0.0

18 Oct 01:53
Compare
Choose a tag to compare

inputComponent was removed in favor of the new renderInputComponent.

When using renderInputComponent, make sure to pass through the inputProps that you get to the <input> element.

For example:

const renderInputComponent = inputProps => {
  const style = {
    <some styles>
  };

  return (
    <div>
      <input style={style} {...inputProps} />
      {<your custom stuff>}
    </div>
  );
};

v6.0.0

13 Oct 01:01
Compare
Choose a tag to compare

Renamed inputElement to inputComponent.

As opposed inputElement, inputComponent cannot be a string (e.g. 'textarea'). This important restriction was introduced to keep Autowhatever accessible.

v5.4.0

08 Oct 04:33
Compare
Choose a tag to compare

Added inputElement prop