Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add HasStyle interface to CookieConsent #2929

Merged
merged 2 commits into from
Mar 29, 2022

Conversation

web-padawan
Copy link
Member

Description

Added HasStyle and the connector to copy CSS class names from the host to the cookie banner.
The classes initially set on the client side are collected on attach before initializing the connector.

Fixes #2855

Type of change

  • Feature

@krissvaa
Copy link
Contributor

There is a visible <vaadin-cookie-consent> tag over cookie-consent, is that alright? Or is it related to vaadin/web-components#3595?

image
image

@sonarcloud
Copy link

sonarcloud bot commented Mar 28, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 873 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@web-padawan
Copy link
Member Author

Or is it related to vaadin/web-components#3595?

@krissvaa Yes, this is exactly why we needed those PRs. It will be hidden correctly when we release web components.

@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 23.1.0.alpha1 and is also targeting the upcoming stable 23.1.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add HasStyle interface to CookieConsent
3 participants