No Preview

Sorry, but you either have no stories or none are selected somehow.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

Release Notes

1.2.2

🐛 Fixes

  • #520 Fix for geo filters

1.2.1

Just some internal fixes :)

1.2.0

🚀 Features

  • #361 Changes authorization process @InakiAbete-Reflektion

    Starting from this version, we have deprecated the useToken configuration property, and we encourage using it only when absolutely required. With this change, there's no need to include useToken in your configuration if API access doesn't specifically demand an access token.

    Previously, useToken was intended for cases where API access required an access token. However, in most browser-based scenarios, this extra round-trip to the API was unnecessary and added overhead, resulting in a slightly slower experience.

    Instead, we have introduced a more targeted approach with the useAccessToken property. This allows you to specify and handle access token usage more selectively and efficiently. Use useAccessToken only if your API access indeed necessitates an access token.

    As always, our documentation has been updated to reflect these changes, and our support team is available to assist you should you have any questions or concerns. We hope that this enhancement empowers you to make informed decisions regarding authorization in your application.

  • #355 Enables noImplicitAny @FedericoRossi-Reflektion

    We've enabled the noImplicitAny option by default in this version. This TypeScript compiler option enforces stricter type checking by requiring explicit type annotations for variables and function return types where TypeScript cannot infer the type.

    Enabling noImplicitAny promotes safer code practices and helps catch potential type errors during compilation. While adopting this option may require adding more type annotations, it ultimately leads to a more robust and maintainable codebase.

    Embrace the power of TypeScript's static type checking with noImplicitAny, and enjoy a more streamlined development process. If you need any assistance with this feature, refer to our documentation or reach out to our support resources.

  • New Widgets Added: HTMLBlock, SEO, and Banner

    We're excited to introduce three new widgets: HTMLBlock, SEO, and Banner. Although pages support is still in development, you can already make use of these powerful new widgets in your app. Here's an example of how to use them:

    Example

    const SITECORE_SEARCH_CONFIG: SetupOptions = { env: 'prod' as Environment, customerKey: 'XXXX-XXXXXXX', apiKey: 'XXXXXXXXXXXXXXXXXXXXXXXX', }; function App() { return ( <WidgetsProvider {...SITECORE_SEARCH_CONFIG}> <HTMLBlockWidget rfkId="rfkid_15" /> <SEOWidget rfkId="rfkid_9" /> <Banner rfkId="rfkid_10" /> </WidgetsProvider> ); }

🚀 More features

  • #403 Removed filtering options & default behavior to or @PabloBarrenechea-Reflektion
  • #408 Added filter for Geo @PabloBarrenechea-Reflektion
  • #423 #422: Added apse2 to allowed environments @PabloBarrenechea-Reflektion
  • #421 Enables strictFunctionTypes @InakiAbete-Reflektion
  • #434 [Templates]: Add Component on exported component @NuriaSuarez-Reflektion
  • #448 Send source ID in events related to document view/click/conversion @NuriaSuarez-Reflektion

🐛 Fixes

  • #312 Improves filter change event value @FedericoRossi-Reflektion
  • #313 Fix type properties in ui components @NuriaSuarez-Reflektion
  • #319 Fix query highlight model @InakiAbete-Reflektion
  • #335 Template enhancements @NuriaSuarez-Reflektion
  • #339 Include onKeyphraseChange action on previewSearch action definition @NuriaSuarez-Reflektion
  • #343 Fix #333 Rename numProducts property in ResultsPerPageChangedPayload to numItems @NuriaSuarez-Reflektion
  • #331 Fix query client prop in WidgetsProvider @InakiAbete-Reflektion
  • #345 Update storybook documentation @NuriaSuarez-Reflektion
  • #349 Fix entity page view event @InakiAbete-Reflektion
  • #359 #356 Fix Preview search replace keyup by onChange @PabloBarrenechea-Reflektion
  • #370 Fix documentation @NuriaSuarez-Reflektion
  • #394 Handle possible undefined search limit @InakiAbete-Reflektion
  • #393 Update search result context hooks @InakiAbete-Reflektion
  • #415 Reset offset and page in search result widget @NuriaSuarez-Reflektion
  • #455 Combined filters fix @PabloBarrenechea-Reflektion
  • #459 Fix javascript build @NuriaSuarez-Reflektion
  • #464 Fix Preview search templates @PabloBarrenechea-Reflektion

1.0.3

🐛 Fixes

  • #297 Fix nextjs compatibility @InakiAbete-Reflektion
  • #298 Fix AccordionFacet props typing @NuriaSuarez-Reflektion
  • #296 Fix Recommendation Basic Horizontal template metadata @NuriaSuarez-Reflektion
  • #306 Update Event context @FedericoRossi-Reflektion
  • #307 Improve action props typing @InakiAbete-Reflektion

1.0.2

🚀 Features

  • #191 Article Card Primitive @PabloBarrenechea-Reflektion
  • #198 Add public suffix setup @PabloBarrenechea-Reflektion
  • #177 New event API tracking functions @FedericoRossi-Reflektion
  • #201 Add search cli @InakiAbete-Reflektion
  • #279 Create Carousel Recommendation Templates for Articles @NuriaSuarez-Reflektion
  • #285 Adds search results template for products @InakiAbete-Reflektion
  • #284 Create Gallery Recommendation Templates for Articles @NuriaSuarez-Reflektion

🐛 Fixes

  • #207 Removes invalid api headers @InakiAbete-Reflektion
  • #232 Fixes React strict mode issue @InakiAbete-Reflektion
  • #273 fix: #244: disallow empty keyphrase on keyphrase change event @PabloBarrenechea-Reflektion
  • #281 Fixes facet clicked changed payload @InakiAbete-Reflektion

Other versions