Skip to main content

@acromedia/gesso-drupal

5.4.1

Patch Changes

  • 457547c: Fix: get link field working in the Drupal Image plugin

5.4.0

Minor Changes

  • 6f94395: Migrating decodeHTMLEntities to only impact clientside components.

Patch Changes

  • c0856d9: Handle the case of unordered taxonomy terms when dealing with hierarchy
  • 92b5047: Handle additional fields for query overrides and taxonomy term hierarchy
  • 9230e8d: Fixes issue with buildContent erroring on pages without body field. IE: Pages built using paragraphs

5.3.1

Patch Changes

  • 1353067: Add: export drupal field types and drupal utils.

5.3.0

Minor Changes

  • d5d1a57: Add background video support to the Strap component
  • f1feb11: - ContentSearch can optionally pass sort as a property. Adds ContentSearchSort interface.
    • ContentSearch can optionally handle offset as an argument.
    • ContentSearch can filter by keyword on title or body field.
    • Node fragment returns created and path { alias } fields.
    • Results can be returned matching ContentSearchResult interface (content, pageInfo, and eventually facets).
    • Content data includes a truncated plain text body and url path alias.

5.2.2

Patch Changes

  • b2d82cf: truncate gesso prefixed fields that were longer than 32 chars

5.2.1

Patch Changes

  • a6fa656: Add a limit parameter to the useTag hook
  • f88adaf: prefix all cms plugin fields, remap plugins to prefixed plugin names, conditionally query CMScontent types
  • 788f368: add accidentally removed entityReferences back into NodeArticle fragment

5.2.0

Minor Changes

  • f1e3667: Improve the caching for the Drupal graphQL Client method and expose it.

5.1.3

Patch Changes

  • 5054e1d: Added the user UUID field to the buildUser for Drupal users.

5.1.2

Patch Changes

  • 53eced2: Fix issue with redirects improperly labelled, source and destination swapped

5.1.1

Patch Changes

  • 5d67fcf: Implemented logic to support Drupal Login & Logout

5.1.0

Minor Changes

  • 387fdfa: Updates Redirect interface to a more defined specification, adds Redirects config to create-nextjs

Patch Changes

  • 8635e1e: Fixes issue with drupal redirects plugin not being exported

5.0.2

Patch Changes

  • 8d3fee2: Implemented support for working-copy revision to the drupal provider

5.0.1

Patch Changes

  • 352ef12: Update dependencies and clean up dependency tree
  • 6faa87d: Update drupal plugins to take both arrays and flat values

5.0.0

Major Changes

  • bff9b4a: Update useCms imports to cms

Patch Changes

4.8.2

Patch Changes

  • bcf6c1d: Adds status code to failed request message when trying to pull content from Drupal
  • e1f64c8: Added null value for Divider if no color token is defined.

4.8.1

Patch Changes

  • 54f1216: Remove outdated license settings in package.json

4.8.0

Minor Changes

  • 3b16e0d: Added ability for Divider plugin to handle pre-defined dividerColor token values in addition to valid css hex code.

4.7.0

Minor Changes

  • a3a7020: Adds getForm handler and form plugins for component factory

4.6.0

Minor Changes

  • 393bea8: Password Reset/Update support for Drupal.

4.5.0

Minor Changes

  • f0c18c8: ComponentFactoryPlugin - Button: add field_external_link to enable Button to open a link in a new tab
  • 7e812e5: Adds grid and grid item component factory plugins

4.4.1

Patch Changes

  • 0d98af9: Strap factory was missing some optional chaining

4.4.0

Minor Changes

  • 0e01945: Implemented the button plugin and changed Buttons plugin

Patch Changes

  • 372826d: updates Strap plugin to use featured object for feature image
  • 12c9aeb: updates the imports for query override functions to use gesso core
  • fff4c4c: fix: spacer plugin height and width props not working in drupal

4.3.2

Patch Changes

  • edc0ea0: Update @types/react
  • e46a974: Fixes issue with create-nextjs and cleans up various small items

4.3.1

Patch Changes

  • 85164af: Throw a better error message when building content output when there is an issue with pargraph structure.

4.3.0

Minor Changes

  • a6f51dd: Added support for next.js preview mode.

Patch Changes

  • a1803c8: updates Section plugin to use background prop
  • 8ed63b9: enhances the flexibility of the Buttons plugin by allowing it to handle multiple icon scenarios and ensures the correct rendering based on the provided data.

4.2.0

Minor Changes

  • 6b468c5: Add limit option from config into gesso drupal getRoutes.

Patch Changes

  • 57826f9: fix strap plugin to use background prop and fix issue that was allowing long words to go past containers max-width
  • ef3b420: Fixes featured flag for card and cards plugins

4.1.1

Patch Changes

  • 36dcf78: removes references to unused Carousel and HeroBanner plugins which were never fully implemented and became redundant with addition of SlideCarouselWrapper plugin and paragraph type
  • 1453486: Fixed props in componentFactory card

4.1.0

Minor Changes

  • 9ef4fe6: Adds redirect status code to Drupal provider getRedirects response
  • 7ce641f: adds SlideCarouselWrapper and Card plugins. Tests and updates dependencies and configs as needed.

4.0.0

Major Changes

  • f49ee1f: gesso v4 version bump

Patch Changes

  • Updated dependencies [f49ee1f]
  • Updated dependencies [80e1851]
  • Updated dependencies [f49ee1f]
  • Updated dependencies [f49ee1f]

3.16.0

Minor Changes

  • c96d879: Adds Buttons paragraph plugin for Component Factory, Updates Icon component to accept fontAwesomeIcon as a string representing the icon name

Patch Changes

  • ebd0186: Adds serverside get methods for all hooks in cms provider

3.15.1

Patch Changes

  • 7d40634: Updates graphql query fragment grouping labels
  • 774a968: Fixes prop mapping for icon position of Tabs plugin

3.15.0

Minor Changes

  • 57d5974: adds Drupal plugin for EmbedCode component

Patch Changes

  • 111ae82: Revert v4 and deploy v3.14.4
  • fdb775b: Image plugin width defaults to image width unless specified
  • 9fb35d5: fixed props that did not connect to the right data
  • 257465a: fixed props being passed to the tabs component

4.0.0

Major Changes

  • b8f59f1: Fix image alignment on drupal CF plugin

Patch Changes

  • 81cd360: Added a default width to the drupal image component to ensure the image doesn't grow beyond it's container

3.14.3

Patch Changes

  • f683449: Updates Component Factory plugin to support new DrupalMedia fields
  • c5ee4d7: - adjusts css marginBottom calculation for NativeHTML elements to be element fontSize multiplied by 1.6
    • corrects stylesheet issue that was preventing p tags from having marginBottom in Drupal WYSIWYG
    • updates Storybook explanation for common Drupal WYSIWYG usage
    • adds tests to verify NativeHTML default styles and classes are properly picked up by BasicContent plugin
  • 8db4d5e: Fix issue with Image destructuring a possible undefined value

3.14.2

Patch Changes

  • cc71723: - Defaults AccordionSummary typography to h4 variant in design system.
    • Exposes the Square prop to Drupal which creates a field enabling the borderRadius top and bottom fields to be set separately.
    • Updates Storybook description for clarity on how the Square prop interacts with borderRadius, roundedTop and roundedBottom props.
  • 42523cf: Fixes issue with Spacer plugin not handling boolean fields correctly

3.14.1

Patch Changes

  • 5cd173e: Adds support for new card wysiwig field, backwards compatible with old field

3.14.0

Minor Changes

  • bf537cc: Adds Spacer plugin for Component Factory

3.13.0

Minor Changes

  • b1602e9: Adds NativeHTML for basic_content plugin, Fix minor bugs with types structure not aligning with current data structure

Patch Changes

  • fcacb55: - fix: update Cards plugin in Drupal to pull correct field values for border and shadow.
    • fix: update design system Card component so that a button is only rendered if link url is present and default backgroundColor to correct token value
  • e660f24: Adds match height to card plugins, adds styling to Card to handle match button height when multiple cards displayed with match height"
  • 2aee2d5: Updates Card to accept ReactNode instead of strings for its title/content fields, update card plugin component factory to wrap grid"
  • e9c71b52: add in missing export for useUser hook

3.12.0

Minor Changes

  • 6c4bca1: Updates @acromedia/drupal to match latest spec for gesso_graphql drupal module, Updates Card to align classnames Card content now contains classname card--content

3.11.0

Minor Changes

  • cb85946: Adds HeroBanner Component Factory plugin
  • fa2a9bc: Adds Hero Banner plugin for Component Factory

Patch Changes

  • c7bd2ff: Added @acromedia/gesso as a peerDependency

3.10.2

Patch Changes

  • 8c480e1: Fix Image postioning, Accordion Content

3.10.1

Patch Changes

  • e9a58e7: Fix export for componentFactoryPlugins, removes empty types file import in Redirects"
  • d00bb3a: Fixes issue when divider plugin does not have a set divider color"

3.10.0

Minor Changes

  • 08504fc: Updates & fixes for Component Factory, default plugins for drupal provider

3.9.1

Patch Changes

  • f119dff: Refactor provider queries to use fragment structure which can be extended by end user. Removing the useage of toArray.

3.9.0

Minor Changes

  • 7f5d6d2: Implemented useUser hook

3.8.0

Minor Changes

  • a797def: add export for types and plugins

3.7.0

Minor Changes

  • 213295b: Add conjuction/grouping to ContentSearch filters

Patch Changes

  • 6833962: useTag would crash instead of error on invalid tag
  • bea0325: Normalize Drupal field entity references

3.6.0

Minor Changes

  • 879057b: Created getRoutes function in Drupal

3.5.0

Minor Changes

  • 2b01440: Add withReferences option to useContent and useContentSearch

3.4.0

Minor Changes

  • 55e4e7b: Implement useTags hook functionality

3.3.0

Minor Changes

  • 5d99bbc: Add support for custom filters to useContentSearch

3.2.0

Minor Changes

  • 036f7bd: Implemented useMenu hook
  • 80a391a: Implemented useContentSearch hook

3.1.1

Patch Changes

  • 0be564a: Drupal provider clean the data output of remaining field data. Removes the array wrapping caused by toArray on graphql query.

3.1.0

Minor Changes

  • 7bb4ab0: Implemented useContent call to Drupal

3.0.2

Patch Changes

3.0.1

Patch Changes