Skip to content

Releases

vanilla-v0.3.0

Choose a tag to compare

  • changed: the environment option of registerElements() accepts production, uat and develop, matching the Offers API environment names; production stays the default
  • removed: the staging and sandbox environment values. This is a breaking change: registerElements() now throws Unknown environment "x". Use one of: production, uat, develop. for any other value. Replace staging with uat and sandbox with develop

vanilla-v0.2.9

Choose a tag to compare

  • fixed: opt-in and opt-out cards, the panel background, the header icon color and size, the credibility text color and the testimonial star color now read their theme variables.
  • changed: optInBorderColor/Width/Radius, optOutBorderColor/Radius and credibilityTextColor follow their master (inputBody*, primaryTextColor) until set, so an existing inputBody* theme keeps reaching the cards
  • changed: option cards carry cge-input-option-opt-in / cge-input-option-opt-out classes so each kind reads its own variables
  • fixed: a fan-out child whose shared default is a rem value keeps its parent link in the generated CSS, instead of a flat fallback that would cut inputBodyBorderRadius off from the cards
  • removed: testimonialPanelBorderColor (--cge-testimonial-panel-border-color), which had no element to colour; the rated testimonial border is testimonialRatedBorderColor.

vanilla-v0.2.8

Choose a tag to compare

  • changed: updated development dependencies (happy-dom 21.0.4, fast-uri 3.1.9) to clear open security advisories.

vanilla-v0.2.7

Choose a tag to compare

  • added: opt_in.align (start | center, default start) sets the text alignment of the CTA option header; an unsupported value falls back to start without throwing
  • changed: with opt_in.align: "center", a CTA option's price renders below the heading, centered, even when opt_in.price has location: "inline_end" or none
  • removed: input_body.align is no longer read, and the input_body layout type no longer declares it; the selection control edge is still set by input_body.selection.location
  • added: the sandbox presentation builder offers a Text align select under the opt-in node, and two CTA text alignment quick tests

vanilla-v0.2.5

Choose a tag to compare

  • changed: the hollow CTA style is now the secondary CTA style (class cge-button-secondary, variables --cge-button-secondary-*)
  • removed: the buttonHollowBackgroundColor and buttonHollowHoverBackgroundColor theme overrides; use buttonSecondaryBackgroundColor and buttonSecondaryHoverBackgroundColor
  • added: header badges with inline_start or inline_end move above the heading when the container is 480px wide or less
  • changed: the copyright holder in NOTICE is Cover Genius Assets PTY LTD
  • changed: updated development dependencies
  • fixed: Bypass changelog when testing for hollow ref