Repository navigation
Releases
Releases · CoverGenius/elements
vanilla-v0.3.0
- changed: the
environmentoption ofregisterElements()acceptsproduction,uatanddevelop, matching the Offers API environment names;productionstays the default - removed: the
stagingandsandboxenvironment values. This is a breaking change:registerElements()now throwsUnknown environment "x". Use one of: production, uat, develop.for any other value. Replacestagingwithuatandsandboxwithdevelop
vanilla-v0.2.9
- 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
- changed: updated development dependencies (happy-dom 21.0.4, fast-uri 3.1.9) to clear open security advisories.
vanilla-v0.2.7
- added:
opt_in.align(start|center, defaultstart) sets the text alignment of the CTA option header; an unsupported value falls back tostartwithout throwing - changed: with
opt_in.align: "center", a CTA option's price renders below the heading, centered, even whenopt_in.pricehaslocation: "inline_end"or none - removed:
input_body.alignis no longer read, and theinput_bodylayout type no longer declares it; the selection control edge is still set byinput_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
- changed: the hollow CTA style is now the secondary CTA style (class
cge-button-secondary, variables--cge-button-secondary-*) - removed: the
buttonHollowBackgroundColorandbuttonHollowHoverBackgroundColortheme overrides; usebuttonSecondaryBackgroundColorandbuttonSecondaryHoverBackgroundColor - added: header badges with
inline_startorinline_endmove 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