vaadin / web-components

A set of high-quality standards based web components for enterprise web applications. Part of Vaadin 20+
https://vaadin.com/docs/latest/components
470 stars 83 forks source link

feat: add option to mark defined custom element as experimental #8162

Closed web-padawan closed 4 days ago

web-padawan commented 4 days ago

Description

Added an option to mark the custom element as experimental with the following syntax:

static get experimental() {
  return true;
}

This is needed to enable using Vaadin feature flags in web components without separate enable.js file. The reason behind this approach is that separate enable.js would still have to be added to dev bundle.

Type of change

sonarcloud[bot] commented 4 days ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

web-padawan commented 4 days ago

The grid-pro test is failing again on Firefox. Will merge the PR without requiring check.

vaadin-bot commented 1 day ago

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