Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@algolia/autocomplete-shared

Package Overview
Dependencies
Maintainers
67
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@algolia/autocomplete-shared - npm Package Versions

1
56

1.0.0-alpha.42

Diff

Changelog

Source

1.0.0-alpha.42 (2021-02-09)

Bug Fixes

  • core: rename shouldPanelShow to shouldPanelOpen (c442884)
  • js: change highlighted element key to index (d4d0348)

Features

francoischalifour
published 1.0.0-alpha.41 •

Changelog

Source

1.0.0-alpha.41 (2021-02-09)

Bug Fixes

  • core: don't open panel with openOnFocus without items (fde8b8a)
  • core: rename OnHighlightParams to OnActiveParams (2d7762d)
  • js: add footer template (b2223d5)
  • js: add key props to highlight children (11e5667)
  • js: forward TData type to AutocompletePlugin (f62cb36)
  • js: use AutocompletePlugin type from JS (ba3cda5)
  • plugins: pass createElement to highlight utils (11f4cb7)

Features

  • emptyStates: implements empty source template and renderEmpty method (#395) (fbfca35)
  • js: wrap item action buttons in container (#434) (0032f38)
  • plugin: add transformSource API (fbd9e72)
  • sourceId: add sourceId to provide data-autocomplete-source-id on section source container (#429) (ce35fea)
  • theme: add aa-ItemWrapper CSS class (a56c9d4)
francoischalifour
published 1.0.0-alpha.40 •

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

1
56
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