Socket
Socket
Sign inDemoInstall

@algolia/autocomplete-core

Package Overview
Dependencies
19
Maintainers
84
Versions
69
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous123457Next

1.0.0-alpha.47

Diff

Changelog

Source

1.0.0-alpha.47 (2021-04-29)

Bug Fixes

  • theme-classic: various fixes (#546) (6b4bc12)

Features

  • js: expose GetSources type (#551) (3d1bf26)
francoischalifour
published 1.0.0-alpha.46 •

Changelog

Source

1.0.0-alpha.46 (2021-04-22)

This new version introduces the Requester API, which transparently batches calls to the same Algolia application. The getAlgoliaHits function is replaced by getAlgoliaResults, and getAlgoliaFacetHits by getAlgoliaFacets. Both functions no longer return a promise that resolves to the fetched records, but expose a transformResponse method that exposes the results, hits and facet hits for you to manipulate and return if need be. Learn more in the documentation.

Bug Fixes

  • classic-theme: fix modal display in Detached Mode (#531) (abf98ef)
  • classic-theme: remove pointer cursor on no result item content (#529) (b241df4)
  • examples: update build command (#539) (f5254e9)
  • js: compute panel top position with getBoundingClientRect (#536) (492e058)
  • types: fix collision between js/core and plugins (#532) (ac79f67)
  • adjust examples (#527) (32bd2bc)
  • theme-classic: wrap item content when there's no link (#522) (c6afe42)

Features

francoischalifour
published 1.0.0-alpha.45 •

Changelog

Source

1.0.0-alpha.45 (2021-04-09)

Bug Fixes

  • js: change button class name to "aa-ClearButton" (5991e77)
  • js: prevent id incrementation when toggling detached mode (#489) (fe2bf13)
  • js: remove window references (#501) (7628d09)
  • js: run reactive values only once (8356031)
  • qs: rename categoriesLimit to itemsWithCategories (#491) (4c97375)

Features

francoischalifour
published 1.0.0-alpha.44 •

Changelog

Source

1.0.0-alpha.44 (2021-03-01)

Bug Fixes

Features

  • js: scroll to top when query changes (#457) (706939c)
  • qs: rename category to categoryAttribute (5d8c5d4)
francoischalifour
published 1.0.0-alpha.43 •

Changelog

Source

1.0.0-alpha.43 (2021-02-19)

Bug Fixes

  • js: display empty template only with a query (7c2f9a3)
  • js: rely on environment instead of window (0bc15e9)
  • theme: update icons and Detached mode design (#443) (af43a37)

Features

  • algolia: add getAlgoliaFacetHits preset (#451) (8876fd3)
  • algolia: fix highlighting hit type (#452) (0f92710)
  • css: support Detached mode (#438) (82747d5)
  • js: add aa-Detached CSS class on Detached mode (8a50e90)
  • js: always keep panel open on detached mode (9014a41)
  • js: rename detachedMediaQuery (46d30f5)
  • js: rename empty to noResults (#450) (71ea2d0)
  • js: rename classnames to Detached (dadec26)
  • plugins: add categories to Query Suggestions and Recent Searches (54ef36c)
  • recent-searches: display tap-ahead button (b3670c9)
  • theme: design search button focus state (e284771)
  • theme: support modal design on Detached Mode (#445) (5043d27)
  • theme: update search button design (818a1d9)
francoischalifour
published 1.0.0-alpha.42 •

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)
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc