react-giphy-searchbox

Responsive and customizable search and select for Giphy's GIFs and Stickers.

MIT License

Downloads
7.8K
Stars
48
Committers
3

Bot releases are hidden (Show)

react-giphy-searchbox - v1.5.4

Published by sergiop almost 4 years ago

Improvements

  • Replaced any image file dependency (spinner.svg, poweredByGiphy.png) with inline svg.
react-giphy-searchbox - v1.5.3

Published by sergiop almost 4 years ago

Improvements

  • Removed CSS Modules in favor of a custom CSS-in-JS solution. This allows using the Searchbox on a framework like Next.js that doesn't include CSS Modules in its workflow by default.

Thanks, @Asif-chohan for discovering it.

react-giphy-searchbox - v1.5.2

Published by sergiop almost 4 years ago

Fixes

  • Handle a possible Giphy API bug when a successful response contains undefined pagination.
react-giphy-searchbox - v1.5.1

Published by sergiop almost 4 years ago

Fixes

  • Fix a bug that prevents to handle API errors.

Thanks @rushilshah1 for the catch and the debugging.

react-giphy-searchbox - v1.5.0

Published by sergiop almost 4 years ago

Improvements

  • Added management for image rendition.
  • Added autoFocus prop, allowing to autofocus the search input field on component initialization.

Thanks respectively to @caleb15 and @jkcchan for the suggestions.
References:

react-giphy-searchbox - v1.4.0

Published by sergiop over 4 years ago

Improvements

  • Added onSearch callback.
  • Security fixes.

Thanks @rushilshah1 for the tip. Reference: https://github.com/sergiop/react-giphy-searchbox/issues/29

react-giphy-searchbox - v1.3.0

Published by sergiop over 4 years ago

Improvements

  • Removed Axios if favor of the native window.fetch() method.

Please note: since window.fetch() is a native method and it doesn't work on old browsers, if you need to support them you have to add a global polyfill like github/fetch or developit/unfetch. Here you can find the global support for window.fetch() method: https://caniuse.com/#search=fetch.

react-giphy-searchbox - v1.2.2

Published by sergiop over 4 years ago

Improvements

  • Added fade animation on GIFs
  • Bug fixes
react-giphy-searchbox - v1.1.0

Published by sergiop over 4 years ago

Improvements

  • Added management for Giphy's stickers through library prop.

Development

  • Upgraded to Node 12.
  • Upgraded dependencies and dev dependencies.
react-giphy-searchbox - v1.0.5

Published by sergiop about 5 years ago

react-giphy-searchbox - v1.0.4

Published by sergiop over 5 years ago

react-giphy-searchbox - v1.0.3

Published by sergiop over 5 years ago

react-giphy-searchbox - v1.0.2

Published by sergiop over 5 years ago

react-giphy-searchbox - v1.0.0

Published by sergiop over 5 years ago

First release.