Skip to main content

@acromedia/gesso-storyblok

7.5.0

Minor Changes

  • ab01481: fix: fallback to color.value when custom_color is empty string

    Changes the nullish coalescing operator (??) to logical OR (||) for the color prop to ensure proper fallback to color.value when custom_color is an empty string.

7.4.0

Minor Changes

  • d56455d: - Added action to ProductCard image

    • Changed ProductCard action button size default to small
    • Added token control to Accordion
    • Updated CreditCardLogo component text variant border default to medium
  • b5f6771: fix: improve GraphQL client memoization key

    • Update memoization normalizer to include all relevant config parameters
    • Add storyblokUrl and resourceVersion to cache key

    Previously, the memoization key only used the access token, which could lead to incorrect client reuse. Now it properly considers the full configuration including URL and version.

Patch Changes

  • 45c49c3: In the Button plugin, checking for story type links and prepending a slash to fix linking to content in a folder from content in a folder.
  • 71e720c: Fixed Image link target calculation to check string instead of object when determining if link is external.

1.3.0

Minor Changes

  • 795a85a: Update useContentSearch to use the search_term field for keyword search. Remove unnecessary await statements when creating GraphQL client.

Patch Changes

  • 07adc0f: fix Fixed the GQL query for Redirects
  • baf498e: Fixed urls in menu items
  • df8c178: chore Made getGraphQLClient non-async as there was no async functionality.
  • e677d59: Update plugin names to avoid confusing with use/get methods from provider

1.2.0

Minor Changes

  • bc5febe: Fix useMenu to fetch only Menu content types.

1.1.1

Patch Changes

  • 08241a7: Feat: update background_color field to use color palette and add custom_background_color field to allow for colors outside of the palette.
  • 1813bd9: Update: remove field_gesso_button_color add custom_color field, and update color field to be of type string.
  • 2e89fdd: Feat: update background_color to use color palette type and add custom_background_color prop to allow for colors outside the palette.
  • 0cb2cb8: Feat: update color field to use color palette and add custom_color prop to allow for colors outside the palette.
  • cbb1fbc: Feat: remove old color fields and add custom colors fields to use colors outside the palette.
  • 8c297e1: Feat: add custom color field to allow for colors outside the palette and remove deprecated color field.

1.1.0

Minor Changes

  • 1e70593: Add: cli export with updateCMSPalette function to update storybloks palette plugin for color selection.
  • 4762c1e: feat: add field visible slides breakpoints to Storyblok SlideCarouselWrapper plugin

1.0.0

Minor Changes

  • c8dd4bb: Added support for EU Storyblok spaces, updated component exports.
  • c8dd4bb: Added additional verbiage to component titles and descriptions for content editor clarity
  • 92ee5d2: Added author to fetched data and exported components, fetching relationships, added new Storyblok specific templates to NextJs, updated types to align with returned Storyblok data, fixed richtext parsing, replaced storyblok-js-client with storyblok/richtext.

Patch Changes

  • d8721b7: axios update
  • Updated dependencies [463096e]
  • Updated dependencies [d8721b7]
  • Updated dependencies [92ee5d2]
  • Updated dependencies [4dd9862]
  • Updated dependencies [89bcfbf]
  • Updated dependencies [d8721b7]
  • Updated dependencies [593ee38]
  • Updated dependencies [92ee5d2]
  • Updated dependencies [d8721b7]
    • @acromedia/gesso@7.0.0
    • @acromedia/gesso-cms@7.0.0

0.9.1

Patch Changes

  • 45ac2ea: Fixes the CI package deployment and redeploy

0.9.0

Minor Changes

  • 7917a25: Add support for HubSpot Forms in EmbedCode components.
  • a2663bc: Added SEO Plugin fields to component exports and types.

0.8.0

Minor Changes

  • 3ad55e5: Update Storyblok GridItem plugin and exports with additional display props
  • cadd3f8: Deprecate old component/field naming, add support for new component/field naming and update exports.
  • 32945f0: Updated Storyblok Button plugin to support disabled buttons.

Patch Changes

  • b482456: Update MUI Accordion styling for first-of-type and last-of-type, fix 'square' calculation.
  • 3132991: Fix Storyblok Card plugin never showing featured icon

0.7.4

Patch Changes

  • d219682: Removes storyblok import script in favour of Storyblok CLI

0.7.3

Patch Changes

  • 5521aa2: - Modified the Strap plugin in the Storyblok integration to ensure that the featured prop is set to undefined when there is no featured image.

0.7.2

Patch Changes

  • 980ecfb: Fix issue with Section display, remove layout functionality, Use Grid/GridItems via Storyblok directly to control layout

0.7.1

Patch Changes

  • a132e78: Add backgroundColor default value to the Storyblok Divider plugin
  • 7f0bf53: Update: connect orientation field to the Tabs plugin so tabs can be properly configured as horizontal or vertical.
  • 80c47b2: Add external link handling to Storyblok's Button and Image plugins

0.7.0

Minor Changes

  • 83259b2: Adds preview plugin to CMS provider, useContent will utilize this plugin for handling updating content in preview mode. Adds preview plugin for Storyblok integration

Patch Changes

  • ac39ec8: Adds Storyblok setup script: pnpm gesso-storyblok-import

0.6.0

Minor Changes

  • f31dd9d: feat: add resourceVersion option to useContent plugin, allowing the passing of resourceVersion between draft and published content, add test case for useContent to cover draft content; cleanup: Remove Canada region url checker in getGraphQLClient and set the default resourceVersion to published.

Patch Changes

  • 99f0a3e: Creates custom schema for RichTextResolver so that classname's can be applied directly to an element without Storyblok's default behaviour of creating a span that the class would be applied to. This schema is used for BasicContent/richTextContent.

0.5.0

Minor Changes

  • 1169f58: feat: Integrated Storyblok with Gesso - useTags

0.4.0

Minor Changes

  • 2e45f1a: feat: Integrated Storyblok with Gesso - ComponentFactory plugin

Patch Changes

  • eae6356: adds STORYBLOK_ACCESS_TOKEN to example.env and adds .gitignore to project directory.

0.3.1

Patch Changes

  • e8fa722: TS type fixes

0.3.0

Minor Changes

  • f960d5a: GESSO-981: useMenu hook

0.2.0

Minor Changes

  • b5d68e0: GESSO-982: getRoutes utility

0.1.0

Minor Changes

  • bc598ef: feat: Integrated Storyblok with Gesso - useContentSearch
  • 9a34304: feat: Integrated Storyblok with Gesso - getRedirects
  • a30fb32: feat: Integrated Storyblok with Gesso - useContent hooks