Socket
Socket
Sign inDemoInstall

@algolia/autocomplete-core

Package Overview
Dependencies
Maintainers
62
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@algolia/autocomplete-core - npm Package Versions

1
68

1.0.0-alpha.40

Diff

Changelog

Source

1.0.0-alpha.40 (2021-02-03)

Bug Fixes

  • core: forward props in getEnvironmentProps (af49483)
  • core: remove error handler when fetching results (#416) (eb98af6)
  • insights: rename event to "Item Active" (03059b6)
  • js: ignore empty template with no query and openOnFocus (#407) (92eeb3e)
  • js: update panel markup (1eecc65)
  • mergeClassNames: prevent classes with the same name being merged (#413) (9651481)

Features

  • core: pass scoped API to lifecycle hooks (#422) (049b343)
  • highlighting: support array syntax for nested attributes (#418) (4ad4e41)
  • js: add JS user agent to Algolia requests (#420) (fab2d57)
  • js: update reset icon (2c953f6)
  • query-suggestions: remove getAlgoliaHits param (efa4c93)
  • recent-searches: update remove icon (b828171)
  • theme: introduce Autocomplete Classic Theme (#409) (226fc54)
francoischalifour
published 1.0.0-alpha.39 •

Changelog

Source

1.0.0-alpha.39 (2021-01-22)

This is a big release that changes the rendering implementation from plain HTML to Virtual DOM (see #381).

Bug Fixes

  • recent-searches: escape highlighted query regex (#387) (d23f133)

Features

  • core: rename highlight to active (1c1b951)
  • emptyStates: add empty source template and renderEmpty method (#395) (8bd35e6)
  • js: (#381) (5a1efc2)
  • reverseHighlight/reverseSnippet: implement sibling strategy from InstantSearch.js (#388) (d86a33a)
francoischalifour
published 1.0.0-alpha.38 •

Changelog

Source

1.0.0-alpha.38 (2020-12-12)

Bug Fixes

  • core: convert AutocompleteContext to interface (0fbfe59)
  • js: vertically offset panel based on offsetTop (bb1af17)

Features

  • core: add enterKeyHint prop to input (7ff2971)
  • core: add invariant for getItems (b57ccf3)
  • core: add invariant for getSources (309371c)
  • core: add invariant for unknown reducer actions (27d6281)
  • insights: extends AutocompleteContext with Insights API (f1e8de4)
  • js: add non-input container invariant (2e3a8ed)
  • js: introduce Autocomplete Touch (#379) (5cfbdf2)
  • js: introduce Update API (921788c)
  • js: pass scope API to prop getters (18c7474)
  • js: schedule renders (ef54af3)
  • query-suggestions: pass state to getSearchParams (5b8de7f)
  • shared: add invariant util (0e28f55)
francoischalifour
published 1.0.0-alpha.37 •

Changelog

Source

1.0.0-alpha.37 (2020-12-06)

Features

  • core: export AutocompleteContext type (f6ce779)
  • core: pass refresh to all events (bd45a77)
  • core: support onReset prop (b7a66a8)
  • js: introduce Props API (04bef73)
francoischalifour
published 1.0.0-alpha.36 •

Changelog

Source

1.0.0-alpha.36 (2020-12-03)

Bug Fixes

  • core: allow null inputElement in getInputProps (75b990a)
  • core: disable getSources concurrent fix (a558b5e)
  • core: extend TItem to object (fcf94ff)
  • examples: update ref types (1d0cb20)
  • js: add templates type to getSources (69b9718)
  • js: calculate panel position before opening (#375) (307a7ac)
  • js: clean environment effects (eec80d2)
  • js: fix debounce function (82e6f4e)
  • js: fix internal state type (6def041)
  • js: make panelContainer optional (fe5db0c)
  • js: pass submit button to render (ca119f3)
  • update icons stroke-width (23e321b)

Features

  • core: rename searchBoxElement to formElement (#374) (79c4985)
  • js: add loading indicator (59dc31b)
  • js: add PanelLayout element (371fae0)
  • js: batch DOM updates (#372) (d06873e)
  • js: display reset button only when query (1656530)
  • js: don't append panel on initial loading (84ce729)
  • js: introduce panelContainer option (98dfe4b)
  • js: pass source to header and footer templates (9983c64)
  • js: turn search label into submit button (27e61cb)
  • plugins: introduce Insights plugin (#373) (2e967be)
  • theme: prepare Autocomplete Classic Theme (#361) (8638a98)
  • website: update GitHub logo (20a9b48)
eunjae-lee
published 1.0.0-alpha.35 •

Changelog

Source

v1.0.0-alpha.35 (2020-11-12)

This new version introduces breaking changes.

Bug Fixes

  • core: don't complete query when closed (86adc65)
  • getSuggestions: allow nested arrays to be returned (#331) (753c8ca)
  • js: correct item class name (475e88f)
  • js: correct panel class name (a2be862)
  • js: fix highlight hit param (6c03d8d)
  • js: make getSources optional (b12cc26)
  • js: resize panel also when hidden (9007fe0)
  • qs: ignore storage param (5279dba)
  • recent-searches: type getTemplates internal function (1ff6a0d)
  • fix setCollections type (cb967a4)

Features

eunjae-lee
published 1.0.0-alpha.34 •

Changelog

Source

v1.0.0-alpha.34 (2020-10-20)

Bug Fixes

  • core: keep cursor position on state changes (#343) (bae4d62)
  • algolia: fix getAlgoliaResults typings (#336) (0559624)
  • core: turn public navigator type to partial (#339) (056daeb)
  • core: keep last isOpen value on refresh (#334) (637d23e)

Features

  • core: provide prevState in onStateChange (#335) (21739b4)
eunjae-lee
published 1.0.0-alpha.33 •

Changelog

Source

1.0.0-alpha.33 (2020-10-05)

Bug Fixes

  • js: support onStateChange (e4c1488)

Features

eunjae-lee
published 1.0.0-alpha.32 •

Changelog

Source

1.0.0-alpha.32 (2020-09-28)

Features

  • core: run onSelect on item click (079a4c1)
eunjae-lee
published 1.0.0-alpha.31 •

Changelog

Source

1.0.0-alpha.31 (2020-09-28)

Bug Fixes

  • algolia: fallback non-existant highlighted to default value (7783bc6)
  • algolia: warn when an attribute cannot be highlighted (ce43e83)

Features

  • core: skip onInput on keyboard select with URL (399be2b)
  • core: trigger onSelect on meta keyboard select (b10fbe1)
  • core: use scrollIntoViewIfNeeded if exists (c409f11)
  • recent-searches: add recent-searches plugin (#316) (858637e)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc