- adds deprecation notices around the
--phase
variant.
- changes any
set-
style functions to cleaner version
- Banner dismiss button now defaults to
vf-button--primary
(if a specific button variant has been requested byvfJsBannerButtonTheme
, it will still be used)
- Bug: For fixed banners, avoid interpretting numbers as strings and blowing out the page padding
- JS linting
- removes CSS for 'inlayed' design as no longer in use
- updates spacing design tokens
- requires
v2.0.0
of thevf-design-tokens
package or newer - removes leftover
console.log
- centralises logic to "close" a banner
- adds padding to the document to accomodate a fixed-position banner so it won't hide content
- removes inline padding on
vf-banner
class - replaces inline padding on
vf-banner__content
class - removes inline padding from
vf-banner__content
if parent hasvf-u-fullbleed
class
- updates max-width of component
- updates max-width of component
- Adds !default to all Sass variables for easier overrideing
- gives the banner a better look in IE11
- Makes the alert style banner the default .njk
- puts the style of alert banner as a prop from yaml/nunjucks
- removes hardcoded variants of alert banners
- fixes hover colour of
vf-banner__button
- Adds option to determine button theme using data attributes
- Allows for existing banners to still use the secondary theme
- Adds underline on links using
.vf-banner__link
- Resolves IE11 bug assigning classes
- Add alert
--alert
and--warning
banners - Placeholder close button for interactiviy (bring your own JavaScript)
vf-banner--phase
is on its way to deprecation, usevf-banner--info
instead
- Makes use of
vf-banner__text
- Use of
vf-text
is deprecated
- Links in text areas of banners regain an underline
- Initial stable release
- Removed default spacing of
vf-text
components inside - Removes overriding variant CSS that removes padding, as it breaks the GDPR banner
- The spacing inside the component is now dictated by the component
- Adds a top and bottom margin for spacing of the
--phase
variant