Skip to content
Branch: master
Commits on Jan 29, 2019
  1. chore: replace "paypal/downshift" with "downshift-js/downshift" (#658)

    kentcdodds committed Jan 29, 2019
    * chore: replace "paypal/downshift" with "downshift-js/downshift"
    * chore: fix downshift logo
Commits on Jan 6, 2019
  1. chore: disable cypress in CI

    kentcdodds committed Jan 6, 2019
Commits on Jan 4, 2019
  1. docs: add note about stateReducer and onStateChange

    kentcdodds committed Jan 4, 2019
    Closes #640
  2. chore: add types tests back to CI

    kentcdodds committed Jan 4, 2019
Commits on Jan 3, 2019
  1. chore: upgrade everything

    kentcdodds committed Jan 3, 2019
Commits on Dec 21, 2018
  1. chore: fix build

    kentcdodds committed Dec 21, 2018
Commits on Dec 11, 2018
  1. test: fix cypress tests

    kentcdodds committed Dec 11, 2018
Commits on Oct 8, 2018
  1. chore: lockdown buble to deal with issues in #591

    kentcdodds committed Oct 8, 2018
  2. chore(temp): fix travis

    kentcdodds committed Oct 5, 2018
  3. feat(initial*): add `initial*` props for all state

    kentcdodds committed Oct 5, 2018
    Before the `default*` props sort of served two purposes (the initial
    value and the value to reset certain state to). Now we've actually
    removed the `defaultSelectedItem` and `defaultInputValue` because we
    never reset the values to the initial value for those. And we introduce
    new `initial*` props for all state to take over what the default ones
    were used for in the constructor.
    Closes: #467
    BREAKING CHANGE: If you're using any of the props that start with `default`, you probably want to change that to `initial` instead. `defaultSelectedItem` and `defaultInputValue` were also removed in favor of `initialSelectedItem and `initialInputValue` (respectively).
  4. fix(inputValue): always set inputValue properly

    kentcdodds committed Oct 5, 2018
    Closes #512
    BREAKING CHANGE: if you control the selectedItem, we no longer set the inputValue to the defaultInputValue.
  5. chore: disable ts for now

    kentcdodds committed Oct 5, 2018
  6. chore: fix travis

    kentcdodds committed Oct 5, 2018
Commits on Sep 5, 2018
  1. chore(travis): split type checking out

    kentcdodds committed Sep 5, 2018
    Because we keep getting 137 errors on travis.
Commits on Aug 14, 2018
  1. chore(travis): split validate script into two

    kentcdodds committed Aug 14, 2018
    Closes #547
Commits on Aug 10, 2018
  1. feat(scrollIntoView): add new prop to override built-in scrollIntoView (

    kentcdodds committed Aug 10, 2018
    **What**: feat(scrollIntoView): add new prop to override built-in scrollIntoView
    **Why**: Closes #537
    **How**: React makes this easy. I leverage `defaultProps` to set our own implementation of `scrollIntoView` as the `scrollIntoView` prop and then call it via `this.props.scrollIntoView` so users of downshift can override it to be whatever they want.
    This means that I had to change the test slightly because the `scrollIntoView` function is no longer called directly on `utils` so we can't spy on it. Just swapped that to use mocking and it's working fine.
    - [x] Documentation
    - [x] Tests
    - [x] Ready to be merged
    - [ ] Added myself to contributors table N/A
Commits on Jul 20, 2018
  1. docs: add youtube link (#521)

    kentcdodds committed Jul 20, 2018
Commits on Jul 19, 2018
  1. docs: add example links (#520)

    kentcdodds committed Jul 19, 2018
    * docs: add example links
    The module example links should be working now.
    * docs: cleanup examples docs.
  2. docs: add link to downshift-examples (#519)

    kentcdodds committed Jul 19, 2018
    Right now a direct link to specific examples wont work, but once [this is fixed](codesandbox/codesandbox-client#989) then I'd love to list some of the examples with direct links in the README.
Commits on Jul 13, 2018
  1. fix(release): manually release a patch version

    kentcdodds committed Jul 13, 2018
    There was an issue with a patch release, so this
    change is to release a new patch version. I think the issue is related
    to my tokens all being deleted. I've updated the token so it should
    work this time.
    Reference: #505
Commits on Jun 14, 2018
  1. docs(README): fix example

    kentcdodds committed Jun 14, 2018
  2. feat(2.0.0): release v2! (#461)

    kentcdodds committed Jun 14, 2018
    * feat(2.0.0): squashed commits of everything!
    fix(TypeScript): Change typings (#373)
    BREAKING CHANGE: TypeScript typings are much more complete now.
    fix(exports): removed statics assignments to default export (#390)
    fix(build): to facilitate better tree-shaking, this is necessary
    feat(a11y): Improve a11y and add getMenuProps (#285)
    We no longer will validate your `htmlFor` and `id` attributes on labels
    and inputs. Instead we provide props you can pass if you really want to
    set those. You can still set those values yourself on the elements, but
    we wont validate them for you.
    Closes #283
    fix(TypeScript): add missing types for setItemCount and unsetItemCount actions (#393)
    fix(TS): add missing types for setState and getMenuProps (#394)
    fix(aria): improve WAI-ARIA compliance (#396)
    Big thanks to @1Copenut for leaving feedback in #285
    fix(aria): remove unnecessary aria-expanded from the input
    feat(flow): add flow definitions (#399)
    * [#23] Flow definitions
    * removed factory function
    * Fix code review notes
    fix(TypeScript): fix several type definitions (#407)
    * Fixed existing types and added missing types
    * Added Partial to state
    Closes #406
    fix(TS): Change StateChangeOptions to only extend DownshiftState as a Partial (#424)
    * let prettier run
    * Add contributor
    * StateChangeOptions now extends only a Partial of DownshiftState
    fix(flow): more precise types (#402)
    * [#23] more precise types
    * update defintions
    * feat(breakingChanges): remove the breakingChanges prop
    Now we'll go with the more expected behavior for controlling selectedItem.
    BREAKING CHANGE: When controlling `selectedItem`, the inputValue will be set to the `defaultInputValue` rather than `itemToString`.
    * fix(menu): don't reset downshift if clicking within the menu
    Closes #287
    * fix: remove support for prop called `render`. Only support `children`
    This is done to bring downshift into conformance with the community
    convention of using the children prop (for example, the React Team chose
    `children` with the official context API). We'd prefer to reduce
    cognitive overhead by not having two ways to do the same thing.
    Closes #433
    BREAKING CHANGE: If you use the `render` prop, rename it to `children`.
    * fix(preventDownshiftDefault): accept the property via nativeEvent
    Closes #404
    * fix(react-native): custom onPress handlers will now be properly called
    * docs: add spectrum badge
    * fix(TS): remove breakingChanges prop
    * fix(native): Support both onChange and onChangeText props (#462)
    This supports both props that <TextInput /> accepts for supporting text
    input changed events.
    Additionally, this moves onChange related tests to their own module.
    BREAKING CHANGE: If you use the `render` prop, rename it to `children`.
Commits on Jun 11, 2018
  1. chore: format and stuff

    kentcdodds committed Jun 11, 2018
  2. chore: upgrade everything and fix cypress

    kentcdodds committed Jun 11, 2018
Commits on May 22, 2018
  1. docs(usage): fix itemToString in usage example

    kentcdodds committed May 22, 2018
  2. docs(usage): add codesandbox link

    kentcdodds committed May 22, 2018
  3. docs(example): change example to use children prop

    kentcdodds committed May 22, 2018
    Because I forgot that's what we want people to use.
  4. docs: update some confusing text

    kentcdodds committed May 22, 2018
  5. docs(example): use objects for the example

    kentcdodds committed May 22, 2018
    Because it's the number 1 question we get all the time so it's obviously confusing.
    Closes #448
Commits on Apr 10, 2018
  1. chore: upgrade kcd-scripts (#415)

    kentcdodds committed Apr 10, 2018
    Mostly to get the neat new features from semantic-release.
Commits on Mar 20, 2018
  1. fix(getToggleButtonProps): rename (and alias) `getButtonProps` to `ge…

    kentcdodds committed Mar 20, 2018
    Closes #386
  2. feat(setState): exposes `setState` function for all your setState nee…

    kentcdodds committed Mar 20, 2018
    …ds (#385)
  3. fix(mouseup): do not reset when active element is in downshift (#383)

    kentcdodds committed Mar 20, 2018
    Closes #356
  4. chore(cypress): disable unnecessary video recording

    kentcdodds committed Mar 20, 2018
You can’t perform that action at this time.