@acromedia/gesso
7.10.0
Minor Changes
- b80e5e0: fix: adjust OrderBlock product image
- 05f5977: - export validateEmail function
- UX changes - forgot password page: Email validation: Shows error helper text if the input is invalid Loading state: Hitting the submit button now triggers a skeleton loader Feedback messages: Displays an alert for errors message, and a success message
Patch Changes
- d41f3ea: Fix image sizing
- Updated dependencies [9224fc7]
- @acromedia/gesso-core@7.1.2
- @acromedia/gesso-ai@0.2.3
- @acromedia/gesso-cms@7.1.2
- @acromedia/gesso-commerce@7.1.1
7.9.0
Minor Changes
- f806729: - allow using keyboard keys to select items in Select elements
- make Select component more consistent with other text input components
- 725d0ea: fix: validate empty text fields on account page
- be94a26: Fix inconsistencies between account details and account create
Patch Changes
- 9ce8f0b: Update: make adjustments to ProductDetails component styling.
- cce3681: Fix consistency between signin and register boxes
- Updated dependencies [6fa249e]
- Updated dependencies [6fa249e]
- @acromedia/gesso-commerce@7.1.0
7.8.0
Minor Changes
- dca3568: feat: update MenuList component focus state
- 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
- 07b3263: feat: replace Alert component with helpertext in CreateAccountForm
Patch Changes
- ba3e371: Make the product image a clickable link to the product
- c6c80cb: Fix billing address not saving
- 4149c64: Firrst Blog post now displays text and iamge correcty
- ed346bf: Use ellipsis character properly
- 59a54f2: Fix: show company data in AddressBlock
- Updated dependencies [db9e03d]
- Updated dependencies [db9e03d]
- @acromedia/gesso-cms@7.1.1
- @acromedia/gesso-core@7.1.1
- @acromedia/gesso-ai@0.2.2
- @acromedia/gesso-commerce@7.0.2
7.7.2
Patch Changes
- d3e62ca: Generated stories need to have a bit of a hack to work around storybooks static analysis
- 5604987: Add missing story exports
7.7.1
Patch Changes
- 8990395: Fixes address validation logic to correctly handle location overrides and accurately determines payment method availability during checkout.
7.7.0
Minor Changes
- df8c178: feat DynamicPages now fetch content on the server and statically generate at run time if not already built feat Projects can now opt into DynamicPage static generation using environment variable SSG_DYNAMIC_PAGES=true
- f404588: Hoisted recent posts data fetching from BlogPage into individual blog/[id] templates.
Patch Changes
- 9cc3948: Fix: fix issue with close button overlapping search bar in mobile search drawer.
- 2cc31d6: Add: loading state to Orders component.
- e14e94b: Fix: update onPaymentMethodChange type in PaymentMethod component accept passing string instead of FieldValues as its been passing a string and was mistyped.
- 155e81e: Fix: remove positionSticky prop from CartSummary inside complete page.
- Updated dependencies [795a85a]
- Updated dependencies [dab6504]
- @acromedia/gesso-cms@7.1.0
- @acromedia/gesso-ai@0.2.1
- @acromedia/gesso-core@7.1.0
- @acromedia/gesso-commerce@7.0.1
7.6.1
Patch Changes
- cf355b9: Correct broken style import in Disclaimer
7.6.0
Minor Changes
-
4ee353f: feat: update PromptBar component
-
Add isCustomPrompt prop to PromptBar component
-
Add isExpandedButtonPrompt prop to PromptBar component
-
Add buttonPromptText prop to PromptBar component
-
Add buttonPromptControls prop to PromptBar component
-
Add defaultPrompt prop to PromptBar component
-
Add inputHelperText prop to PromptBar component
-
Add placeholder prop to PromptBar component
-
Add new stories to PromptBar component
-
Add new props to GessoAI component
-
Add new stories to GessoAI component
-
-
36a364b: Added ImageWrapper and AICoin components.
-
b485a24: Added AIDisclaimer component.
-
a792a62: Feat: add ai plugins to gesso-ai to allow more dynamic content.
- accordion
- productCard
- footnoteMarker
- aiWhy
- aiFollowUp
- sources
-
641c86c: Added tokens to Menu and NavigationBar components. Added mutation observer that shifts submenus into the display if near edges.
-
99d13e0: Updated CartSummary and CheckoutForm to provide a cleaner mobile experience. Tokens have been added as a byproduct.
Patch Changes
- 0cf7dcd: Pass the msrp price value to the msrp prop of the product card inside the product list component
- 36d7d5a: Updated AI Followup to use the AI Coin component
- 2ba53d1: Fix: don't show region input if no regions in AddressFormV2.
- fc9f979: Fix: set editing to false when saving address form v2 in addresses component and add cancel button.
- Updated dependencies [28950d7]
- Updated dependencies [a792a62]
- @acromedia/gesso-ai@0.2.0
7.5.0
Minor Changes
- 8e9e535: Feat: add AISources component to design-system.
- 317bd13: Feat: add AI FootnoteMarker component to design-system to allow for AI footnotes.
Patch Changes
- f1e7fee: Add new AIWhy "Drawer" component
- Updated dependencies [49c3cf1]
- @acromedia/gesso-ai@0.1.0
7.4.0
Minor Changes
-
a3c8878: Update: CheckoutForm and AddressFormV2 to use new locationInfo from order prop
CheckoutForm:
- deprecate old overrideAddressLocations prop and replace with overrideShippingLocations, overrideBillingLocations
- add onShippingCountryChange, onBillingCountryChange props to handle country change event
AddressFormV2:
- deprecate availableAddressLocations prop and replace with availableCountries and availableRegions
- add onCountryChange prop to handle country change event
Patch Changes
- 54b4ec3: Improve the user experience when interacting with AI components by providing clear loading states and enhancing the quality of AI responses through better schema definitions and prompt handling.
- 1813bd9: Feat: add ability to pass any string to color prop allowing for any color instead of just "primary", "secondary", etc.
- Updated dependencies [a3c8878]
- Updated dependencies [54b4ec3]
- Updated dependencies [a3c8878]
- @acromedia/gesso-core@7.1.0
- @acromedia/gesso-ai@0.0.5
- @acromedia/gesso-commerce@7.0.1
- @acromedia/gesso-cms@7.0.2
7.3.0
Minor Changes
- b0a65f4: Add optional msrp and price label customization to product card.
7.2.0
Minor Changes
-
7e6cd8f: feat: deprecate legacy checkout components for v9
- Add @deprecated tags to old checkout components:
- CheckoutInformation
- CheckoutReview
- CreditCardForm
- AddressForm
- Add @deprecated tags to associated types
- Add @deprecated tags to old checkout components:
7.1.1
Patch Changes
- 3a028cf: Adds opt in for AddressFormV2 in the Addresses component (design system and next packages)
- Updated dependencies [1e70593]
- @acromedia/gesso-cms@7.0.1
7.1.0
Minor Changes
- b9a21db: fix: Card component action button hydration errors
- ef4cae2: fix: add maxQuantity to add cart option rules
7.0.0
Major Changes
-
d8721b7: "@acromedia/gesso-core"
Removed
isSelected
andproductCount
fromBrand
type. RemovedBrandSearchFilter
,ProductAttributeSearchFilter
,ProductPriceFilter
, andCategorySearchFilter
fromFacetType
type. Removedattributes
andbrands
fromFacet
type, usesubFacets
instead. RemovedAttribute
interface from exports.
"@acromedia/gesso-bigcommerce"
Removed
entityId
fromsubFacets
in favour ofid
. Removedtype
fromsubFacets
, instead pass an argument fortags
inuseProductSearch
anduseFacet
"@acromedia/gesso-cms"
Replaced
Content[]
type withContentSearchResult
.getContentSearch
always returns aContentSearchResult
.
"@acromedia/gesso-drupal-commerce"
Removed generic
update
from useCustomerUse more specific update functions instead:
- updateName
- updateEmail
- updatePassword
- addAddress
- updateAddress
- updatePrimaryAddress
- deleteAddress
"@acromedia/gesso-shopify"
Removed deprecated Shopify API attributes.
"@acromedia/gesso-commerce"
Removed feature flag for opting into NextJS AppRouter.
Removed generic
update
from useCustomerUse more specific update functions instead:
- updateName
- updateEmail
- updatePassword
- addAddress
- updateAddress
- updatePrimaryAddress
- deleteAddress
"@acromedia/gesso-next"
Removed support for removed
update
method fromuseCustomer
. Removed support for passing tokens directly toAccountDetailsPage
, instead usechildProps.accountDetails.token
.
"@acromedia/gesso-erp"
UseAccountPlugin
no longer acceptsid
oraccountOptions
.UseAccount
no longer acceptsaccountOptions
.GetAccount
no longer acceptsaccountOptions
.
"@acromedia/gesso-shopify-middleware"
Removed deprecated Shopify API attributes.
"@acromedia/gesso-drupal"
Removed support for old field naming that did not include
_gesso_
. Removed regression testing for old field names.
Minor Changes
- 4dd9862: Add: CheckoutForm, AddressFormV2 and CreditCardFormV2 components.
- 89bcfbf: Fix: add LinkWrapper to ProductCard buttons
- 593ee38: feat: CheckoutInfoPane handle external onClick event
- d8721b7: Upgrade: update MUI to V6, packages include @mui /icons-material /lab /material /system /utils /x-data-grid /x-date-pickers. Please see https://mui.com/material-ui/migration/upgrade-to-v6/, https://mui.com/x/migration/migration-data-grid-v5/ and https://mui.com/x/migration/migration-pickers-v5/ for info on how to upgrade your code.
Patch Changes
- 463096e: Add: allow CreditCardFormV2 to hide submit button and expose submit functionality to ref.
- 92ee5d2: Only try to create a Date if created data was passed in BlogPageResults.
- Updated dependencies [d8721b7]
- Updated dependencies [d8721b7]
- Updated dependencies [e0fabdb]
- Updated dependencies [92ee5d2]
- Updated dependencies [d8721b7]
- Updated dependencies [e0fabdb]
- Updated dependencies [4dd9862]
- Updated dependencies [92ee5d2]
- @acromedia/gesso-core@7.0.0
- @acromedia/gesso-cms@7.0.0
- @acromedia/gesso-commerce@7.0.0
- @acromedia/gesso-ai@0.0.4
6.12.1
Patch Changes
- 45ac2ea: Fixes the CI package deployment and redeploy
6.12.0
Minor Changes
- 7917a25: Add support for HubSpot Forms in EmbedCode components.
Patch Changes
- 77d172a: Export the mui data grid component installed by gesso
6.11.2
Patch Changes
- b482456: Update MUI Accordion styling for first-of-type and last-of-type, fix 'square' calculation.
- 0df1323: Fix: change CartItem price text to body2 and remove currency code.
- 1a1f465: Fixes the horizontal margin on the divider not allowing full width
6.11.1
Patch Changes
- Updated dependencies [79178b6]
- @acromedia/gesso-cms@6.2.1
6.11.0
Minor Changes
- c9ef072: Feat: add export for the Autocomplete component
6.10.0
Minor Changes
- 9e6586b: Introduced a new
confirm
prop to theAddToCart
component. When set totrue
, the component will display theAddToCartConfirm
dialog instead of an alert after a successful form submission.
6.9.2
Patch Changes
- df2aeeb: Feat: render an error in Cart component when responseError is true and add a loading state to counter component when updated.
- b0d622f: Fix: hide the pagination component in the Orders component when there is only one page of orders.
6.9.1
Patch Changes
- f015cf6: add: noResultsText prop to Orders component to allow configuration of the text that shows when no orders are present and adjust the default text to be more clear.
- Updated dependencies [e60450e]
- @acromedia/gesso-commerce@6.2.1
6.9.0
Minor Changes
- a10111f: Feat: add NoResults component. Displays suggestions for what steps to take when there are no results for a search.
Patch Changes
- 846cd85: Remove error warning that that searchbar would create on every load Properly style searchbar so classes are added at the top level instead of part way down Remove some redundant nesting and redundant tokens Remove some unused styling
- 53cadb5: Fixes issue in checkout blocking addresses from saving and allowing user to continue in the checkout.
6.8.0
Minor Changes
- 550d875: Feat: add export of Snackbar, SpeedDial, and NoSsr components
- da18e67: Update types related to Order and PageInfo, moving them to the Core package
Patch Changes
- 822bf4b: Add: getCheckoutUrl prop to Cart component which you can pass your method from the useCart hook instead of trying to grab it from context and causing a race condition.
- ca248ed: Product List: Set responsive scaling attributes for the Product Card images so that images don’t appear skewed on narrow devices.
- 20549bb: Fix: prompt bar not closing on second click.
- 9177fcc: add: enableAI prop to ProductDetails component to show the GessoAI component and add gessoAI to the childProps property to allow for control over the component.
- 036bfd2: Update SlideCarouselWrapper component to align Strap implementations with Figma design. Provides applicable token overrides needed for customization.
- ef8903d: ProductMediaCarousel - Reset the selected image to the first image when the product medias array changes
- 20549bb: Feat: allow ComponentFactory to accept AIContent.
- Updated dependencies [da18e67]
- Updated dependencies [5e47037]
- Updated dependencies [20549bb]
- @acromedia/gesso-cms@6.2.0
- @acromedia/gesso-commerce@6.2.0
- @acromedia/gesso-core@6.2.0
- @acromedia/gesso-ai@0.0.3
6.7.0
Minor Changes
-
4b79bb7: Refactored SearchBar Component:
- Fixed the expandOnFocus functionality by adjusting CSS selectors.
- Added onFocus and onBlur callback props for better focus event handling.
- Deprecated setInFocus and isFocused props in favor of the new callbacks.
6.6.4
Patch Changes
- 0907fd1: Feat: display optionSelections on CartItem component.
- da0e520: Deprecate: handleClick method exposed by ref in AccountSignInForm.
- 8fa5a09: Remove erroneously duplicated css class on the ProductDetails component price field
- da0e520: Add/Deprecate: hideCloseButton this prop can hide the close button in the form until the handleClick method has been removed where the close button will be fully removed.
- Updated dependencies [a98eeac]
- Updated dependencies [a98eeac]
- @acromedia/gesso-core@6.1.4
- @acromedia/gesso-cms@6.1.5
- @acromedia/gesso-commerce@6.1.9
6.6.3
Patch Changes
- df5fab7: Update searchbar component's styling so icons have the same spacing
- f3b68ba: Use product description fields to handle grid/list render logic for the description after deprecating the description prop
- f3b68ba: Make description truncation option and allow it to be applied to the product.description, product.formattedDescription and description props. Deprecate the description prop.
- f3f6a51: Fix: reduce the spacing between product options on product details page to clean up unnecessary white space.
6.6.2
Patch Changes
- ff21b16: Fix: remove uneeded non null checks for currency argument in formatCurrency instances.
- 949b3dd: Update the cartItem's test and fix a bug with increasing quantity amount
- 5521aa2: - Separated the styles for
comp-strap__featured-image
andcomp-strap__secondary-text
in the Strap component CSS.- Modified the
min-height
property in.comp-strap__featured-image
to be applied only when thefeatured
prop is defined.
- Modified the
- 031dc68: Fix: remove expand indicator in CartItem when there is no children to display inside of it.
- Updated dependencies [ff21b16]
- @acromedia/gesso-commerce@6.1.8
6.6.1
Patch Changes
- 593339e: Adds spreading of rest on Results component
- d88281a: Fix: don't allow a user to proceed through the checkout without a payment method.
- 6781c3f: Allow ProductCard child props from ProductList to be fully overridable
- f47bcbc: Add prop to CartSummary, positionSitcky, to control the positioning property of the component
- 079b767: Feat: Add pageChangeCallback, a function that is called with the page number when the pagination component is used. Add totalItems, a prop that allows you to tell the pagination component how many orders there are without passing all the orders directly. Pages will be calculated as totalItems divided by itemsPerPage.
- 39c0dd9: feat: add msrp toggle msrp price label to product details page and toggle to show sale price instead of normal price.
6.6.0
Minor Changes
- a380ab0: Create the Product Page Skeleton component and implement it into the ProductPage component in the Next package
Patch Changes
- c49be5c: Update: make the orders component have a load more pagination strategy variant. add a loadMoreCallback prop to fire when the load more button is clicked and add a payload prop to pass the payload to so the load more button knows when to render and when to hide itself.
- 3bcf44c: conditionally render a subtitle under the product title on the product details component
- 7f0bf53: This update ensures better alignment and behavior of vertical tabs and their content panels, particularly when dealing with long labels or larger panel content.
- d38edfc: Fix: allow a user to proceed through CheckoutInformation if a shipping method exists not if a shipping method has been selected at some point during editing as the former allows a method to still be selected even if the shipping methods are no longer showing.
- 19ef598: Fix: allow payment method info pane in checkout review to accept data and not be hardcoded.
- 63b9352: Fix: show the postal code in the shipping information pane during checkout if the country is equal to canada otherwise show the zip code.
- Updated dependencies [3bcf44c]
- @acromedia/gesso-core@6.1.3
- @acromedia/gesso-cms@6.1.4
- @acromedia/gesso-commerce@6.1.7
6.5.0
Minor Changes
- 5ea0dce: Create the AI Response Listing Layout component named ResultsListing
- 5ea0dce: Create the GessoAI component that compiles the AI Prompt Bar and Results Listing components
- 27b2914: 404 Error Handling: Implemented a Custom404 component.
- 89c8519: Add input limitation to the creditCardForm component
Patch Changes
-
8879d5a: Update: add editable shipping info to the checkout information form so shipping methods can be properly updated before proceeding through the checkout.
-
3d49115: Fix: fix box console errors and background prop rendering [object object]
-
3d062c8: Address form prefers zip code if country is US else postal code rather than just prefering postal code if it is present
-
3d062c8: Checkout Information checks the order for the shipping address to prefil the form. If no shipping address is present on the order it checks the customer's address book. Address from the order is always preferred.
-
26def87: Fix: box textMode light should not apply to Button
-
452e34e: Add the sticky positioning to the cartSummary component in non-mobile circumstances
-
70b7a36: Fix: refactor AccountDetails component to handle its own messaging with new onEdit prop.
Deprecate: deprecate editCallback prop in favour for onEdit.
-
26def87: Fix: fix Button error - React does not recognize the labelColor prop on a DOM element
-
Updated dependencies [83259b2]
-
Updated dependencies [ae8c363]
- @acromedia/gesso-cms@6.1.3
- @acromedia/gesso-commerce@6.1.6
6.4.1
Patch Changes
-
41cffe1: Make the secure payment link in CheckoutInformation optional
-
5ae15b0: Expose additional button controls for card and productCard through the cardActions prop
-
bd18e06: Make the order summary labels in OrderDetails configurable by props
-
66ed396: Deprecate: ShippingMethodsOptions removing in V8 from design-system import from core instead.
-
3e157c4: Fix: switch shippingMethods in checkout form to use react hook form so its data is included in the submit data.
-
b2795f6: Fix: capitalize the "Order Placed" subtitle to match the rest of the subtitles on the OrderBlock component.
-
3bb5d7a: Update: allow email field in CheckoutInformation to be locked to prevent editing with the
lockEmailField
prop.Update: allow hiding the edit button on CheckoutInfoPane with the
immutable
prop. -
Updated dependencies [7f61668]
-
Updated dependencies [66ed396]
-
Updated dependencies [66ed396]
- @acromedia/gesso-commerce@6.1.5
- @acromedia/gesso-core@6.1.2
- @acromedia/gesso-cms@6.1.2
6.4.0
Minor Changes
- 8a59d52: feat: adds the AI ResponseCard component.
- 26fa104: Create the ResourceCard component
Patch Changes
- Updated dependencies [baa721c]
- @acromedia/gesso-core@6.1.1
- @acromedia/gesso-cms@6.1.1
- @acromedia/gesso-commerce@6.1.4
6.3.0
Minor Changes
- f9d68c6: Create the AI promptBar component
Patch Changes
- fff76de: Styles were also added to the SlideCarouselWrapper to make straps 100% width when using the arrows inside option
- Updated dependencies [80eddc0]
- @acromedia/gesso-commerce@6.1.3
6.2.1
Patch Changes
- ab8efe6: Include the shipping information in the use order plugin and apply to OrderDetails component
- 0902248: Allow an optional and configurable purchase order field on a gesso order
- Updated dependencies [eae6356]
- Updated dependencies [0902248]
- Updated dependencies [eae6356]
- Updated dependencies [eae6356]
- @acromedia/gesso-commerce@6.1.2
- @acromedia/gesso-cms@6.1.0
6.2.0
Minor Changes
- 8d232d0: - Replaced manual state management in
AccountSignInform
component with react-hook-form for more efficient and streamlined form state management. Leverages react-hook-form's error management system, displaying errors using theAlert
component.- Added a new
customErrorMessage
prop to theAccountSignInForm
component. This prop allows developers to specify a custom error message to be displayed when an authentication error occurs during the sign-in process. The custom message will override the default error message from the API response. - Updated the
Checkbox
component to useReact.forwardRef
for proper ref forwarding. This fix is necessary to support use cases where refs are required, such as integrations with react-hook-form which needs direct access to the DOM element.
- Added a new
Patch Changes
-
62b2dea: Add another optional chain after looking at the first index of product medias in Product List to prevent type errors breaking page render.
-
282522c: # Account Details Component Updates
Edit Actions Refactor in AccountDetails
- The Button components for edit actions on the Name and Email fields have been replaced with IconButton and Icon components for a more streamlined look.
Button Alignment in AccountDetailsEdit
- A Box component now contains the save and cancel buttons.
- These buttons are aligned to the start using
justifyContent="flex-start"
.
Button Style Update
In both the AccountDetails and AccountDetailsEdit components:
- The Button components used for the save and change password actions have been updated to use the
outlined
variant.
-
c37fdc6: Addressed UX concern where the ‘Cancel’ button is positioned far to the right in AddressForm implementations utilizing the formButtons prop.
-
e8fa722: TS type fixes
-
9dfabab: Move layout-related files from one folder to another, components to layouts
-
ad63a2e: fix: adjustments to support minimum 320px screen width
-
Updated dependencies [e8fa722]
-
Updated dependencies [d0235aa]
-
Updated dependencies [0a5c916]
- @acromedia/gesso-cms@6.0.1
- @acromedia/gesso-commerce@6.1.1
- @acromedia/gesso-core@6.1.0
6.1.0
Minor Changes
- e39fdba: Move alert notifications for account detail fields into account details component. Updates to account data will display a notification in account details.
- 6b85fa6: Add Blog Page Details component along with storybook layout. This is ported from previous work on Concept 2 and gives a default layout for a Blog Page with underlying recent post, breadcrumbs and socials components.
- 052acb2: exports the following MUI components from Gesso: MaterialMenu, MaterialDialog, AdapterDayjs, DatePicker, LocalizationProvider.
Patch Changes
- c6b4a7e: Update postal code functionality in the AddressForm
- a03e68b: Fix: make paymentMethod use react hook form and fix province not being able to be filled out.
- 8c5d305: Replace credit card related package and address bug
6.0.1
Patch Changes
- Updated dependencies [26b270a]
- @acromedia/gesso-commerce@6.1.0
6.0.0
Major Changes
-
609c5e9: ### Gesso Theme: Deprecated Tokens Removed
The
theme.tokens.colors.paletteBorderMain
token has been renmoved and replaced withpaletteBorderMedium
.Changes:
- Removed the
getCompatibleBorderColor
helper function that had been providing backwards compatibility for the oldpaletteBorderMain
token.
Impact:
- Any project still utilizing the
paletteBorderMain
token will need to be updated to use thepaletteBorderMedium token
. This will require the designer for the project creating the new token in Figma and removing the old one, if not already done. The simplest path forward would be to create the newpaletteBorderMedium
token and assign it the value that had been used bypaletteBorderMain
.
Example Update:
border:`${theme.tokens?.borderWidths.fine} solid ${theme.tokens.colors.paletteBorderMedium}`,
Gesso Components: Deprecated Props Removed
Changes:
AccountSignInForm
- removes handleClickCallback prop
AddToCart
- removes buttonText, submitMessage, callback, message, and failMessage props. Use buttons instead:
buttons?: {
text?: React.ReactNode;
callback?: (
formData: Record<string, unknown>,
) =>
| void
| Promise<void>
| Response<ReactNode | false>
| Promise<Response<ReactNode | false>>;
buttonProps?: Partial<
Omit<ButtonProps, 'children' | 'type' | 'href' | 'linkwrapper'>
>;
}[];AddressForm
- removes companyName, streetAddress, streetAddress2, cityName, countryName, provinceName, and zipPostal code props.
- use company, addressLine1, addressLine2, city, country, province, and postalCode props instead.
Cart
- primaryAction and secondaryAction are replaced by cartActions.
- currency, cartItems, and cartSummary are replaced by passing cart.payload directly to Cart component. This will use cart.currency, cart.items, and cart.adjustments as needed.
CartSummary
- primaryAction and secondaryAction are replaced by cartActions.
ComponentFactory
- Removed support for the deprecated
ComponentFactoryPlugin
type. - Now only accepts plugins of type
ComponentFactoryPluginV2<any>
.
export type ComponentFactoryPluginV2<T> = (props: {
data: T | ComponentFactoryData;
pluginManager: PluginManager;
config?: ComponentFactoryConfig;
[key: string]: unknown;
}) => JSX.Element | null;FacetCheckbox
- Removes the original FacetCheckbox component
- Use FacetCheckboxV3 or FacetCheckboxV2 (deprecated) instead.
- Internal implementations within Gesso have already been updated with this change.
Link
- Removed the support for
ColorOptions
as a value forfocusColor
. - Now,
focusColor
exclusively accepts an object withtextColor
andbackgroundColor
properties, both of typeColorOptions
. This provides more precise control over the focus state styling of the Link component.
ProductCard
-
cardLink
: Removed thecardLink
prop, which has been replaced by the more flexiblecardActions
prop. -
cardLinkText
: Removed thecardLinkText
prop, as it is no longer needed with thecardActions
prop. -
cardLinkControl
: Removed thecardLinkControl
prop, as theonClick
handler can now be specified within eachcardAction
object. -
endIcon
: Removed theendIcon
prop ,as this can now be specified within eachcardAction
object. -
startIcon
: Removed thestartIcon
prop, as this can now be specified within eachcardAction
object. -
Child Props:
cardLinkTextButton
: Removed thecardLinkTextButton
property from thechildProps
object.buttonEndIcon
: Removed thebuttonEndIcon
property from thechildProps
object.buttonStartIcon
: Removed thebuttonStartIcon
property from thechildProps
object.cardMedia.link
: Removed thecardMedia.link
property from thechildProps
object.
Migration Guide:
If you were previously using the
cardLink
,cardLinkText
, orcardLinkControl
props, please update your code to use thecardActions
prop instead. Here's an example:// Old usage
<ProductCard cardLink="/product/123" cardLinkText="View Product" cardLinkControl={myHandler} />
// New usage
<ProductCard cardActions={[{ title: 'View Product', onClick: myHandler }]} />ProductDetails
callback
: Removed the deprecatedcallback
prop. Functionality should be implemented usingchildProps
instead.submitMessage
: Removed the deprecatedsubmitMessage
prop. If needed, custom messages related to form submission should be handled directly withinchildProps
instead.
Strap
featureImage
: Removed the deprecatedfeatureImage
prop. Functionality should be implemented usingfeatured.image
instead.
- Removed the
Patch Changes
- 43b2ba1: Revert the ComponentFactoryPlugins generic type constraint from ComponentFactoryData to any.
- Updated dependencies [609c5e9]
- Updated dependencies [609c5e9]
- Updated dependencies [609c5e9]
- @acromedia/gesso-commerce@6.0.0
- @acromedia/gesso-cms@6.0.0
- @acromedia/gesso-core@6.0.0
5.14.0
Minor Changes
- b1ea1e9: Use agnostic library that doesn't rely on the browser or node.js to decode HTML entities.
- b2e0330: Create the ResourceCard component
- fb6b39f: Add a new layout component called BlogPageDetails. This includes nested components of BlogPageRecentPosts and BlogPageRelatedArticles. These components provide out of the box solutions to scaffold a blog page with it's default features of related articles and social links. This work is ported from Concept 2 and leveraged in starter-kit through our next package.
Patch Changes
- a659ee8: - Ensures that different representations of American country name (i.e. US, United States, United States of America) are handled consistently in instances of AddressForm by utilizing normalizeCountry consistently to ensure country names are properly normalized without redundant functions.
- When toggling "billing address same as shipping" to false in CheckoutInformation, shipping address info will no longer be cleared from the form.
- 12c1203: Add optional chaining to checkbox items for possible fail states with facet data not being found, this prevents the renderer breaking when certain facet combinations are used.
- b358a3d: - Allow enabling the phone number field without setting a default value.
- Allow making optional fields required.
- Expose address form props from CheckoutInformation through childProps.
- Updated dependencies [cc252ca]
- @acromedia/gesso-core@5.3.2
- @acromedia/gesso-cms@5.2.3
- @acromedia/gesso-commerce@5.4.2
5.13.1
Patch Changes
- b1e515e: Adjust context so they are not immediately created and only created if needed, currently behind a feature flag for backwards compatibility
- d6900b6: add: add to cart controls to product card to allow variation selection, adjusting quantity and adding an item to cart.
- 75fab94: add: formData for Account Password editCallback in AccountDetailsEdit to support password reset workflows in Drupal Commerce.
- Updated dependencies [b1e515e]
- @acromedia/gesso-commerce@5.4.1
5.13.0
Minor Changes
- 2b606f9: Add conditional changes for items being optional in cart items.
Patch Changes
- Updated dependencies [2b606f9]
- Updated dependencies [2b606f9]
- @acromedia/gesso-commerce@5.4.0
- @acromedia/gesso-core@5.3.1
5.12.0
Minor Changes
- 90eb422: feat: add ability to render an error message via Alert in Cart component
Patch Changes
- 5ee9ea6: fix: add error messaging to product card.
- 7e0d3f5: Add: update product card to accept additonal info placed under the SKU using the additionalInfo prop, display a price lable using the priceLabel prop and only show one sentance of the product description when using the description prop.
5.11.2
Patch Changes
- fbddf5b: Fixes FacetCheckboxV3 so an item expands when a child is checked
5.11.1
Patch Changes
- 04d626a: Correct failing test in SearchBar that was searching for an item that didn't exist.
5.11.0
Minor Changes
- 890596e: Feat: add focus-visible state to Link and NativeHTML links
Patch Changes
- 962c6ac: Fix: remove hardcoded font families from theme
- 6474d65: Fix the rendering of the searchbar inside of the headertoolbar to maintain ref
- 365cd68: Feat: add ability to override Button label colors
5.10.2
Patch Changes
- 70a399b: Fix: allow making fields immutable in account details.
- 13a8b3f: Fix: update order component to allow showing additional adjustments.
- Updated dependencies [13a8b3f]
- @acromedia/gesso-commerce@5.3.9
5.10.1
Patch Changes
-
12c2d76: Fix: Prevent premature address changes in
AddressForm
Before:
- Address changes were triggered as soon as the form was valid, even if the user had not clicked the save button.
After:
- Address changes are only triggered when the user clicks the save button, if
formButtons
are present.
5.10.0
Minor Changes
- d1218eb: - Make
childProps
andProductCard
tokens
available throughProductList
to provide additional configuration and overrides for cases where customization is required ex: setting media height to be different than what is provided from the API response.- Default
ProductCard
to usemediaHeight
prop for image height if it is provided, otherwise use what is provided from the API response.
- Default
- 4d306a3: Refactor SlideCarouselWrapper and ProductMediaCarousel
- 6f94395: Migrating decodeHTMLEntities to only impact clientside components.
Patch Changes
- fcebaa4: Fix: add linkWrappers to checkoutReview
- 06377c8: Update: update ProductDetails to include a summary description, product alert and price label.
- c5e676f: Feat: add ability to set typography defaults in createGessoTheme, use theme fontFamilies in NativeHTML
- dbc9b6b: Fix: update isSignedIn to use state as to prevent hydration errors.
- 525f98a: remove unnecessary ternary in CartSummary onClick declaration which was causing secondary actions to be undefined in environments using a redirectUrl for checkout.
- 4db15347a: Add: review section override on ProductDetails component to allow the changing of the review section.
- Updated dependencies [6f94395]
- @acromedia/gesso-core@5.3.0
- @acromedia/gesso-commerce@5.3.8
5.9.0
Minor Changes
-
2219831: - Add react-hook-form field validation to
CheckoutInformation
,AddressForm
,CreditCardForm
components.-
AddressForm
:- Add optional
useFields
prop for scenarios where fields need to be embedded within a larger form. - Add optional
namespace
prop to ensure form state and validation contexts are unique to each instance where theAddressForm
may be used multiple times within a parent component (e.g., an instance for Shipping and another for Billing within the same parent form). - Existing
formButtons.submitCallback
prop aligned with react-hook-formhandleSubmit
for form validation.
- Add optional
-
CreditCardForm
:- Also receives optional
useFields
prop for purposes described above. - Exposes optional
onSubmit
callback function for form submission. - Add optional
onToggleBillingAddress
andbillingAddressSameAsShipping
props to give a parent component greater control over the checkbox for billing address behavior.
- Also receives optional
-
CheckoutInformation
:- Exposes optional
onSubmit
callback function for form submission. - Deprecates
primaryAction
prop in favor ofcartActions
for consistency with other components. - Conditionally renders
shippingMethods
based on if a value is provided for the prop. - Replaces internal use of
Spacer
by exposing token overrides forpadding
for increased customization. - Moves
CheckoutInformation
to theCheckout
directory to align with other Checkout layouts.
- Exposes optional
-
TextField
: ProvideforwardRef
from a parent component down to theMaterialTextField
. -
Add optional
disabled
boolean key to theCartSummaryActions
interface, update Storybook documentation where this interface is used.
-
-
fbe9e02: Add skeleton for ContentPage.
Patch Changes
-
167a4d1: Update slideCarouselWrapper's pagination dots and arrows styling when placed inside
-
3ba683b: - Remove paddingTop from BlogPageListing's root Section component for consistency with other layouts.
- Add optional stackInputsBreakpoint and stackMenuBreakpoint props to BlogPageListing / BlogPageTopController to allow flexibility of when useMediaQuery should be triggered to stack SearchBar, Select, and Menu components respectively.
-
f0a0b57: Add appropriate margin to FacetCheckboxV3 and expose applicable token overrides
-
167a4d1: Add showArrowsInside and showPaginationDotsInside to the SlideCarouselWrapper component
-
78bcf0b: Update Header component for further customization
-
460b9b3: fix: stop header container styles from affecting deeper containers
-
Updated dependencies [00be2ab]
- @acromedia/gesso-commerce@5.3.7
5.8.1
Patch Changes
- bbf5d9d: Fix: base the primary status on the actuall addresses primary status from the respective platform instead of state.
- Updated dependencies [bbf5d9d]
- Updated dependencies [5b09db0]
- @acromedia/gesso-commerce@5.3.6
5.8.0
Minor Changes
- d5d1a57: Add background video support to the Strap component
- f1feb11: - Add BlogPageListing and subcomponents.
- Add onClear prop to SearchBar component to provide a way for a parent component to manage the clearing behavior of the search input field.
- Pulls gutterTop out of ...rest in Typography component to resolve an unrecognized DOM element error.
Patch Changes
- 5ebf83a: Fix: add default return to AccountDetails edit form.
5.7.0
Minor Changes
- b39128b: Add startIcon, endIcon, and childProps to the Card component
Patch Changes
- 23c1a77: Add option for current password fields in account details component to allow editing password and email on platforms that need the current user password to complete the request.
5.6.2
Patch Changes
- 78e6a60: Remove sign in form from desktop account menu and refactor jsx return inside account menu component.
- 666d5cd: - Fixed an issue where icons were not displayed correctly due to the default display property being changed to flex.
- Introduced new display options (inline, flex, inline-flex) for the display prop in the Icon component.
- Reverted the default value of the display prop to inline-block.
- Updated the display prop description in the Storybook configuration to include the new options: inline, flex, inline-flex.
- Updated the Icon components used in SlideCarouselWrapper to use display="flex" where necessary.
- 10f3d12: Add showArrowsInside and showPaginationDotsInside to the SlideCarouselWrapper component
- Updated dependencies [b07a19a]
- Updated dependencies [499474f]
- @acromedia/gesso-core@5.2.4
- @acromedia/gesso-commerce@5.3.5
5.6.1
Patch Changes
- Updated dependencies [fde46e7]
- @acromedia/gesso-commerce@5.3.4
5.6.0
Minor Changes
- eda72b5: Implemented error and success messages on account edit and accountCreate
Patch Changes
- Updated dependencies [eda72b5]
- @acromedia/gesso-core@5.2.3
- @acromedia/gesso-commerce@5.3.3
5.5.2
Patch Changes
- 0e9f670: Fix SearchBar mobile prop functionality
5.5.1
Patch Changes
- 0a0003c: Adjusted the returned properties in the CreditCardForm component's getSummaryInfo method.
5.5.0
Minor Changes
- 25f0f58: Added stepper to the CheckoutInformation, CheckoutReview, and CheckoutComplete components. Added a stepData prop to control stepper labels and rendering of the stepper.
Patch Changes
- cd1c365: Fix: add proper useEffects to checkoutInformation component so the onChange callbacks get up to date values, fix console.errors to do with the component and its sub components, and deprecate address and email prop.
- 7fb0e47: Correct storybook description syntax to render consistently across browsers (looking at you, Firefox)
5.4.5
Patch Changes
- 14d5d74: Correct figmagic font family import and add prettier to figmagic script
5.4.4
Patch Changes
- 052daa0: export the Ratings and RatingsList components from Gesso so they are available for use in projects.
- cb958d2: Adjusted the Counter component to render the list as a div instead of an unordered list.
5.4.3
Patch Changes
- b187c95: fix: replace name field in account details with first and last name fields when editing.
- 7e198e6: Fix: add brand query to brand link and add catalog url prop so your able to change where it links to in productDetails.
5.4.2
Patch Changes
- b5c25d676: Adjusted build external flagging to work better in all locations, previously it could falsely include other Gesso libraries
- Updated dependencies [fe3a065c2]
- Updated dependencies [af19949e5]
- @acromedia/gesso-commerce@5.3.2
- @acromedia/gesso-core@5.2.2
5.4.1
Patch Changes
- 908c2a2: Fix: long product titles no longer overlap with description control and heart icon no longer is cut off on mobile.
- 13d0017: Select correctly passes the remaining type options through to material select
- Updated dependencies [29d64f7]
- @acromedia/gesso-core@5.2.1
- @acromedia/gesso-commerce@5.3.1
5.4.0
Minor Changes
- 5c546ef: - Add skeleton for CartSummary and update internal implementations of Cart, CartSummary, CheckoutComplete, CheckoutReview components.
- Add css to handle breakpoint between md/lg for Cart and CartItem to resolve issue where elements collided with eachother between screen sizes. Token overrides provided.
- 610dd9e: Add skeleton for Cards/ProductCards and update internal implementations (ProductList/catalog) where loading indication is needed
- 6efc229: Add skeleton for CartItem and components based off of CartItem (Orders)
Patch Changes
- 42f1781: Shopify now correctly returns the checkout url
5.3.0
Minor Changes
- 588e2b1: Add skeleton for Facets/FacetsContainer
Patch Changes
- 619e0ac: Unpack marginTop and marginBottom from props using destructuring in Divider.
- Updated dependencies [9dbfed6]
- Updated dependencies [ede7130]
- @acromedia/gesso-core@5.2.0
- @acromedia/gesso-commerce@5.3.0
5.2.0
Minor Changes
- 81ae8bf: - feat: add ability to optionally pass a full Product response directly into ProductCard
- feat: align formatting of prices across Product related components (ProductCard, ProductList, ProductDetails)
- refactor: adjusts internal prop assignments that are now handled the same by passing product directly to Product Card in related components (Product List, Product Details)
- afdf358: Add child support to product details
- 24e76cb: Added FacetCheckBoxV3 which supports facet meta data for matching with API calls
- 24e76cb: Changed catalog.tsx to properly run via API and work with any sized product catalog, instead of just working with a limited set in-page
- e10e52b: Implemented the ability to change defaut address in the backend rather than just hold the address in state on the frontEnd
Patch Changes
- 81ae8bf: - removes duplicate id prop in AddressBlock that was causing a build error
- make ReviewItems props optional in Ratings component to align with Product Reviews interface from core
- 6d8e562: fixed the facetPriceRange so that the inputs are cleared when the ranges are erased in the above component
- 8f9c3c8: adjusts OrderDetails and OrderBlock components to format status data in a consistent manner
- 24e76cb: Added disabled option to FacetPriceRange
- 517db02: Adds password reset functions to shopify plugin, Adds password reset flow to starter-kit
- Updated dependencies [8f9c3c8]
- Updated dependencies [24e76cb]
- Updated dependencies [8f9c3c8]
- Updated dependencies [517db02]
- Updated dependencies [e10e52b]
- @acromedia/gesso-core@5.1.0
- @acromedia/gesso-commerce@5.2.0
5.1.0
Minor Changes
- ee01bc1: Add exception for when related products has less than four items to maintain alignment for product cards. Adjust styling to keep related product section in column.
- 222a9fb: Passed getCheckoutUrl and create condition to decide where to redirect customer
- c5392ef: Deprecates MenuData.children and introduces MenuData.links to better align with cms-provider Menu interface. Supports backwards compatibility for children and updates internal implementations to prefer links.
Patch Changes
- 7c33ff1: remove some leftover console.log
- 34e0807: Adjusted the AddressForm component to correctly take in an id from it's parent component.
- be7e52e: Added loader skeleton to Icon component
- de7fa73: fix: add id to address component so it can be passed in responses and add logic to normalize country and province props.
- 7dd18c6: dropdown menus close on focusOut
- 352ef12: Update dependencies and clean up dependency tree
- Updated dependencies [34e0807]
- Updated dependencies [de7fa73]
- Updated dependencies [5a2fc8b]
- Updated dependencies [2386c76]
- Updated dependencies [352ef12]
- Updated dependencies [478fe55]
- @acromedia/gesso-commerce@5.1.0
- @acromedia/gesso-core@5.0.1
5.0.0
Major Changes
-
bff9b4a: ## Components
AcountMenu
- Token override
submenu.boxShadow
is now typestring
instead ofTokenShadowValue
AccountSignInForm
secondaryMenu
prop has been removed
Card
textAlign
prop has been removed
CarouselWrapper
- All
Swiper
refrences have been removed
CartItem
- Removed
removeProduct
useremoveProductCallback
CreateAccount
- Removed
buttonVariant
usebutton
Dialog
- Token override
paper.boxShadow
is now typestring
instead ofTokenShadowValue
Divider
Removed props
backgroundImage
backgroundColor
use
background
and its color and image propsFacetCheckbox
- Removed
dense
prop use spacing
FacetCheckboxV2
- Removed
dense
prop use spacing
FacetGroup
childrenComponent
prop has been removed
GridItem
Removed props
backgroundColor
backgroundImage
backgroundImageSize
alignItems
justifyContent
IconButton
padding
prop has been removed
MenuList
- all
boxShadow
token overrides are now typestring
instead of TokenShadowValue
ProductCard
root.boxShadow
token override is now typestring
instead of TokenShadowValue
SearchBar
Removed props
closeDrawer
startOpen
drawerOpen
showCloseButton
drawerCallback
Section
Removed props
backgroundColor
backgroundImage
backgroundImageSize
use
background
and its image, color and size propsStrap
Removed props
backgroundColor
backgroundImage
use
background
and its image and color propsRemoved Components
Gesso V5 removes a few of our componenets these are as follows
CardGroupCarousel
HeroBanner
LogoCarousel
The functionality of all these can be done with
SlideCarouselWrapper
Tokens
Removed Tokens
The token
shadows
undertheme.tokens
has been removedHelpers
Removed Mixins
The following mixins have been removed
dsMargin
dsMarginSingle
dsMarginX
dsMarginY
dsPadding
dsPaddingSingle
dsPaddingX
dsPaddingY
- Token override
Patch Changes
- Updated dependencies [e840dfc]
- Updated dependencies [bff9b4a]
- Updated dependencies [bff9b4a]
- @acromedia/gesso-commerce@5.0.0
- @acromedia/gesso-core@5.0.0
4.25.0
Minor Changes
- 39fe056: added functionality to disable checkout button when no Items are in the cart summary
Patch Changes
- 477baa9: Correct AddToCartOptions to pass required to select component, which disables selecting "None" when required
- 1ef5633: update usages of height prop in Spacer to use closest matching token or component default
- 046bd9a: Added forced page scroll to top to ProductList
- 547271c: Adjusted the alignment of menu items in the HeaderToolbar's Drawer component for mobile.
- d870c12: add clickable styles to invoiceTable title for mobile views
- 94dec38: removed tabIndex from MenuList as the Links are always going to create a tabIndex and this was adding an extra tab press before reaching the next li
4.24.1
Patch Changes
- Updated dependencies [d8a41f2]
- @acromedia/gesso-commerce@4.10.4
4.24.0
Minor Changes
- 6577137: Adjust order total calculation to not factor discount in big commerce. This calculation is inaccurate. Move discount display just above order total as this subtraction is done last.
Patch Changes
- 5c1e69c: Use cart item productId for cart urls. This ensures bigcommerce product pages display changes as expected when product options change.
- 586a97b: Allow none to be a select box option when not required
- 36b863c: Fix: add missing onClick prop to mobile menu inside AccountMenu.
- 34a1971: Adjusted the Footer component to use an Mui Container component and adjusted the MenuList styling for the alt3MenuHorizontal variant to render a pipe instead of a bullet point on list items.
- 56ad5f9: Add: shoppingCartIcon now has a prop
mobileBreakpoint
to change when the mobile version of the component is shown.
4.23.4
Patch Changes
- 861f143: Correct product details to use the main and sku from bigcommerce, not do its own logic
4.23.3
Patch Changes
- d85aea8: fixed hydration issue caused by the use of UUID in textField.tsx
4.23.2
Patch Changes
- 3533f88: Corrected issue where swatch was not using the correct value
- 3533f88: Backported and simplified product select logic so it is no longer required in page template
4.23.1
Patch Changes
- 126559a: AddToCart would show the required styling for all fields
- 126559a: Add to cart button will disable if required options are not selected
- 126559a: Allow AddToCart button text to be optional so it can use automatic defaults
4.23.0
Minor Changes
- 44e261b: changed [id] page to pass the product and removed the need to modify it
- 44e261b: Added price and sku to productoptions for use on the frontEnd
Patch Changes
- cd78ca2: fix: override default MUI input placeholder opacity in theme to resolve accessibility concern. Input text set to textPrimary, placeholder text set to textSecondary.
- Updated dependencies [44e261b]
- @acromedia/gesso-core@4.9.0
- @acromedia/gesso-commerce@4.10.3
4.22.0
Minor Changes
- 68bc4e8: Remove color styling in link based off variant of the text and adjust prop to allow for text focus color customization.
- 9baacde: Add mobile menu for accounts dropdown inside drawer.
Patch Changes
- 2e780cc: Fix issue with passing unwanted css props from Link to children
- 3aab25e: Fix: Cast buttonColor as any as the expected type is the default mui palette until it is wrapped in themeProvider.
- Updated dependencies [e95eefc]
- @acromedia/gesso-core@4.8.4
- @acromedia/gesso-commerce@4.10.2
4.21.0
Minor Changes
- 5b6dc72: Implemented react hook form
Patch Changes
- 98712f5: Address the issue with Counter component's addButton tokens
- 1612222: Add border to contained button variant and text variant to match outlined variant
- f8b0e1a: Fix undefined values overwriting component defaults
- 0fa3efa: Fix: Edit invoices component to handle new data
- Updated dependencies [89d020c]
- Updated dependencies [0a5b573]
- Updated dependencies [0fa3efa]
- @acromedia/gesso-commerce@4.10.1
- @acromedia/gesso-core@4.8.3
4.20.0
Minor Changes
- 2982e25: Adds variant prop control and styling defaults based on variant to Link component. Also updates focus and visited states to desired UX. NativeHTML is aligned with the changes, and various components receive minor related updates per UX.
Patch Changes
- 2ee50c4: Fix: restore defaultValue functionality in addToCartOption
- 889d371: Adjust the token values for the counter component's radii
4.19.2
Patch Changes
- 94d1584: Deprecate button on ProductCard and add ability to accept more than one button
- ce17a8a: Fix: add no results text and convert strings to dates before formating them
- ed32eed: fix: switch to page one when there is not enough products to fill up to current page
- 5519b9b: Changed cart summary to show for empty cart.
- 306cf36: Update NativeHTML typography headings to properly use minimum font size tokens on mobile
- 3d01ae2: Fix: only allow first column of cart item (img) to take up 25% of the cartItem component
- aba8317: exposes Loading Button from MUI/Lab package. Storybook example included.
- 1bb8dcb: feat(productDetails): handle default value for totalReviews
- d8c544c: Fix: add back overflowX css property to fix side scrolling issue
- 54f1216: Remove outdated license settings in package.json
- cb914c1: Add more token overrides for counter component
- a257243: Corrected spelling error on formattedDescription. Adjusted shopify Product to use formattedDescription as other libraries do.
- Updated dependencies [f9ab59d]
- Updated dependencies [427f62f]
- Updated dependencies [54f1216]
- Updated dependencies [a257243]
- @acromedia/gesso-commerce@4.10.0
- @acromedia/gesso-core@4.8.2
4.19.1
Patch Changes
- c41cec4: add missing breakpoint check that was causing cartSummary to appear below cartItems in cart
4.19.0
Minor Changes
- 5afc784: Updated the product card to render price ranges if the unit price is unavailable. Adjusted the shopify package to use price range if there is no variant supplied.
- acdc991: add: invoices page component and invoice details page component
- fa9550e: Any usage of ProductCard now uses product.id for the url instead of product.sku
Patch Changes
- dcbeba7: Change the card content text wrapper to be a Box(div) instead of a body2 (p tag) for nextjs hydration purposes
- d974f44: correct spacing prop usage in FaceCheckbox
- Updated dependencies [fa9550e]
- Updated dependencies [8606ed3]
- Updated dependencies [5afc784]
- Updated dependencies [11e619c]
- @acromedia/gesso-commerce@4.9.0
- @acromedia/gesso-core@4.8.1
4.18.0
Minor Changes
- 8990ef8: Changed product hook to return html description and use it in ProductDetails component
Patch Changes
- 3b16e0d: Added default case of string to setDividerColor helper to allow handling of a valid css hex code in Divider component.
- aaaed5d: add getMediaProperty helper to ProductList component to provide default value in cases where product.medias is undefined in bigcommerce response.
- aee5fe2: Fixed the padding in account menu signed in variant
- 363c90f: Fixes issue with Account Menu not supporting onClick
- 45d4d78: fixed the header hover on smaller screens
- cd6b73be: Divider has an erroneous override of background image that caused an undefined background image
- aaaed5d: pulls latest tokens from Figma - graphics and colors
- 2f4f054e: Adjust spacing to enhance UX in the Navigation Bar's Menu List Items to make them more responsive to mouseover
- 1bc2882: Made optional paletteBorderMain as it has been deprecated
- Updated dependencies [8990ef8]
- Updated dependencies [1bc2882]
- Updated dependencies [72b712a7]
- @acromedia/gesso-core@4.8.0
- @acromedia/gesso-commerce@4.8.0
4.17.0
Minor Changes
- a3a7020: Adds getForm handler and form plugins for component factory
4.16.1
Patch Changes
- Updated dependencies [f849e7c]
- @acromedia/gesso-commerce@4.7.0
4.16.0
Minor Changes
- 861f889f: added the compact functionality to button component
- 6e0c182a: feat: adds startIcon/endIcon and childProps functionality to ProductCard
- a1dff1d2: Adds rendering an array of ProductOptions/properties to Orders and OrderDetails components. Updates Cart to also support properties received as an array while maintaining backwards compatibility for a single properties object.
- e8e54cb4: add edit form to each piece of data in customer details
- 3f5bf9bc: Add support for addOns as part of CartItem properties. Adjust starter kit formData so payload can handle big commerce customizations in add cart.
Patch Changes
- d3022ad0: Assigned the productOption's imageUrl to the Swatches component's img property from within the AddToCartOption component.
- 153e6575: Adjusted the ProductDetails component test
- ff2b4af2: Adjust the styling of the AccountSignInForm
- 1cbe3514: Add styling for an empty cart
- 8cca013e: Change Cart CTA link
- 3b5b773e: Adjust email validation to accept special characters
- 3431f07a: Added a description on how to implement other color tokens
- 1cfb754c: Change verbiage within checkout flow
- 69a7eac7: Add padding back to MenuList
- 92ba8fe5: fix linkwrapper in prop in signInForm and createAccount
- d50d1442: fix for contentDisableGutters props
- 65092bc5: Adjusted the quantity counter to render last in the AddToCartOption component and connected the AddToCartOption css to the component.
- bd25fed1: adjusted the ProductDetails component test.
- 0b7c8283: Reinstate spacing around divider within CartSummary
- 06a23bb4: Add icon when signed into the starter demo
- Updated dependencies [a0ae478d]
- Updated dependencies [570cf1c7]
- Updated dependencies [ce731d1b]
- Updated dependencies [6115e3df]
- Updated dependencies [e8e54cb4]
- Updated dependencies [a1dff1d2]
- Updated dependencies [cfa64829]
- Updated dependencies [3f5bf9bc]
- @acromedia/gesso-commerce@4.6.0
- @acromedia/gesso-core@4.7.0
4.15.0
Minor Changes
- bd1d847: Adds cartActions as an array of actions. Deprecates primaryAction and secondaryAction in both Cart and CartSummary.
- e5321ff: Add additionalField and formButtons props to addressForm, Edit types to use Address instead of AddressData, and add custom defaults and token overrides.
- 9b8ae72: Added the login functionality to the dropdown menu and redirect logged in users from /login to /account
- a2a20df: ui fixes
Patch Changes
- b64d82f: Added spacing between the media and content within the ProductCard component and adjusted the width of the cardLink.
- a969c9a: removes defaults for the listColor prop in MenuList and sets to inherit by default. The prop can still be used for specific color control where needed. This addresses the issue where MenuList related components were not inheriting textMode from parent containers. Impacted components included AccountMenu, Header, HeaderToolbar, Menu and MenuListItem.
- Updated dependencies [e5321ff]
- @acromedia/gesso-commerce@4.5.1
4.14.0
Minor Changes
- 2f3eb9c: implemented signIn functionality
- a415abf: Fix Dialog close button styles Fix Dialog parent isOpen state is not updating properly Fix Dialog title overlapping with the close button
- 5008386: refactors Orders related components to take an order response and output without further configuration on frontend
Patch Changes
- a1d1f9b: Correct add to cart message to contain cart link
- 9b80b35: Account for different ProductCard title line heights
- 9bbc3c9: set the default value of the Swatch component's popoverBorder prop to true
- Updated dependencies [5008386]
- Updated dependencies [2f3eb9c]
- Updated dependencies [5008386]
- Updated dependencies [7f95e51]
- Updated dependencies [33ec202]
- Updated dependencies [a3e1ad5]
- @acromedia/gesso-commerce@4.5.0
- @acromedia/gesso-core@4.6.0
4.13.2
Patch Changes
- 8489f95: add target prop to Button component type definition to prevent typescript error
- 965207a: addresses the issue where some components lost their ability to handle the MUI sx prop for inline styling. These components were the Accordion, Button, ButtonGroup, Card, Divider, GridItem, and Hamburger.
4.13.1
Patch Changes
- 9ee73c0: "Add childProps.addToCart.childProps to AddToCart childProps. addToCartOption callbacks need to be passed down."
4.13.0
Minor Changes
- fe8d3b3: Implements token overrides for commerce layouts in design system
- 0072813: - updates cart component to be able to take a response from useCart and pass directly into Cart without additional mapping.
- Exposes primaryAction and secondaryAction props directly to Cart instead of being part of a separate cartSummary object.
- Deprecates and maintains backwards compatibility for existing props.
- Adds missing descriptions for Cart story in storybook.
- 7847368: Implements token overrides for account layouts in design system
- c353a13: Implements token overrides for commerce patterns in design system
Patch Changes
- 57f89a4: "Addresses the selectedImage not being checked when product.medias data changes in ProductMediaCarousel."
- 75f21ff: Move addToCartOption childProp from ProductDetails to correct place in AddToCart
- f076ddd: ShoppingCartIcon did not account for quantity, required updating prop to match CartItem type, slightly breaking change.
- 75f21ff: Add missing token override functionality for AddToCartOption
- df7f944: Callback for addtocart were all mismatched, cleaned up and simplified, did result in removing cartAction
- Updated dependencies [4b19bf6]
- Updated dependencies [00c2594]
- Updated dependencies [0072813]
- @acromedia/gesso-core@4.5.0
- @acromedia/gesso-commerce@4.4.0
4.12.0
Minor Changes
- b2effa4: Implements token override prop for input components
- 762d1c2: "Reverting type change back to string for ProductOption."
- e21791f: add token overrides to navigation components
Patch Changes
- cd454b8: fix: Cart items not rendering correctly in the cart component
- Updated dependencies [762d1c2]
- @acromedia/gesso-core@4.4.0
- @acromedia/gesso-commerce@4.3.1
4.11.0
Minor Changes
- 6d36893: add token overrides to embed code
- 773c30c: add border prop to tooltip and swatch
- f6aaf71: This adds an inputValue prop to the SearchBar component on the SearchBarWrapper level.
- 14f323f: "Updating ProductDetails for new product options data."
- 350f9d8: added token overrides for feedback components
- 4307638: Implements custom defaults and token overrides for FilterSideBar component
Patch Changes
- 68486a9: remove second uneeded ref to fix dialog not opening twice
- a57e174: Fix issue with duplicated interfaces exported from FacetCheckbox
- Updated dependencies [14f323f]
- Updated dependencies [98613c6]
- @acromedia/gesso-commerce@4.3.0
- @acromedia/gesso-core@4.3.0
4.10.0
Minor Changes
- 76a728a: Implements token override prop for structure components
Patch Changes
- Updated dependencies [6353016]
- Updated dependencies [04e2826]
- @acromedia/gesso-commerce@4.2.0
- @acromedia/gesso-core@4.2.0
4.9.0
Minor Changes
- 57f397c: Implements token override prop for display components
4.8.0
Minor Changes
- 96bc62d: Implements token override prop for commerce components
4.7.0
Minor Changes
- 92d075b: Export CircularProgress and LinearProgress from MUI
- eb3e9dc: add createAccountForm component and create a mock page for it
- 71b179c: Adds FacetCheckboxV2 with updated callbacks
- 026ac2d: upgrades Storybook to v7
- 4e3f4d9: Implements token override prop for Card component
Patch Changes
- 372826d: in the Strap component we deprecate the featureImage prop and add a new featured prop object which allows users to set featured.image, featured.size, featured.position and featured.repeat for greater control over the featured image.
- fa02bd7: updates cartItem story to describe cartItem object
- 448d0b3: Remove internal useage of deprecated backgroundX props
- 9371f50: fix the response type returned by cartAction
- Updated dependencies [23386f9]
- Updated dependencies [03f2414]
- Updated dependencies [12c9aeb]
- Updated dependencies [23386f9]
- Updated dependencies [3e3c515]
- Updated dependencies [12c9aeb]
- @acromedia/gesso-commerce@4.1.0
- @acromedia/gesso-core@4.1.0
4.6.1
Patch Changes
- 29be2cb: change hover effect to be on text and be on icon when small screen size
- 7d04547: Pass media props from Products in the ProductList component to the ProductCard children.
- 44b0af0: Remove default callback for save later
- 9b21ea4: Pass icon from FontAwesome free-solid-svg-icons in the Icon component.
- c0a2ba0: add ref to button on loadMoreWrapper
- 2c94a80: Make new tokens from Gesso theme type optional while projects migrate
- d92f848: Add a url property to the Product interface and use if passed in the ProductList component.
- Updated dependencies [d92f848]
- @acromedia/gesso-core@4.0.1
- @acromedia/gesso-commerce@4.0.2
4.6.0
Minor Changes
- 729c57d: fix: Select component - Change the useEffect to handle capturing the change, not just when the value is emptied
4.5.0
Minor Changes
- 2c4ad32: removed password validation
- aaba80a: Added height props to card.
- 4d05898: fix: Select component cannot unselect with value props
- 044dd54a: adds support for additional fontWeight tokens and common fontWeight number values to NativeHTML (through classes) and Typography (through props) components
Patch Changes
- 1c32591: adds password validation type back
- 0058a13: make correct use of AddToCart button props and update available button props
- d9b775e: update AccountSignInForm to allow for . before @ so emails such as firstname.lastname@whateverdomain are considered valid
- edc0ea0: Update @types/react
- 1d9105f9: add async functionality to addToCart
- 573c615: added mock account pages to starter kit
- c90d8c5: omit content from MUIDialog props to allow ReactNode
- e46a974: Fixes issue with create-nextjs and cleans up various small items
- ccc5201: use buttonOnSubmit inside accountSignInForm
- ce79f28: removed helperText from signIn component
- Updated dependencies [edc0ea0]
- Updated dependencies [76904a0]
- Updated dependencies [2984fd1]
- @acromedia/gesso-commerce@4.0.1
4.4.0
Minor Changes
- e544ab0: implement order history component into design system
- 1a920fd: implement address book component into design system
Patch Changes
- 8ed63b9: adds svg icon example to Button component story
- 4650507: added component defaults for navigation
- 092eaac: Changed Personal Details to Account Details and changed story location
- f1b56dd: Added default to compatible utilities components
- ccc9c8f: Added custom default ability to structure components
- dee04c7: Adds onChange to AddToCartOption
- c2c87af: fixed extra spacing in signIn button
- f53004d: adds getComponentDefaults to feedback components
- cb6cd3d: adds getComponentDefaults to input components
4.3.0
Minor Changes
- 3bbca34: adds AccountPaymentMethod and related subcomponents to design system.
Patch Changes
- 57d32c1: Fix bug that caused stories to generate incorrectly and error
- 0f87339: added ability for commerce components to be defaulted
- 57826f9: fix strap plugin to use background prop and fix issue that was allowing long words to go past containers max-width
- d33f7d8: adds Storybook example for recently exported MUI AppBar component
- e71d050: Adds token compatibility layer for deprectated tokens
- bad32e7: change theme instances to use useTheme instead of gesso theme
4.2.0
Minor Changes
- bdea40c: Created the Personal Details component
Patch Changes
- c01fa18: - updates SlideCarouselWrapper to use disabled button colour palette, where if I can’t navigate to the left or right the nav button arrows will have a disabled appearance
- bcccf78: makes palette.border required in Gesso types to resolve issue where theme.palette.border would show as being possibly undefined when all properties are present
- c7a6fb1: Revert theme token updates
- 5e24633: FormControlLabel was exported as FilledInput. Update to correct the export
- 3792349: - fix: Button icons now match the colour of the button text when using FontAwesome or SVG icon.
- refactor: getComponentDefaults function adjusted to use generic
- e31db58: Update verticalAlignment to accept center on Strap
- 1453486: Fixed props in componentFactory card
- e3fe550: add refs to feedback components (except popover)
- 3e323de: Add ref to display components
- d49b257: Theme token updates
- f70d971: Give the option to use multiple submit buttons on the add to cart form
- 5d97b7d: support pagination in productList component
- 5a538dd: adds custom default functionality to
- Accordion
- Avatar
- Card
- Divider
- Header Toolbar
- Icon
- Product Media Carousel
- Results
- Slide Carousel Wrapper
- Strap
- Table
- Typography
4.1.0
Minor Changes
- 55d404b: add backdrop from MUI to Gesso export
Patch Changes
- 7ce641f: adds paddingBottom to SlideCarouselWrapper sliderTray to resolve clipping of slide content issue observed in Drupal
4.0.0
Major Changes
-
f49ee1f: remove v4 deprecated props in
- avatar: size use sizes
- card: (minGFXHeight, featureImage, featureImageTitle featuredCardType, imagePosition) use image (cardLink, cardLinkText, cardLinkControl) use link
- chip: handleDelete use onDelete
- hamburger: menuText removed
- section: style use sx
- footer: now only accepts children and a class name
Patch Changes
- 80e1851: Update Metadata component to spread attributes on meta element
- f49ee1f: add mobile prop to searchBar component that displays a search icon that when clicked slides out a drawer
- Updated dependencies [f49ee1f]
- @acromedia/gesso-commerce@4.0.0
- @acromedia/gesso-core@4.0.0
3.34.0
Minor Changes
- c96d879: Adds Buttons paragraph plugin for Component Factory, Updates Icon component to accept fontAwesomeIcon as a string representing the icon name
- 3e14ca8: Components can now use a commerce context to get commerce hooks
- 22a13a8: Add component defaults, where the theme can provide prop defaults for components. Currently only available for Button
Patch Changes
- 1e70d9a: made some styles conditional based off if a background image is used
- 140517a: Added the ability for IconButton to take pixel strings as size
- 356bd03: add prop to show icon or not
- Updated dependencies [3e14ca8]
- @acromedia/gesso-commerce@3.3.0
3.33.0
Minor Changes
- d564220: Adds export for Fade and Zoom MUI transition components
Patch Changes
- 44679cb: added forwardRef to the Box component
3.14.0
3.32.0
Minor Changes
- 31a4ed8: updates NativeHTML/Typography elements to use LineHeight token as a rem value for marginBottom and paddingTop where applicable
- 9e82c2a: Update .figmagicrc within create-nextjs to include durationUnit and set it to ms.
Patch Changes
- 1f759ce: - updates bigcommerce query to return full product description
- renders response in ProductDetails component passed to product pages in nextjs
- 0597017: adds temp fixes to productCard for demo
- 57d5974: - adds a MarginPaddingValue type that can be imported where needed to align margin/padding props to use spacing tokens, a number as a px value, or a raw css value as string.
- updates EmbedCode marginBottom prop to work as described above.
- 140433c: updates borderstyle to none if a background is used
- 140193f: - adds props to control whether to include cardLinkText and status in ProductList's child ProductCards.
- removes implementations of cardLinkText and status in create-nextjs index and cart pages.
- 6e829a7: change shopping cart icon text to body1 with $ remaining body2
- 1157923: adds link to cart to alert message when item is added to cart
- 257465a: fixed props being passed to the tabs component
3.31.0
Minor Changes
- 1b06635: - deprecates Swiper components (CardGroupCarousel, HeroBanner, LogoCarousel) and introduces a single carousel component (SlideCarouselWrapper) that can more reliably handle all of their implementations by passing children.
- converts ProductDetails component to use SlideCarouselWrapper under the hood.
- swaps out Swiper components for SlideCarouselWrapper in create-nextjs CartPage and Index (Product page also prepped for SlideCarouselWrapper, not being used in current implementation).
- adds PureReactCarousel and related dependencies as needed.
Patch Changes
- cead30c: adds string type to allow any valid hex to be passed to dividerColor, updates storybook and tests accordingly
- 37ef911: corrects Spacer not accepting theme token values
- eb19197: updates button to be able to take border radius for each corner
- d0e1a90: fix: resolve css structure bug that was preventing combination of classes in NativeHTML BasicContent
- 4b61b45: update product list spacing
- 686a375: - add align prop to move all card content instead of just text
- fixes text color prop
3.30.0
Minor Changes
- 570cf0b: adds two new props marginTop and marginBottom to the divider component
- b31e8d9: implemented the ratingsList component
Patch Changes
- 78b00e9: fix extra spacing issue in the card component for chrome
- 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
3.29.1
Patch Changes
- 8cc6290: Adds inputLabel prop to SearchBar